<div dir="ltr">Followup with one additional question.<div><br></div><div>MapQuest apparently now requires an API key be specified:</div><div><a href="http://developer.mapquest.com/web/products/open/forums/-/message_boards/view_message/459733">http://developer.mapquest.com/web/products/open/forums/-/message_boards/view_message/459733</a><br>
</div><div><br></div><div>I didn't at a glance see any way to specify this via the GDAL WMS XML. Am I missing something?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 23, 2013 at 1:21 AM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im HOEnZb">Le mardi 22 octobre 2013 22:21:41, Jukka Rahkonen a écrit :<br>
</div><div class="im HOEnZb">> Chris Hanson <xenon <at> <a href="http://alphapixel.com" target="_blank">alphapixel.com</a>> writes:<br>
> > What is the proper process for requesting a DataWindow region<br>
> > and getting a proper reoreferenced raster subset back?<br>
><br>
> I am not sure about how changing the DataWindow size in the XML<br>
> configuration file should work but anyway, it is not so good place to play.<br>
<br>
</div><div class="im HOEnZb">Yes playing with DataWindow is not appropriate. It defines the the bounding box<br>
of the source layer, in the tile scheme of the source. in particular at which<br>
coordinates <a href="http://otile1.mqcdn.com/tiles/1.0.0/sat/0/0/0.png" target="_blank">http://otile1.mqcdn.com/tiles/1.0.0/sat/0/0/0.png</a> will be.<br>
<br>
What you would want is the capability to define a window of interest, but that<br>
doesn't exist in the WMS XML format.<br>
<br>
</div><div class="im HOEnZb">> Instead, define the TMS source to cover the whole world as in<br>
> <a href="http://www.gdal.org/frmt_wms_openstreetmap_tms.xml" target="_blank">http://www.gdal.org/frmt_wms_openstreetmap_tms.xml</a> and control the area you<br>
> want with the gdal_translate parameters<br>
> <a href="http://www.gdal.org/gdal_translate.html" target="_blank">http://www.gdal.org/gdal_translate.html</a><br>
><br>
> I believe you want to use -projwin.<br>
<br>
</div><div class="im HOEnZb">+1<br>
<br>
You can also create a virtual dataset file with gdal_translate -of VRT -projwin<br>
<br>
Even<br>
<br>
--<br>
Geospatial professional services<br>
<a href="http://even.rouault.free.fr/services.html" target="_blank">http://even.rouault.free.fr/services.html</a><br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div style="text-align:center">Chris 'Xenon' Hanson, omo sanza lettere. Xenon@AlphaPixel.com <a href="http://www.alphapixel.com/" target="_blank">http://www.alphapixel.com/</a></div>
<div style="text-align:center">Training • Consulting • Contracting</div><div style="text-align:center">3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL</div>
<div style="text-align:center">Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android</div><div style="text-align:center">
<a href="https://twitter.com/alphapixel" target="_blank">@alphapixel</a> <a href="http://facebook.com/alphapixel" target="_blank">facebook.com/alphapixel</a> (775) 623-PIXL [7495]</div></div>
</div>