Tagged Questions

A GIS software sold by Pitney Bowes Software.

learn more… | top users | synonyms

0
votes
1answer
240 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
1
vote
3answers
1k views

Different in distance measurements in MapBasic/MapInfo

I am trying to make a custom ToolButton but I am having some problems getting correct measurements. I have drawn a line (using the normal line tool) and set its length to 1000m. (Double-clicking it ...
0
votes
1answer
288 views

Dialog statement

I am trying to write a code which has dialog including such as toggle button, edittext, pushbutton, popupmenu, etc. I have no problem with all, but when the dialog screen which is named "Find Name" ...
1
vote
1answer
203 views

How to update a Mapinfo layer at certain time intervalls?

I have point which represents stress signal. The signal changes at certain time. How do I implement this in mapinfo ? I did this using time() function and increment it to certain seconds but whole ...
2
votes
2answers
2k views

Drawing a circle of a given area in MapInfo

I would like to draw a circle in MapInfo exactly 0.9Ha in area. I've done it by working out the corresponding radius should be, drawing a circle of arbitrary size, double clicking on it and then ...
0
votes
1answer
356 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
683 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
1answer
180 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 ...
3
votes
2answers
919 views

Check if an object is empty in mapbasic

I have mapbasic code that manipulates the obj-column in a point-table. Some rows doesn't have any geometry so the obj-column is empty. My question is how to check if there is no object? All the ...
5
votes
3answers
1k views

Developing Web Application For Map

I have huge data of maps usually most of the table are co-ordinates and the other are raster maps stored in SQL server 2008 and PostGres Server. I am using desktop application to analyse the data. ...
0
votes
2answers
179 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 ...
7
votes
1answer
391 views

50cm imagery - aerial or satellite?

The area of interest is 1450 km2. My options are: 50cm newly collected aerial natural color imagery for $28,300 OR 50cm recent archival satellite imagery (includes near IR band) for $20,600 The ...
1
vote
2answers
3k views

How to use custom symbols in mapinfo?

Is it possible to create custom symbols in mapinfo and use it in thematic shading?How? Mapinfo - 10.5
0
votes
2answers
944 views

Mysterious MapInfo query syntax errors

I'm struggling to get what seems like a perfectly normal query to execute in MapInfo v10. In SQLite Manager (an excellent firefox plugin), this works as expected: SELECT area_name, street_name, ...
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
104 views

Mapinfo 10 with new look does not show toggle state of button

Is this only a problem to me or a problem to other's too. I have mapbasic application that runs good on mapinfo 11 and mapinfo 10 with old look but this toggle button does not work with mapinfo 10 ...
1
vote
2answers
5k views

Learning how to use Mapinfo Professional ?

I am wondering if there is a good website where can I learn how to use Map Info Professional ? I am an advanced ArcGIS user and am a beginner MapInfo. Thanks. What I mean "Good website" I mean they ...
2
votes
3answers
427 views

Is it possible to retrieve thematic layer information for a Layer in Mapbasic?

I found this code windowinfo(FrontWindow(), WIN_INFO_CLONEWINDOW) This function gives information (mapbasic) about the front Map window which can be used to regenerate the map. Is there any ...
0
votes
1answer
274 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 ...
1
vote
1answer
230 views

What is the sequence of select query execution in Mapinfo?

I have confusion with the following query: Query 1: Select * from TABLE where vendor = "vendor1" OR "vendor2" OR "vendor3" ...
0
votes
1answer
1k views

How to run query in mapbasic?

I made a Query in Mapbasic like : Dim query As String query = "Select * from some_table" How to run query to form table? Is it possible to save selected value in variable without forming table?
2
votes
1answer
90 views

Does mapbasic support function overloading?

I am creating application with mapbasic. Now that it's been some time with mapbasic I found that the language is very fundamental and does not support functionality that I took for granted in Java or ...
0
votes
1answer
182 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 ...
1
vote
2answers
629 views

How to add element to Mapbasic Array?

Code: Dim name_array() As String Redim name_array(10) How to add value to the array? I know we can add value by specifying index like name_array(i) = "some_value" But I don't want to specify ...
1
vote
1answer
167 views

Is toggle button's state stored in some property in Mapinfo?

Well can we retrieve On or OFF state of toggle button. Do we have any property of toggle button that can be read from toggle button that is ON or OFF?
1
vote
1answer
661 views

Is it possible to create Thematic Maps using two columns in Mapinfo?

I have created Thematic map with one column in Mapinfo. Is it possible to create Thematic Map using two columns in Mapinfo? For Example: I have a column with name of place and a column with date. ...
0
votes
1answer
673 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 ...
1
vote
1answer
313 views

Adding text as ICON in mapinfo in mapinfo buttons

It's a question with yes or no answer and if yes How? Is it possible to add text label as icon in mapinfo buttons. Instead of : Create buttonpad "sitestatusbutton" As ToggleButton ID 1011 ...
5
votes
2answers
4k views

Easy way to Create Vector Grid polygons?

We're currently using MapInfo & MapBasic to analyze daily tests results for planning purposes.For each test,exported result may contain empty values (say 999,we know Mapinfo has no NULL values),so ...
1
vote
0answers
113 views

Reload image in MapInfo

I have a mbx that creates a layout. The layout consist of a number of .wmf pictures and ofcource a map. During the execution I create .Tab files that reference to the pictures looking like: ...
0
votes
1answer
559 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 ...
2
votes
1answer
315 views

Integrating Maximo with Mapinfo?

I am software developer and have been working on database and Java as major platform for development. I am using Mapinfo for GIS analysis. Now, the system needs to show trouble tickets in Mapinfo ...
0
votes
1answer
368 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 ( ...
1
vote
1answer
553 views

How to draw points in MapBasic? [closed]

how can we draw a point object in mapinfo using mapbasic, my objective is to generate an array and then map it. Thanks
0
votes
1answer
375 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 ...
1
vote
1answer
657 views

How to handle select query to return numeric value?

I have the following select Query : Dim count As Integer Select count(*) as mycount from some_table into temp_table Fetch First From temp_table count = some_table.mycount But it sends error: ...
2
votes
1answer
913 views

How to combine MapInfo tab files into one spatialite DB?

I have many folders, each with a collection of MapInfo tab files (each folder has the same table names). For each folder I want to merge the tab files into one spatialite DB. My current method is to ...
3
votes
2answers
760 views

How to read MapInfo .tab files in ArcPy?

I want to use arcpy (the ESRI install of python 2.65) to analyse tab files...can this be done directly or do I need to convert them to shp files...if so would it be possible to do something like ...
0
votes
1answer
396 views

Using data from table to make buttons in Mapbasic?

I have select Query that selects distinct value from a column. Is is possible to use these distinct values in my mapbasic program to make buttons and button labels? More Info: SQL Query : Select ...
0
votes
1answer
947 views

How to dynamically connect Excel data sources to MapInfo?

How to connect Excel(2010) with Mapinfo(10.0)? I saw that Excel can be connected using Excel as Data Source but my Data Source is already MS-SQL. Actually I would like to reflect any changes in excel ...
2
votes
1answer
838 views

How to draw lines of specified lengths in specified directions in Mapinfo?

I have an Excel file with the following data: 1) longitude and latitude which represents a point 2) Angle which represents where line turns from North 3) length of line. Is is possible to draw ...
0
votes
1answer
721 views

