I want to create tiled cache from raster file, so i downloaded gdal2tiles.py. Now i don't get what (and how) i must do with that python script file.


The following would create fixed size tiles of your_raster_file in the directory /tmp/test

gdal_retile.py -ps 512 512 -targetDir /tmp/test your_raster_file.tif

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.