Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been trying to get gdal_retile working with the --optfile command. At first it did not work because in my files.txt I have '-' characters in the filename. I tried adding quotes around the files, and that seemed to work, but then gdal_retile would just freeze. So I have two questions:

  1. Would using the --opfile command essentially be the same thing as calling gdal_retile from the command line once for every single file I have? Would I get the exact same results?

  2. Does gdal2tiles do the same exact thing?

Thanks! Derek

share|improve this question

closed as unclear what you're asking by underdark Dec 6 '14 at 20:47

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Did you get any python error messages? The optfile is processed by the c library so you may not. – Matthew Snape Nov 9 '12 at 21:05
  1. The optfile is just added appended to the list of other arguments. This question may help.

  2. Gdal2tiles creates raw tiles for use in web mapping that can be used directly with API's such as Google Maps. gdal_retile creates tiles that sever software like geoserver can use.

share|improve this answer

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