Can I save MapInfo thematic*.thm files to a database?

I have an MS-SQl database. Is it possible to save mapinfo *.thm files to a database as I would save mapinfo *.tab files?
1
vote
1answer
458 views

How to handle line data in Mapinfo?

I have laoded my lines data in MS-SQL in one table. I have points data in DBMS as well in separate table . When I open both table the map window would show lines and points as I want but now when I ...
4
votes
2answers
1k views

How to select distinct values from a column in Mapbasic?

I have a table in a mapinfo .tab file. Is there any way to select distinct values from the column? I tried :- SELECT distinct (some_column) from table_name into temp_table But this query would ...
2
votes
2answers
1k views

Using Google Maps or Bing Maps provided as WMS in MapInfo Professional?

Is there any way that I could use google maps or bing map or other free map provider as WMS in MapInfo Professional 10.0?
0
votes
1answer
298 views

Where does MapInfo store its error and log files?

I am having errors opening a table with spatial co-ordinates in Microsoft SQL and my question in gis.stackexchange is here. I want to know where are the error and log files of Mapinfo stored. I ...
0
votes
1answer
725 views

How to select nth row in mapbasic?

There are multiple rows in my .tab file in mapinfo. Is there any way to select nth row in mapbasic window of mapinfo?
0
votes
1answer
873 views

How is object created as line using createline stored in .tab file?

I used Mapbasic and made data imported from excel into mappable and added projection to WGS 84 and updated table using: update TABLE set obj = createline(x1,y1,x2,y2) to create line and the line ...
0
votes
1answer
390 views

How to upload lines created by joining longitude, latitude pairs?

The data in a Mapinfo table contain longitude and latitude pairs. I have joined the point pairs using : Making the table mappable Setting the projection to WGS84 and update TABLE set obj = ...
0
votes
1answer
250 views

Font not available in MapInfo v11

I have a font called Univers 55 on my PC (Windows XP). I would like to use this in MapInfo but it is unavailable in the font drop down. Does anyone know how it would be possible to make this font ...