Runing a command to do a gdal_polygonize, the gdal_translate and org2org
functions work just ifne, just not poloygoize..??
os.system('gdal_polygonize tmp.4.vrt -f KML tmp.5.kml')
I get :
python: can't open file '\bin\gdal_polygonize.py';: error 2, no such
file or directory
any
Dennis,
You either have to know the absolute path to gdal_polygonize.py or have
its location on your system path to make that work. And I also recommend
the subprocess module instead of the deprecated os.system.
import subprocess
subprocess.check_output(