A GIS software sold by Pitney Bowes Software.

learn more… | top users | synonyms

0
votes
3answers
305 views

How to set code for designer legend in mapbasic

last couple of days i am doing work on thematic maps using mapbasic. I am getting error while set the legend code. it giving me unrecognized command or code kind of error ... my code is Create ...
0
votes
1answer
179 views

How to write code for page setup in Mapbasic

I am very new to mapbasic scripting. i am creating thematic map using mapbaic code. For that i am searching code for Page setup to set my map as landscape with A4 size. But i didn't found any code for ...
0
votes
1answer
325 views

Equivalence of EPSG:3857 for MapInfo 9.5

I have a raster projected on EPSG:3857 with QGIS. I have image registration in Mapinfo but there is no projection for EPSG:3857. Do you know the projection that I need to use?
0
votes
1answer
384 views

How to work with tables in MapBasic?

I try to get data from table use MapBasic: Dim nCol = "ColumnName" Fetch First From Untitled Do While Not EOT(Untitled) colValue = Selection.nCol Note colValue Fetch Next From Untitled Loop ...
0
votes
1answer
189 views

In MapBasic, how do I allow a user to choose a folder?

I have used the FileOpenDlg() function to allow the user to choose a file. I would like to do the same thing to allow them to choose a folder so I can save files to the folder without the user having ...
0
votes
1answer
222 views

In MapBasic, how do I register a table in XLS format that has a different range from one execution to another?

I need my application to be able to register an XLS table that does not have a set range. One time it may be A2:AL10000, the next it may be A2:AL2000, etc. I have not seen this anywhere in the ...
0
votes
1answer
279 views

Map Basic. Where-clause in Select Statement

what is wrong with this statement? I recon the where-clause is the problem. Select * from "BEDIRECT_POT_" + vo_num, PLZ5_2012_bereinigt where "BEDIRECT_POT_" + vo_num.PLZ like ...
0
votes
1answer
328 views

Modifying tables based on title (MapInfo)

I have a query regarding the Mapbasic feature of MapInfo, I want to change the line style of an item depending on name (e.g if the .tab name contains the world group). I think I can work this out with ...
0
votes
1answer
248 views

Edit multiple tables with the same structure at the same time?

does anyone know how to edit multiple tables at the same time? I have multiple .tab files and I want to change the order of the fields. Is there any way to do this for all of them at once. They all ...
0
votes
2answers
775 views

Setting spatial reference for MapInfo tab-file

How can I change spatial reference for tab-file in MapInfo Professional?
0
votes
2answers
1k views

Select only records with region objects in MapBasic

I am writing a program that finds overlapping objects. I can't perform the AreaOverlap() function on objects that don't enclose an area (e.g. text, points) as the result would be meaningless. Is ...
0
votes
1answer
368 views

Get EditText value with event handler in MapBasic

I have a dialog in MapBasic that includes an EditText control, a PopupMenu control and a button. When the user presses the button a sub is called. In this sub I would like to get the values of the ...
0
votes
1answer
719 views

Mapinfo incorrect polyline (boundary) map to region conversion

How to solve issue regarding incorrect boundary to region conversion? I have boundary map plotted on cosmetic layer when I convert it to region it results in line with overlap to other region. The two ...
0
votes
2answers
182 views

Persistent settings in MapInfo programs

I have a couple of MapInfo programs that use external EXEs for some functionality (e.g. ogr2ogr for layer conversion and OV2 Tools for satnav data output). In my programs I would like to have a ...
0
votes
1answer
708 views

How to create a Button with custom Icons in Mapinfo 10?

I am using mapinfo 10 and I have created dll with Pelles C with 16*16 and 24*24 bmp images. I placed the dll file into folder containing .mbx file but I get error : Unableable to locate external ...
0
votes
1answer
588 views

MapInfo - programmatically find if layer is hidden

I am working on an integrated mapping project. I would like a button that toggles a layer. I could hold the layers status in a variable and then show/hide it as appropriate but this seems a little ...
0
votes
1answer
839 views

