Hello - I've been reading about using SQLite and have not been able to find the information I need to get this working. I have ArcGIS 10.2 installed. I used the python script below to create a new SQLite database.
This created a new database successfully. However, when I tried to create a new feature class in this database in catalog I only had "geometryblob" available for "Native spatial type for geometry". I went ahead and used that and then got the following error message:
Failed to create feature class. DBMS table not found [no such table: st_spatial_reference_systems] The ST_GEOMETRY type not installed. [no such table: st_spatial_reference_systems]
I found several articles mentioning the need to have the SQLite ST_Geometry library on the same machine etc. Where do I find/download this file? Any help getting me started would be greatly appreciated! There doesn't seem to be any documentation that I can find outlining this part. Thanks!
Code:
import arcpy
# Set local variables
sqlite_database_path = 'C:/Data/Counties.sqlite'
# Execute CreateSQLiteDatabase
arcpy.gp.CreateSQLiteDatabase(sqlite_database_path, "ST_GEOMETRY")
Quote:
Failed to create feature class. DBMS table not found [no such table: st_spatial_reference_systems] The ST_GEOMETRY type not installed. [no such table: st_spatial_reference_systems]