Download MapInfo Professional User Guide
Transcript
Chapter 6: Accessing Remote Data Accessing Data in Remote Spatial Databases When the live access table is creating a new Map window, the initial view is determined by the entry in the MapInfo_MapCatalog table. The columns DB_X_LL_DB_X_UR_DB_Y_UR describe a rectangular area that is the initial map display. If the live access table is being added as a layer to an existing Map window, the layer will be fit to that Map window. MapInfo Professional stores information about a live access table in a TAB file. This information is known as metadata. MapInfo Professional uses metadata to store information about the live access table that is needed to manage transactions between MapInfo Professional and the server database. Two of the most important kinds of information stored in the metadata include the connection string and the query you build from the DBMS Table Wizard, or Expert dialog box. Limitations in Creating a Live Table This is a list of known problems/issues with live access: • • • • • • Every table must have a single unique key column. FastEdit is not supported. With MS Access if the key is character, it will not display rows where the key value is less than the full column width for example, if the key is char(5) the value ‘aaaa’ will look like a deleted row. Changes made by another user are not visible until the data is refreshed from the server. In addition, if cache is on another user’s updates may not appear until the cache is invalidated by a pan or zooming out. There will be a problem if a client-side join (through the SQL Select menu item or MapBasic) is performed against two or more SpatialWare tables that are stored in different coordinate systems. This is inefficient (it is better to do the join in the SQL statement that defines the table). For SQL Server Spatial, you can not access a table, containing geography, that is in more than one coordinate system. Limitations of Live Access to Remote DBMS Tables Using live access tables to determine the number of rows is not appropriate for all tables. It works best on large tables, where the number of rows remains stable; that is, new insertions or deletions in the table do not occur on a regular basis. If the total number of rows stored in the MapCatalog is out of sync with the actual number of rows in the table, problems occur. The map will always include all of the map objects, but other things may not work correctly. For example: • • The row count displayed in the Browser will be incorrect. The MapBasic statement to fetch last will not return the correct row. Thematic maps, particularly ranged thematic maps, may be wrong. • For more information, see Improving Live Access Performance in the Help System. Accessing Data in Remote Spatial Databases To use your RDBMS tables with MapInfo Professional most effectively, you need to set them up so that you can store coordinates or more complex spatial data and then retrieve them. This will also allow you to geocode your remote table and assign coordinates to each record in the table. MapInfo Professional 10.5 131 User Guide
Related documents
MapInfo Professional User Guide and Help System
MapInfo Professional User Guide
Drawing District Lines, User Manual
MapInfo Professional 10.5 User Manual
ASTER Search Site User`s Manual
MapInfo Professional 10.5 Installation Guide
MapInfo Professional 11.0 Installation Guide
RouteFinder - Capita EMS link
12 Deliverable A05.1
User Guide
End user manual series 2000 & 3000 Rev 6 End User Manual ser
Hets for Common Logic Users