ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Databases and ST_Geometry

ST_Geometry is a user-defined data type that allows you to store spatial data directly in a field in the table. The ST_Geometry type can be used with ArcGIS clients, plus it provides SQL access to simple feature class geometry.

Use the Create Spatial Type geoprocessing tool or a Python script to add the ST_Geometry spatial data type to an existing PostgreSQL or Oracle database. The tool adds the ST_Geometry data type, an sde user and storage space, and system tables, views, functions, triggers, and other metadata objects to maintain ST_Geometry.

Use the CreateOGCTables SQL function to add the ST_Geometry spatial data type to an existing SQLite database. 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. See Spatially enable an SQLite database for more information.

Alternatively, you can use the Create SQLite Database geoprocessing tool or a Python script to create an SQLite database that uses the ST_Geometry spatial data type.

Related topics

  • Add the ST_Geometry type to an Oracle database
  • Add the ST_Geometry type to a PostgreSQL database

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2019 Esri. | Privacy | Legal