[Qgis-developer] Proper way to get the path to gdal's executables from a python plugin
Tom Chadwin
tom.chadwin at nnpa.org.uk
Sat Apr 30 01:07:15 PDT 2016
There are better ways than subprocess. You can try:
import processing
processing.runalg("gdalogr:warpreproject", list, of, params)
This depends on the Processing plugin being enabled, though. Or you can try:
from osgeo import gdal
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Proper-way-to-get-the-path-to-gdal-s-executables-from-a-python-plugin-tp5263606p5263630.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
More information about the Qgis-developer
mailing list