I want to perform spatial queries, e.g., ST_CONTAINS(), on a Spatialite db via Python 2.7 Anaconda distribution. I can connect via the sqlite3 module and pysqlite modules, but I cannot enable the spatial extension. There are posts here and here on how to do this for Windows machines, but not Linux. I expect I need to substitute something for the .dll in the following:
conn.execute('SELECT load_extension("libspatialite-2.dll")')Any ideas?
أكثر...
conn.execute('SELECT load_extension("libspatialite-2.dll")')Any ideas?
أكثر...