
mod-geocache - issue #75
TMS <TileMap> document advertizes wrong url for <TileSet href>
The document returned by http://www2.terriscope.fr/geocache/tms/1.0.0/osm@WGS84 contains <TileSet href="http://www2.terriscope.fr/geocache/tms/1.0.0/osm@EPSG:4326/0" units-per-pixel="1.406250" order="0"/>
But the URL http://www2.terriscope.fr/geocache/tms/1.0.0/osm@EPSG:4326/0 is not valid, causing troubles to client using the href URL. It should be http://www2.terriscope.fr/geocache/tms/1.0.0/osm@WGS84/0 instead.
The same applies for http://www2.terriscope.fr/geocache/tms/1.0.0/truemarble@g that contains http://www2.terriscope.fr/geocache/tms/1.0.0/truemarble@EPSG:900913/0 whereas it should be http://www2.terriscope.fr/geocache/tms/1.0.0/truemarble@g/0
Comment #1
Posted on May 1, 2011 by Helpful RhinoThis issue was closed by revision r284.
Comment #2
Posted on May 1, 2011 by Helpful RhinoEven, do you have a tool that automatically displays a map given a tms capabilities url ?
Comment #3
Posted on May 1, 2011 by Quick MonkeyYes, GDAL trunk. It now returns the following : (I see the demo is updated in real-time. Before your fix, the was pointing to http://www2.terriscope.fr/geocache/tms/1.0.0/truemarble@EPSG:900913/${z}/${x}/${y}.${format})
$ gdalinfo http://www2.terriscope.fr/geocache/tms/1.0.0/truemarble@g
Driver: WMS/OGC Web Map Service Files: none associated Size is 67108896, 67108896 Coordinate System is: PROJCS["Google Maps Global Mercator", GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich",0, AUTHORITY["EPSG","8901"]], UNIT["degree",0.01745329251994328, AUTHORITY["EPSG","9122"]], AUTHORITY["EPSG","4326"]], PROJECTION["Mercator_2SP"], PARAMETER["standard_parallel_1",0], PARAMETER["latitude_of_origin",0], PARAMETER["central_meridian",0], PARAMETER["false_easting",0], PARAMETER["false_northing",0], UNIT["Meter",1], EXTENSION["PROJ4","+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"], AUTHORITY["EPSG","900913"]] Origin = (-20037508.342789001762867,20037508.342789001762867) Pixel Size = (0.597163998727948,-0.597163998727948) Image Structure Metadata: INTERLEAVE=PIXEL Corner Coordinates: Upper Left (-20037508.343,20037508.343) (180d 0' 0.00"W, 85d 3' 4.06"N) Lower Left (-20037508.343,-20037508.343) (180d 0' 0.00"W, 85d 3' 4.06"S) Upper Right (20037508.343,20037508.343) (180d 0' 0.00"E, 85d 3' 4.06"N) Lower Right (20037508.343,-20037508.343) (180d 0' 0.00"E, 85d 3' 4.06"S) Center ( 0.0000000, 0.0000000) ( 0d 0' 0.01"E, 0d 0' 0.01"N) Band 1 Block=256x256 Type=Byte, ColorInterp=Red Overviews: 33554448x33554448, 16777224x16777224, 8388612x8388612, 4194306x4194306, 2097153x2097153, 1048577x1048577, 524288x524288, 262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384, 8192x8192, 4096x4096, 2048x2048, 1024x1024, 512x512, 256x256 Band 2 Block=256x256 Type=Byte, ColorInterp=Green Overviews: 33554448x33554448, 16777224x16777224, 8388612x8388612, 4194306x4194306, 2097153x2097153, 1048577x1048577, 524288x524288, 262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384, 8192x8192, 4096x4096, 2048x2048, 1024x1024, 512x512, 256x256 Band 3 Block=256x256 Type=Byte, ColorInterp=Blue Overviews: 33554448x33554448, 16777224x16777224, 8388612x8388612, 4194306x4194306, 2097153x2097153, 1048577x1048577, 524288x524288, 262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384, 8192x8192, 4096x4096, 2048x2048, 1024x1024, 512x512, 256x256
Status: Fixed
Labels:
Type-Defect
Priority-Medium