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.
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer