Finding the Bounds of a Map - MapInfo_Pro - 2023

MapInfo Pro Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
Language
English
Product name
MapInfo Pro
Title
MapInfo Pro Help
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:39:16.995549

There are different ways to find out the bounds on a MapInfo map. One is to examine the header of the MIF file that was used to create the map, if it exists, or just export it to open and view it in any text editor. However, if implicit bounds have been used, they will not be visible.

Use the Check & Set CoordSys Bounds tool to see entire set of bounds for the map.

In MapBasic, the TableInfo( ) function can also give this information (CoordSys, bounds).

It can be obtained in the MapBasic Window by typing and running (press Enter after typing):

Print TableInfo( table_id, attribute )

where

table_id is the name of the open table for which the information is requested.

attribute is one of the following numbers:

30 Projection Name (quoted name)
29 CoordSys clause (numeric parameters)
25 Min X
26 Min Y
27 Max X
28 Max Y

Results from 25 to 28 are included in the result from 29, with the difference that they might not be in the same coordinate system.

If using attribute 29, one gets the coordinate system of the original table.

If using 25-28, it is the MapBasic Coordinate system which is by default Long\Lat (no datum).

To obtain the Table's CoordSys system, the following command can be run beforehand to set the MapBasic CoordSys to the same as that of the Table's:

	Set CoordSys Table "table_id"