Re: [gdal-dev] GDAL WMTS Driver - How do you control the Tile Matrix Set's Tile Level?

2016-11-07 Thread esacree
Code Snippet: GDAL_WMTS XML file – area around Cumberland River: Code is trying to get raster tiles from the server not capabilities. Using the example for the Local Service Description File here: http://www.gdal.org/frmt_wmts.html . 1. Here is the WMTS XML file generated to request tiles

Re: [gdal-dev] GDAL WMTS Driver - How do you control the Tile Matrix Set's Tile Level?

2016-11-07 Thread esacree
Yes, I tried setting the width and height in the pdataset->RasterIO call to 2048 x 1024. (Based on window size, enlarged to next power of 2. ) It doesn't crash which is good. Error code appears successful. But I am just getting a black image now. -- View this message in context:

[gdal-dev] GDAL WMTS Driver - How do you control the Tile Matrix Set's Tile Level?

2016-11-06 Thread esacree
I am trying to use the new GDAL_WMTS driver with GDAL Version 2.1. Problem: The thread that receives the data from the server gets a GDAL data set handle with a total data buffer size of 4,294,967,296 for a 4 band image. Questions: 1. Does GDAL_WMTS driver return all tiles combined

Re: [gdal-dev] GDAL WMTS Driver - How do you control the Tile Matrix Set's Tile Level?

2016-11-07 Thread esacree
I am trying to generate a WMTS Service Request XML file in C++ code for the GDAL_WMTS driver in GDAL 2.1. Just using the gdal_translate command to generate a working sample XML file for debugging the C++ code. Are there any GDAL_WMTS driver XML tag parameters to request a specific Tile Level

Re: [gdal-dev] GDAL WMTS Driver - How do you control the Tile Matrix Set's Tile Level?

2016-11-10 Thread esacree
WMTS request is set up in the XML file. That I posted a few days ago in the message chain. The data set rasterio call has width=2048, height=1024, bands=4. The call to rasterio does take some time. Acts like it is trying to get the data. But the data comes back black (all zeroes). I have

[gdal-dev] Can GDAL WMS driver still access Google Maps and VirtualEarth (Bing)?

2016-11-11 Thread esacree
Are the GDAL WMS documented examples for the Google and VirtualEarth tile servers still correct? Both Google and VirtualEarth documentation say you have to get a key. It looks like things have changed since the GDAL WMS documentation was written for Google and VirtualEarth. Thanks in advance

[gdal-dev] Question: is there a way to set the TileMatrix value (aka Tile Zoom Level) for GDAL_WMTS?

2016-11-22 Thread esacree
Question: is there a way to set the TileMatrix value (aka Tile Zoom Level) for GDAL_WMTS? WMTS Tile Retrieval issue: WMTS Is retrieving at the wrong TileMatrix value. WMTS retrieves tiles at the maximum tile matrix (tile level or zoom level). No data is being returned. Server:

[gdal-dev] Index Tiling Questions for WMTS, Bing, Google/TMS

2016-11-17 Thread esacree
A few questions based on the GDAL examples for Google, Bing/VirtualEarth and WMTS tile servers. 1. Google Maps has the tile/image origin in the upper left corner. TMS has the tile image origin in the lower left corner. Where should the tile/image origin be for Google maps when using the

[gdal-dev] Recommended lib Curl version for GDAL 2.1.2 and WMTS

2016-11-17 Thread esacree
Which version of libCurl is recommended for use with GDAL 2.1.2 and the GDAL_WMTS driver? We have been using libCurl version 7.45 dated 7-Oct-2016. The newest version is 7.51 dated 2-Nov-2016. 7.51 contains a very long list of fixes. The upgrade could be time consuming to rebuild everything.

[gdal-dev] VirtualEarth Style Parameter in GDAL C++

2016-12-15 Thread esacree
Is it possible to change the map style on the VirtualEarth in GDAL? The current example shows the Aerial Map Style: http://a${server_num}.ortho.tiles.virtualearth.net/tiles/a${quadkey}.jpeg?g=90; Is it possible to get the other Bing/VirtualEarth map styles like the road view or road view with

Re: [gdal-dev] WMTS - Need TileLevel option Servers responding with bad capabilities

2016-12-16 Thread esacree
Even, I tried the daily build from 9-Dec-2016. The new ZoomLevel parameter is there and the value is extracted. Unfortunately, GDAL is still using the maximum tile level from the capabilities document. USGS hasn't responded to my request to fix their capabilities documents. ESRI's world time

[gdal-dev] WMTS - Need TileLevel option Servers responding with bad capabilities

2016-11-30 Thread esacree
Question: Is it possible to get a TileLevel option added to the new GDAL WMTS driver? Reason: WMTS servers at USGS and ESRI are returning XML Capabilities with TileLevel 18 (Google) or TileLevel 19 (default028mm). The USGS help desk said that the tile servers are only serving up to Tile

[gdal-dev] Request for API Key parameter to be added to the TMS driver for Google and VirtualEarth/Bing

2016-11-30 Thread esacree
Request: Need an APIKey parameter for the TMS driver for use with VirtualEarth (Bing) and Google. The requests still work without the API key. But, according to Google and Bing, the API Key is now required to legally use their services. The API keys are free from their web sites. For low

Re: [gdal-dev] WMTS - Need TileLevel option Servers responding with bad capabilities

2016-12-19 Thread esacree
I've tried both the "TileLevel" and the "ZoomLevel" parameters both separately and together. The URL still shows the maximum tile zoom level on the request. http://basemap.nationalmap.gov/arcgis/rest/services/USGSShadedReliefOnly/MapServer/WMTS/1.0.0/WMTSCapabilities.xml

Re: [gdal-dev] WMTS - Need TileLevel option Servers responding with bad capabilities

2016-12-19 Thread esacree
Even, Ah! You are correct. I just loaded the 17-Dec-2016 daily stable branch. Wrong one. Thank you for checking the syntax for me. WMTS should be good to go for the next release of GDAL. I have 5 other map server types working correctly now. Thanks for your help! Elaine -- View this