Hot answers tagged mapinfo
When working with any database from MapInfo Pro thru MapBasic you need to first establish a connection to the database. This require a data soruce which I can understand you already have. To open the connection you have to use the Server_Connect() function: sConnString = "DSN=GIS_DB" '**and potentially also a username and password sConnString = ...
It turns out the Centroid(X) and Centroid(Y) in MapInfo are not the line centre point coordinates in BNG. (However to get around the rounding problem I exported the table as a DBF). Instead, I generated these in ArcGIS instead and got perfect results. I achieved my desired result by calculating differences in X and Y values between subsections and taking the ...
Assuming that you don't have the table yet, you need to start by creating the table itself. This is done using a MapBasic/basic SQL DDL statement: Create Table MY_TABLE (ID Integer) File TempFileName$("") If you also need to store spatial data in your table, you need to make it mappable, too. When you make it mappable you create the MAP and ID ...
For others who need to know the format - it is in MapInfo Pro User Guide. For your reference just the relevant chapter: https://www.scribd.com/doc/265737649/MapInfoProUserGuide-Projections-chapter
Only top voted, non community-wiki answers of a minimum length are eligible