Le mercredi 13 février 2013 11:27:30, Jukka Rahkonen a écrit : > Even Rouault <even.rouault <at> mines-paris.org> writes: > > No, TMS servers has not a GetCapabilities request that can be used to > > self- > > > discover the properties of the layers. But typically there are just a > > variation of http://gdal.org/frmt_wms_openstreetmap_tms.xml > > I do not agree. I can see something like "describe service" and "describe > layer" requests in the TMS document
Ahem it's embarassing actually I couldn't remember it existed, since now I realize I happened to implement it in GDAL ! $ gdalinfo http://demo.opengeo.org/geoserver/gwc/service/tms/1.0.0 Driver: WMS/OGC Web Map Service Files: none associated Size is 512, 512 Coordinate System is `' Subdatasets: SUBDATASET_1_NAME=http://demo.opengeo.org/geoserver/gwc/service/tms/1.0.0/topp%3Atasmania_state_boundaries@EPSG%3A4326@png SUBDATASET_1_DESC=Tasmania state boundaries [...] $ gdalinfo "http://demo.opengeo.org/geoserver/gwc/service/tms/1.0.0/topp%3Atasmania_state_boundaries@EPSG%3A4326@png" Driver: WMS/OGC Web Map Service Files: none associated Size is 67108864, 67108864 Coordinate System is: 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.0174532925199433, AUTHORITY["EPSG","9122"]], AUTHORITY["EPSG","4326"]] Origin = (135.000000000000000,-22.500000000000000) Pixel Size = (0.000000335276127,-0.000000335276127) Image Structure Metadata: INTERLEAVE=PIXEL Corner Coordinates: Upper Left ( 135.0000000, -22.5000000) (135d 0' 0.00"E, 22d30' 0.00"S) Lower Left ( 135.0000000, -45.0000000) (135d 0' 0.00"E, 45d 0' 0.00"S) Upper Right ( 157.5000000, -22.5000000) (157d30' 0.00"E, 22d30' 0.00"S) Lower Right ( 157.5000000, -45.0000000) (157d30' 0.00"E, 45d 0' 0.00"S) Center ( 146.2500000, -33.7500000) (146d15' 0.00"E, 33d45' 0.00"S) Band 1 Block=256x256 Type=Byte, ColorInterp=Red Overviews: 33554432x33554432, 16777216x16777216, 8388608x8388608, 4194304x4194304, 2097152x2097152, 1048576x1048576, 524288x524288, 262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384, 8192x8192, 4096x4096, 2048x2048, 1024x1024, 512x512, 256x256, 128x128, 64x64, 32x32 Band 2 Block=256x256 Type=Byte, ColorInterp=Green Overviews: 33554432x33554432, 16777216x16777216, 8388608x8388608, 4194304x4194304, 2097152x2097152, 1048576x1048576, 524288x524288, 262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384, 8192x8192, 4096x4096, 2048x2048, 1024x1024, 512x512, 256x256, 128x128, 64x64, 32x32 Band 3 Block=256x256 Type=Byte, ColorInterp=Blue Overviews: 33554432x33554432, 16777216x16777216, 8388608x8388608, 4194304x4194304, 2097152x2097152, 1048576x1048576, 524288x524288, 262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384, 8192x8192, 4096x4096, 2048x2048, 1024x1024, 512x512, 256x256, 128x128, 64x64, 32x32 _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
