[gdal-dev] Constructing GDAL_WMS XML files for TMS servers
Even Rouault
even.rouault at mines-paris.org
Tue Feb 12 12:46:42 PST 2013
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
More information about the gdal-dev
mailing list