[gdal-dev] How to know which formats allow editing with ogrinfo?

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Fri Nov 15 00:52:48 PST 2019


Hi,

Shapefile can be edited with ogrinfo
ogrinfo -dialect SQLite -sql "update foo set bar='14'" foo.shp

GML opens always as read-only with -sql option
ogrinfo -sql "select * from foo" foo.gml
Had to open data source read-only.
INFO: Open of `foo.gml'
      using driver `GML' successful.

How can I know which formats support editing with -sql and which not? I could not find any obvious metadata by checking the capabilities of a few different drivers.

-Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20191115/f2811198/attachment.html>


More information about the gdal-dev mailing list