Feature Data Objects Provider for SHP

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 SHP provides FDO with access to an SHP-based data store.

The FDO Provider for SHP uses a standalone file format that supports GIS data.

The FDO Provider for SHP (Shape) has the following characteristics:

  • Read/Write access is provided to spatial and attribute data from an Environmental Systems Research Institute (ESRI) Shape file (SHP).
  • A Shape file consists of three separate files: SHP (shape geometry), SHX (shape index), and DBF (shape attributes in dBASE format).
  • The FDO Provider for SHP accesses the information in each of the three separate files, and treats each SHP, and its associated DBF file, as a feature class with a single geometry property, and optionally, with data attribute properties.
  • Schema configuration of the data store is provided to the FDO Provider for SHP through an XML file containing the Geographic Markup Language (GML) definition of the schema that maps SHP and DBF data in the data store to feature classes and property mappings in the FDO data model.
  • Although it does not support concurrency control (locking), the SHP file format is a valid alternative to RDBMS.

The FDO Provider for SHP can run in a multi-platform environment, including Windows and Linux.

Connecting to the SHP Provider

This information supplements the Establishing a Connection chapter in the FDO Developers Guide.

You can connect to FDO Provider for SHP by specifying the DefaultFileLocation of the SHP file(s) that you want to use. This parameter may correspond to a single file or a directory containing a number or SHP files.

Optionally, you may also specify the TemporaryFileLocation where temporary files generated by FDO are stored.