[gdal-dev] errors in GDAL TMS examples
Etienne Tourigny
etourigny.dev at gmail.com
Mon Apr 7 10:29:21 PDT 2014
Hi,
I have been looking at the GDAL TMS examples in [1] and it seems there are
a few errors
[1] http://www.gdal.org/frmt_wms.html
I am not sure if the driver, server path or server changes are to blame.
1) shouldn't EPSG:900913 be replaced by EPSG:3857 as it's now an official
EPSG entry?
2) OnEarth Tiled WMS Clementine, WMS srtm and Landsat mosaic do not load
$ gdalinfo frmt_twms_Clementine.xml
ERROR 1: GDAL_WMS TiledWMS: Can't locate TiledGroup Clementine in server
response.
ERROR 1: GDALWMS: Failed to initialize minidriver.
gdalinfo failed - unable to open 'frmt_twms_Clementine.xml'.
Clementine is not found, but the following are returned:
<Name>Clementine LO Hybrid, LMMP</Name>
<Name>Clementine Mosaic, LMMP</Name>
<Name>Clementine Color Ratio, LMMP</Name>
<Name>Clementine Optical Maturity, LMMP</Name>
<Name>Clementine FeO abundance, LMMP</Name>
<Name>Clementine TiO2 abundance, LMMP</Name>
$ gdalinfo --debug ON frmt_twms_srtm.xml
HTTP: Fetch(http://onearth.jpl.nasa.gov/wms.cgi?request=GetTileService)
<never ends>
$ gdal_translate -of JPEG -outsize 500 250
frmt_wms_onearth_global_mosaic.xml onearth_global_mosaic.jpg
Input file size is 2949120, 1474560
0
<never ends>
3) MetaCarta TMS and wmsc - lots of GDAL errors (but gdalinfo is ok),
rendering is bad in QGIS 2.2
$ gdal_translate -of PNG -outsize 512 256 frmt_wms_metacarta_tms.xml
metacarta.png
Input file size is 268435456, 134217728
<bunch of errors>
$ gdal_translate -of PNG -outsize 500 250 frmt_wms_metacarta_wmsc.xml
metacarta_wmsc.png
Input file size is 268435456, 134217728
<bunch of errors>
4) TileService, Blue Marble NG - does not load
$ gdal_translate -of JPEG -outsize 500 250 frmt_wms_tileservice_bmng.xml
tileservice_bmng.jpg
Input file size is 65536, 32768
0ERROR 1: GDALWMS: Unable to download block 0, 0.
URL:
http://s0.tileservice.worldwindcentral.com/getTile?interface=map&version=1&dataset=bmng.topo.bathy.200401&level=0&x=0&y=0
HTTP status code: 404, error: (null).
ERROR 1: frmt_wms_tileservice_bmng.xml, band 1: IReadBlock failed at X
offset 0, Y offset 0
5) TileService, NYSDOP 2004 - does not load
$ gdal_translate -of JPEG -projwin -73.687030 41.262680 -73.686359
41.262345 -outsize 500 250 frmt_wms_tileservice_nysdop2004.xml
tileservice_nysdop2004.jpg
Input file size is 1048576, 1048576
Computed -srcwin 629496 165307 500 250 from projected window.
0ERROR 1: GDALWMS: Unable to download block 1229, 322.
URL:
http://s0.tileservice.worldwindcentral.com/getTile?interface=map&version=1&dataset=us.newyork_nysdop2004_0.15m&level=19&x=154829&y=70978
HTTP status code: 404, error: (null).
ERROR 1: frmt_wms_tileservice_nysdop2004.xml, band 1: IReadBlock failed at
X offset 1229, Y offset 322
ERROR 1: GetBlockRef failed at X block offset 1229, Y block offset 322
cheers
Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140407/ce266a77/attachment.html>
More information about the gdal-dev
mailing list