Hi all,
After a bunch of experimenting and searching around, I'm a bit stuck getting the gdal tools that work in concert with python to function properly. Specifically, I'm trying to retile a GeoTiff using gdal_retile.py.
I have no problem using gdal tools to warp imagery or add or remove metadata. I regularly create mosaics of smaller tiles and and translate them between projections using gdalwarp and gdal_translate, but the functions that require python support are causing me problems.
From within the OSGeo4w command prompt, I have tried beginning the command with "python gdal_retile.py..." This results in "python: can't open file gdal_retile.py: [Errno 21] no such file or directory"
I have also tried switching to python from the OSGeo4w command prompt, and beginning the gdal_retile.py command string there. In this case, I get an invalid syntax error.
There is plenty of talk online about getting gdal tools to work with python, but I'm afraid they all assume a basic level of understanding of python that I simply don't have.
Has anyone had an experience similar to mine? Are there any OSGeo4w users here that could point me to some helpful literature or who could possibly determine which steps I've messed up?
Thanks a lot!
bmart
After a bunch of experimenting and searching around, I'm a bit stuck getting the gdal tools that work in concert with python to function properly. Specifically, I'm trying to retile a GeoTiff using gdal_retile.py.
I have no problem using gdal tools to warp imagery or add or remove metadata. I regularly create mosaics of smaller tiles and and translate them between projections using gdalwarp and gdal_translate, but the functions that require python support are causing me problems.
From within the OSGeo4w command prompt, I have tried beginning the command with "python gdal_retile.py..." This results in "python: can't open file gdal_retile.py: [Errno 21] no such file or directory"
I have also tried switching to python from the OSGeo4w command prompt, and beginning the gdal_retile.py command string there. In this case, I get an invalid syntax error.
There is plenty of talk online about getting gdal tools to work with python, but I'm afraid they all assume a basic level of understanding of python that I simply don't have.
Has anyone had an experience similar to mine? Are there any OSGeo4w users here that could point me to some helpful literature or who could possibly determine which steps I've messed up?
Thanks a lot!
bmart


