<div dir="ltr"><br><div style>Hi again,</div><div style><br></div><div style>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.</div><div style><br>
</div><div style>For instance, </div><div style><br></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"> gdalinfo "</span><span class="" style="background-color:rgb(255,255,204);font-family:arial,sans-serif;font-size:13px">WMS</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">:</span><a href="http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi" target="_blank" style="font-family:arial,sans-serif;font-size:13px">http://mesonet.agron.iastate.edu/cgi-bin/<span class="" style="background-color:rgb(255,255,204);color:rgb(34,34,34)">wms</span>/nexrad/n0r.cgi</a><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">"</span><br>
</div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">produces a list of subdatasets and any of these can be turned into GDAL_WMS XML format like this:</span></div>
<div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"> gdal_translate the_subdataset_name out.xml -of WMS</span></div>
<div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">This works great for the regular WMS servers I've tried.</span></div>
<div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">What about TMS servers? Is there a similar command command for (say) <a href="http://tile.openstreetmap.org">http://tile.openstreetmap.org</a> ?</span></div>
<div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">Thanks again for all the help,</span></div>
<div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">carl</span></div><div style>
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><div><br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></div></div></div>