MapBasic is a programming language for creation of additional tools and functionality for the MapInfo geographical information system.

learn more… | top users | synonyms

1
vote
1answer
112 views

Creating an annulus sector with mapbasic

Knowing the center of rotation, start and end angles, inner an outer radius, how can this be achieved with MapBasic
5
votes
3answers
6k views

Getting Started with MapBasic?

I am new to MapBasic. I googled for tutorials and found various PDFs but could not get started with the resources. I would be glad if anyone could provide some path for learning MapBasic.
3
votes
2answers
292 views

How to write an equivalent to MapBasic's CreateLine in pyQGIS?

I know this kind of question has been asked, in part, before - specifically: Seeing QGIS Python Commands and: How is object created as line using createline stored in .tab file? but this is a specific ...
3
votes
3answers
1k views

Definitions and limitations of MapInfo TAB file objects

I am working on a MapInfo plugin to convert MapInfo files to GeoJSON files. I am having trouble matching up the object types of the two formats. Each GeoJSON object type is described in the ...
1
vote
1answer
199 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?
0
votes
0answers
49 views

PRACH data mapped right but arcs not on top properly

PRACH data is mapped right. However, how would it be possible to draw the arcs on top of each other for all the 21 PRACH counters? Here's a snapshot of the code: Fetch First From ToUpdate Do While ...
0
votes
1answer
100 views

Create Sector PRACH in Mapinfo

I am trying to write a code that creates the PRACH per sector per band for a site. My PRACH data contains: "Site name, lat, long, beamwidth, azimuth, and distance" I got to the point of creating ...
0
votes
2answers
279 views

Drawing BTS sectors in GSM?

I'm very new to Mapbasic. I tried to make a short code to draw some BTS in GSM but I can't do thant (over 1 month). I have a table with these column: Sitename, Lon, Lat, Azi, Beam, Dist. Can ...
0
votes
1answer
458 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 ...
0
votes
1answer
1k 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
420 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
635 views

How to close all layers in Mapinfo?

I want to close all layers in Mapinfo except one and again add one layer. How to do so in Mapinfo using Mapbasic or without?
-1
votes
1answer
80 views

Same Sector Created in Mapinfo Help

The PRACH data is saved into a tab and then moved into another tab file "ToUpdate" Select * from PRACH_data where Obj into ToUpdate Fetch First From ToUpdate Do While Not EOT(ToUpdate) circ = ...