Remove non-alphanumeric characters from a string in Mapbasic

I have a user-entered string which I am using as a search term. I would like to display the results in a table named "SearchResults_"+SearchString. However the string could feasibly contain characters ...
0
votes
2answers
285 views

How to find which table has layer in mapinfo?

Is it possible to find if table has layer Or print list of layers? Edit:: I have a table when I selete some data from table like: Select * from earth where population >100 Then it create new ...
0
votes
1answer
66 views

What kind of table is bingHybrid?

I closed all table but I don't wan't to close underlying map eg like bingHybrid in mapinfo. How to prevent. Any detail about there map and way to handle while closing layers would be appreciated.
0
votes
1answer
1k views

Finding the type of object in MapBasic (MapInfo)

I am trying to write a MapBasic function to check whether or not an object can be used with the Overlap/AreaOverlap functions - I need to tell whether it's a closed shape or a line/arc/point/text ...
0
votes
1answer
75 views

Coordinate extraction in a different projection in MapInfo

I have a .TAB file of polyline objects in British Grid Coordinate. I need to extract the end points/nodes of each polyline and find their latitude/longitude (WGS84). Would really appreciate some ...
0
votes
2answers
107 views

QGIS 2.2.0 Creating all extension of MapInfo from a ArcMap ShapeFile

I have a road centerline shapefile that I would like to create all files associated with a MapInfo file (.tab, .id, .map, .dat). I've looked through the plugins and don't see a tool that helps with ...
0
votes
1answer
123 views

How to create a array variable containing the values of another variable in a table?

I am new to mapbasic and would like to have an array variable (sac) in order to access it through the "For variable = 1 To n" function. I would like to create a loop that only takes on the value of a ...
0
votes
1answer
110 views

Free/Open-Source Archaeological Geophysics Programm?

Does anyone know a free/open source software or a GIS plugin for working with archaeological geophysics data, especially for data from a magnetic survey (magnetic gradiometer map)?
0
votes
2answers
104 views

New line in MapInfo SQL Select

Is there a character I need to use to state a new line in the MapInfo SQL Select box (e.g like ; in SQL Management Studio) or is this not possible. The highlighted (yellow) area is where the new line ...
0
votes
1answer
71 views

Best, fast and easy way to print multiple polygons?

I´m almost sure that this is to tricky to solve. Often I have multiple combined polygons that I want to print. Until now I´ve devided all the polygons by the "Split vector layer", because I need to ...
0
votes
1answer
84 views

Viewshed calculation using SQL

