[gdal-dev] Using a MapQuest TMS via GDAL

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Tue Oct 22 13:21:41 PDT 2013


Chris Hanson <xenon <at> alphapixel.com> writes:


> What is the proper process for requesting a DataWindow region 
> and getting a proper reoreferenced raster subset back?

I am not sure about how changing the DataWindow size in the XML
configuration file should work but anyway, it is not so good place to play.
Instead, define the TMS source to cover the whole world as in
http://www.gdal.org/frmt_wms_openstreetmap_tms.xml and control the area you
want with the gdal_translate parameters http://www.gdal.org/gdal_translate.html

I believe you want to use -projwin.

-Jukka Rahkonen-




More information about the gdal-dev mailing list