Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

share|improve this question
1  
Have you checked its documentation or --help output? –  lynxlynxlynx Mar 13 '13 at 19:39
1  
Google search gave me: trac.osgeo.org/gdal/wiki/UserDocs/Gdal2Tiles and blog.thematicmapping.org/2008/03/… and –  BradHards Mar 13 '13 at 20:14

1 Answer 1

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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