Opened 9 years ago

Closed 9 years ago

#4273 closed defect (invalid)

SQLite: sorry, creating/writing any SpatiaLite DB is unsupported

Reported by: peifer Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: unspecified
Severity: minor Keywords:


I can obviously create a SpatiaLite? DB, see (1), but (2) tells me that "creating/writing any SpatiaLite? DB is unsupported", which is a bit puzzling.

$ ogr2ogr -f sqlite out1.sqlite cha06.sqlite

$ ogr2ogr -f sqlite out2.sqlite cha06.sqlite -dsco spatialite=yes
ERROR 6: OGR was built without libspatialite support
... sorry, creating/writing any SpatiaLite DB is unsupported

sqlite driver failed to create out2.sqlite

Change History (1)

comment:1 Changed 9 years ago by Even Rouault

Resolution: invalid
Status: newclosed

(1) creates a "regular"-flavour sqlite DB, with geometry blob being in WKB format

(2) creates a SPATIALITE-flavour sqlite DB, which now requires to configure GDAL with libspatialite support

So the error message seems consistant to me.

Note: See TracTickets for help on using tickets.