ODBC MapInfo 060510 Karl
ODBC MapInfo 060510 Karl
The following notes describe the steps necessary to connect MapInfo with tables from a
SQL or Access database, make them mappable and display as points in a MapInfo table.
The MapInfo table can be refreshed from the database without the need to re-create points
from easting and northing coordinates.
The DBMS option must be installed on your version of MapInfo to complete the process.
If the option is greyed out in the File/Open DBMS Connection menu you will need to
install from the MapInfo Installation CD.
Downhole data tables, such as lithology, do not need to be made mappable and can be
opened and refreshed from the DBMS menu.
Users require the correct SQL permissions to be able to connect to views in the SQL
database using ODBC links. A User Profile needs to be created with Select permissions
for the views you wish to open e.g. VW_MI_DHCollar.
Open the DBMS Catalog Utility and create MAPINFO_MAPCATALOG table using the
System DSN to your SQL Server database.
Tools
DBMS Catalog
Create Catalog
This option creates a record in the MAPINFO_MAPCATALOG table and allows you to
plot your data points using the preferred easting and northing fields from your data table.
Change the drop down Owner type to dbo and select the view you want to make mappable
(views that have already been made mappable will not appear in the list).
Select Index Type: XY Coordinates and your preferred easting and northing fields
Uncheck the Per Row Style box unless you want to define this option
Set the Symbol Style
This option allows you to refresh the data in the mapped table directly from the SQL
database without the need to re-create points. The refresh can be carried out on DBMS
table while the connection to the database is open or on a table created when previously
linked to a DBMS table during a different session. The Refresh option automatically re-
opens a connection to the SQL database table.
The map symbol of a DBMS table can be changed after the table has been created.
Select Change the Symbol for a Mappable DBMS Table from the DBMS menu
Change the Owner Type to dbo and select the required table
Open
Edit Symbol Style and click OK