Le mardi 12 février 2013 20:23:02, Carl Godkin a écrit : > Hi again, > > A couple of weeks ago I learned how to use gdalinfo and gdal_translate to > make the XML service files used by the WMS drivers. > > For instance, > > gdalinfo "WMS:http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi" > > produces a list of subdatasets and any of these can be turned into GDAL_WMS > XML format like this: > > gdal_translate the_subdataset_name out.xml -of WMS > > This works great for the regular WMS servers I've tried. > > What about TMS servers? Is there a similar command command for (say) > http://tile.openstreetmap.org ?
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 > > Thanks again for all the help, > > carl _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
