[Qgis-developer] use ogr2ogr in a plugin
Denis Rouzaud
denis.rouzaud at gmail.com
Thu Oct 29 01:41:10 PDT 2015
Thanks a lot Matthias and Victor!
On 10/29/2015 09:38 AM, Victor Olaya wrote:
> 2015-10-29 9:18 GMT+01:00 Matthias Kuhn <matthias at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
More information about the Qgis-developer
mailing list