Can i calculate viewshed in MS-SQL server? Viewshed analysis is Raster operation. I have elevation value vector observation as point vectors. Are there any methods to calculate Viewshed (using ...
0
votes
1answer
266 views

How do I format a text box in MapInfo

I want to import a table (created and formatted in MS word?) to appear as text in the MapInfo layout window. Obviously this isn't individual data records which appear in the MapInfo browser window. ...
0
votes
1answer
258 views

How do I automatically print individual regions from a MapInfo table to a PDF without interactively selecting and printing each one?

I need to automatically print individual polygons that make up a table. I need them to be a close-up view of the polygon and print to a PDF file. It is very time consuming to print each one ...
0
votes
1answer
182 views

Label polygons in MapInfo like QGIS?

I was wondering if there is a way to angle Polygon labels in MapInfo like it's done in QGIS (see image link below). Thanks, Alan
0
votes
4answers
1k views

How to merge 48 separated US States layers into 1 layer, using MapInfo?

They are Census Block layers. The person on the website separated them into states so they can be download easier. I uploaded each states separate layer into MapInfo. Now I need to merge the files ...
0
votes
1answer
108 views

Mapinfo appending TAB file error - multiple points appearing in the same location

I have two TAB files with identical table structures and when appending one to the other all appended points get placed in one location, however when I append them the other way round it works fine. ...
0
votes
1answer
152 views

MapInfo Thematic Mapping - All other values?

Relatively quick question here, how do I go about adding a style for all other values using individual value thematic mapping? Thanks, Alan
0
votes
1answer
165 views

Trying to map numerous attributes on a map in MapInfo

Any help would be much appreciated for the following problem: Based on grouping postcode sectors together I have created 30 sales areas in the country. These sales areas have been made visible on the ...
0
votes
1answer
292 views

How do I build a custom menu to change preferences for a MapBasic application?

I would like to be able to input a few different tables for an application. I want to be able to set the path before the app runs. How do I create a preference box and what code do I use to call the ...
0
votes
1answer
68 views

Question about subs in MapBasic

For some reason my sub isn't 'linking' in MapBasic, I'm pretty new to this, but why is the sub assuming it begins on line 110 rather than where it actually says sub? Thanks, Alan
0
votes
1answer
191 views

Legend not scaling with the map in Mapinfo

I have a problem with the legend designer, when I produce an A0 plot the legend does not scale up with the map.
0
votes
2answers
426 views

Labeling from a defined string in MapBasic

I am currently working on a code to apply a variety of different changes to layers with certain attributes, I have been successful with this so far (thanks to Peter). However I now want to add a text ...
0
votes
1answer
316 views

Change line selection display in MapInfo

can someone help me with a MapInfo query. Is it possible to change the display MapInfo uses when selecting lines? Atm I can be often difficult to see selected lines easily as the lines I am using are ...
0
votes
1answer
309 views

Get name/number of the table currently being edited

In MapInfo you can edit one table at a time. How can I programmatically get the name or ID number of the table that is currently being edited? I tried the following function: Function ...
0
votes
1answer
354 views

MapInfo “Error during Read: XML Library Load Error Required XML version unavailable”

I am using MapExtreme 7.0, I am running into the following error on an asp.net website (.net 3.5) running on a server with windows 2003 32bit. "Error during Read: XML Library Load Error Required XML ...
0
votes
2answers
3k views

Map Info tab file in Google Map

In my asp.net 3.5 application , I'm using Google Map API v3. I want to draw layers using MapInfo Tab File and showing them on GOOGLE MAP ( API V3). Anyone have any idea about this . Thanks
0
votes
2answers
2k views

How to crop a Raster by Region?

I have created a grid using the point density function in VM. I would like to crop this image to a region created from buffering a polyline feature set. Is this possible? Alternatively I have used the ...
0
votes
1answer
244 views

Closing Visual Basic Dialog From Mapbasic?

How to close visual basic application from mapinfo using mapbasic? The visual basic application was ran using - Run Program
0
votes
1answer
184 views

How to add close action to buttonpad and dialog?

I am making mapinfo addon and I am having problem with close action of buttonpads. How to add close action to dialog and buttonpad so that we can execute certain action on close of buttonpad or ...
0
votes
1answer
1k views

QGIS and MapInfo Projections - EPSG 27700 (British National Grid)

I have some data in a PostGIS table with the projection EPSG 27700. If I export this data from QGIS (v1.8) to MapInfo TAB / MIF when I open the data in MapInfo it has a shift on it. Does anyone know ...
0
votes
1answer
280 views

How to reuse Thematic layer definitions in Mapinfo?

I have a map from table. Let the table be TABLE1. Now That I have created Thematic Map from Column1 of this table. Again I executed the following query Select * from TABLE1 where TABLE1.column1 ...
0
votes
1answer
189 views

Is it possible to find if a value is present in Array without looping in mapbasic?

How to find a value is present in array without looping ? e.g. For i=1 TO ubount(Array) Find if value is present Next or some more direct statement like Array.contains(somevalue) like in java ...
0
votes
1answer
387 views

How does MapInfo handle button identifiers?

As in create button pad statement: Create ButtonPad { title_string | ID pad_num } As button_definition [ button_definition ... ] [ Title title_string ] [ Width w ] [ Position ( ...
0
votes
1answer
393 views

Making a Button in mapinfo with conditional function

I have following code : Sub create_ButtonFromVendor Dim i As Integer i=1 Create ButtonPad "allVendor" As ToggleButton Icon MI_ICON_ZOOM_QUESTION Calling ...