ST_Geometry is a user-defined data type that allows you to store spatial data directly in a field in the table. The Esri ST_Geometry type can be used with ArcGIS clients, plus it provides SQL access to simple feature class geometry.
You can add the ST_Geometry type to an Oracle, PostgreSQL, or SQLite database.
- Run the Create Spatial Type geoprocessing tool to add the ST_Geometry type to an Oracle database.
- Copy the st_geometry library to the PostgreSQL lib directory and run the Create Spatial Type geoprocessing tool to add the ST_Geometry type to a PostgreSQL database.
- Use the CreateOGCTables SQL function to enable an SQLite database to use the ST_Geometry spatial data type.
When you add the ST_Geometry type to an SQLite database, ST_Geometry system tables are added to the database to maintain ST_Geometry metadata. The ST_Geometry SQL functions are stored in libraries that are external to the database.
For information on how to use ST_Geometry functions in Oracle, PostgreSQL, or SQLite, see the ST_Geometry SQL function reference PDF.