API Reference OSGeo FDO Provider for ODBC
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

Introduction

The Feature Data Objects (FDO) API provides access to data in a data store. A provider is a specific implementation of the FDO API that provides access to data in a particular data store. The FDO Provider for ODBC provides FDO with access to an ODBC-based data store.

The FDO Provider for ODBC can access simple x, y, z feature objects that can run in a multi-platform environment, including Windows, Linux, and UNIX.

The FDO Provider for ODBC has the following characteristics:
Note:
Microsoft Excel (must have at least one named range; do not use DATABASE or other reserved words as a range name)

For more information about setting up an ODBC data store in AutoCAD Map 3D 2008 and configuring Excel for database ranges, see the 'Managing Data' topic in the AutoCAD Map 3D User's Guide (acmap.chm).

For ODBC, only a point geometry (X, Y, and optionally, Z columns define a point) is supported. The default column names are X, Y, and Z, but when you pick the columns to represent these, you override the defaults. In AutoCAD Map 3D 2008, this information is stored in the map file itself, so if you go through the same process in another map, you will need to override the settings again in the same way.

There is no spatial indexing. Object locations are stored in separate properties in the object definition.

The existing schema is used, and you cannot add, change, or delete it, nor can you add FDO metadata to the data store.

When you set up a Data Source Name for your ODBC data store (by adding a DSN in Windows), you will need to specify certain configuration options, depending on the type of ODBC data store you use. The connection information (Login ID and password) you enter here is used only for defining the DSN, and not at connection time with the ODBC provider.

Note:
For MySQL, make sure you have installed the MySQL driver from MyODBC 3.51. You can find it at http://dev.mysql.com/downloads/connector/odbc/3.51.html.

For more information, see The Essential FDO (FET_TheEssentialFDO.pdf) and the FDO Developer's Guide (FDG_FDODevGuide.pdf).



Comments?