<div dir="ltr">Hi,<div><br></div><div style>Thank you very much for the tips. </div><div style><br></div><div style>carl</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 14, 2013 at 1:04 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le mercredi 13 février 2013 11:27:30, Jukka Rahkonen a écrit :<br>
<div class="im">> Even Rouault <even.rouault <at> <a href="http://mines-paris.org" target="_blank">mines-paris.org</a>> writes:<br>
> > No, TMS servers has not a GetCapabilities request that can be used to<br>
><br>
> self-<br>
><br>
> > discover the properties of the layers. But typically there are just a<br>
> > variation of <a href="http://gdal.org/frmt_wms_openstreetmap_tms.xml" target="_blank">http://gdal.org/frmt_wms_openstreetmap_tms.xml</a><br>
><br>
> I do not agree. I can see something like "describe service" and "describe<br>
> layer" requests in the TMS document<br>
<br>
</div>Ahem it's embarassing actually I couldn't remember it existed, since now I<br>
realize I happened to implement it in GDAL !<br>
<br>
$ gdalinfo <a href="http://demo.opengeo.org/geoserver/gwc/service/tms/1.0.0" target="_blank">http://demo.opengeo.org/geoserver/gwc/service/tms/1.0.0</a><br>
Driver: WMS/OGC Web Map Service<br>
Files: none associated<br>
Size is 512, 512<br>
Coordinate System is `'<br>
Subdatasets:<br>
  SUBDATASET_1_NAME=<a href="http://demo.opengeo.org/geoserver/gwc/service/tms/1.0.0/topp%3Atasmania_state_boundaries@EPSG%3A4326@png" target="_blank">http://demo.opengeo.org/geoserver/gwc/service/tms/1.0.0/topp%3Atasmania_state_boundaries@EPSG%3A4326@png</a><br>

  SUBDATASET_1_DESC=Tasmania state boundaries<br>
[...]<br>
<br>
$ gdalinfo<br>
"<a href="http://demo.opengeo.org/geoserver/gwc/service/tms/1.0.0/topp%3Atasmania_state_boundaries@EPSG%3A4326@png" target="_blank">http://demo.opengeo.org/geoserver/gwc/service/tms/1.0.0/topp%3Atasmania_state_boundaries@EPSG%3A4326@png</a>"<br>

Driver: WMS/OGC Web Map Service<br>
Files: none associated<br>
Size is 67108864, 67108864<br>
Coordinate System is:<br>
GEOGCS["WGS 84",<br>
    DATUM["WGS_1984",<br>
        SPHEROID["WGS 84",6378137,298.257223563,<br>
            AUTHORITY["EPSG","7030"]],<br>
        AUTHORITY["EPSG","6326"]],<br>
    PRIMEM["Greenwich",0,<br>
        AUTHORITY["EPSG","8901"]],<br>
    UNIT["degree",0.0174532925199433,<br>
        AUTHORITY["EPSG","9122"]],<br>
    AUTHORITY["EPSG","4326"]]<br>
Origin = (135.000000000000000,-22.500000000000000)<br>
Pixel Size = (0.000000335276127,-0.000000335276127)<br>
Image Structure Metadata:<br>
  INTERLEAVE=PIXEL<br>
Corner Coordinates:<br>
Upper Left  ( 135.0000000, -22.5000000) (135d 0' 0.00"E, 22d30' 0.00"S)<br>
Lower Left  ( 135.0000000, -45.0000000) (135d 0' 0.00"E, 45d 0' 0.00"S)<br>
Upper Right ( 157.5000000, -22.5000000) (157d30' 0.00"E, 22d30' 0.00"S)<br>
Lower Right ( 157.5000000, -45.0000000) (157d30' 0.00"E, 45d 0' 0.00"S)<br>
Center      ( 146.2500000, -33.7500000) (146d15' 0.00"E, 33d45' 0.00"S)<br>
Band 1 Block=256x256 Type=Byte, ColorInterp=Red<br>
  Overviews: 33554432x33554432, 16777216x16777216, 8388608x8388608,<br>
4194304x4194304, 2097152x2097152, 1048576x1048576, 524288x524288,<br>
262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384,<br>
8192x8192, 4096x4096, 2048x2048, 1024x1024, 512x512, 256x256, 128x128, 64x64,<br>
32x32<br>
Band 2 Block=256x256 Type=Byte, ColorInterp=Green<br>
  Overviews: 33554432x33554432, 16777216x16777216, 8388608x8388608,<br>
4194304x4194304, 2097152x2097152, 1048576x1048576, 524288x524288,<br>
262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384,<br>
8192x8192, 4096x4096, 2048x2048, 1024x1024, 512x512, 256x256, 128x128, 64x64,<br>
32x32<br>
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue<br>
  Overviews: 33554432x33554432, 16777216x16777216, 8388608x8388608,<br>
4194304x4194304, 2097152x2097152, 1048576x1048576, 524288x524288,<br>
262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384,<br>
8192x8192, 4096x4096, 2048x2048, 1024x1024, 512x512, 256x256, 128x128, 64x64,<br>
32x32<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br></div>