[Qgis-developer] use ogr2ogr in a plugin

Denis Rouzaud denis.rouzaud at gmail.com
Wed Oct 28 07:09:35 PDT 2015


Hi all,

I would like to use ogr2ogr in a plugin, and I wonder if it's possible
to call the one that has been installed along QGIS, independently from
the OS.

The idea is to connect to a Postgres DB and writes content of tables
into shapefiles. One way would be to load the tables in QGIS and write
content manually, but a single ogr2ogr would be quite straightforward.

Thanks a lot for any lead,

Denis


More information about the Qgis-developer mailing list