2015-10-29 9:18 GMT+01:00 Matthias Kuhn <matth...@opengis.ch>:
> Hi Denis,
>
> I assume the path env variable should be appropriately set in all OS'es
> when inside QGIS so calling ogr2ogr (e.g. subprocess.call( 'ogr2ogr
> params' ) should just work. But to be honest, I never tried.
>
> Matthias
>

That's actually what the ogr2ogr algorithm in Processing does...

https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/gdal/ogr2ogr.py
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to