#5494 closed enhancement (fixed)
update SQLite/SpatiaLite driver to RFC 41
Reported by: | martinl | Owned by: | Even Rouault |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | sqlite, rfc41 |
Cc: |
Description
Currently SQLite/SpatiaLite driver doesn't seem to support wiki:rfc41_multiple_geometry_fields (RFC41). Testing data attached. Steps to reproduce (requires at least GDAL 1.11).
ogrinfo 20140331_OB_564729_UKSH.xml.gz Had to open data source read-only. INFO: Open of `20140331_OB_564729_UKSH.xml.gz' using driver `GML' successful. 1: Obce (Multi Point, Multi Polygon, Multi Polygon) 2: CastiObci (Point) 3: KatastralniUzemi (Multi Point, Multi Polygon, Multi Polygon) 4: Zsj (Multi Point, Multi Polygon) 5: Ulice (Multi Line String) 6: Parcely (Point, Polygon) 7: StavebniObjekty (Point, Multi Polygon) 8: AdresniMista (Point, Point, Point) ogr2ogr -f 'SQLite' vfr.db 20140331_OB_564729_UKSH.xml.gz ogrinfo vfr.db INFO: Open of `vfr.db' using driver `SQLite' successful. 1: obce (Multi Point) 2: castiobci (Point) 3: katastralniuzemi (Multi Point) 4: zsj (Multi Point) 5: ulice (Multi Line String) 6: parcely (Point) 7: stavebniobjekty (Point) 8: adresnimista (Point)
Attachments (1)
Change History (5)
by , 10 years ago
Attachment: | 20140331_OB_564729_UKSH.xml.gz added |
---|
comment:1 by , 10 years ago
At least driver does not support converting all geometry fields from source to target with one command. I suppose that you can more or less use several geometry columns from SpatiaLite if you create them with SQL and register into geometry_columns.
BTW, your command creates SQLite database with geometries stored according to FDO system. You will probably rather test with SpatiaLite. Add -dsco spatialite=yes into your command. But at the moment (GDAL 2.0-dev) it does not make any change.
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
multi geometries data set