[gdal-dev] Using a MapQuest TMS via GDAL

Chris Hanson xenon at alphapixel.com
Tue Oct 29 09:23:22 PDT 2013


Followup with one additional question.

MapQuest apparently now requires an API key be specified:
http://developer.mapquest.com/web/products/open/forums/-/message_boards/view_message/459733

I didn't at a glance see any way to specify this via the GDAL WMS XML. Am I
missing something?


On Wed, Oct 23, 2013 at 1:21 AM, Even Rouault
<even.rouault at mines-paris.org>wrote:

> Le mardi 22 octobre 2013 22:21:41, Jukka Rahkonen a écrit :
> > 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.
>
> Yes playing with DataWindow is not appropriate. It defines the the
> bounding box
> of the source layer, in the tile scheme of the source. in particular at
> which
> coordinates http://otile1.mqcdn.com/tiles/1.0.0/sat/0/0/0.png will be.
>
> What you would want is the capability to define a window of interest, but
> that
> doesn't exist in the WMS XML format.
>
> > 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.
>
> +1
>
> You can also create a virtual dataset file with gdal_translate -of VRT
> -projwin
>
> Even
>
> --
> Geospatial professional services
> http://even.rouault.free.fr/services.html
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography
• Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS •
Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20131029/a4c1f5d0/attachment.html>


More information about the gdal-dev mailing list