瀏覽代碼

r.in.wms manual: examples cleanup

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@69847 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 8 年之前
父節點
當前提交
7ca4e595f9
共有 1 個文件被更改,包括 14 次插入20 次删除
  1. 14 20
      scripts/r.in.wms/r.in.wms.html

+ 14 - 20
scripts/r.in.wms/r.in.wms.html

@@ -13,9 +13,7 @@ back together.
 
 
 To understand the data you are getting it is necessary to look at the
 To understand the data you are getting it is necessary to look at the
 capabilities of the WMS server. This should be available via a capabilities
 capabilities of the WMS server. This should be available via a capabilities
-request. This is an
-<a href="http://wms.jpl.nasa.gov/wms.cgi?request=GetCapabilities">example
-capabilities request to NASA's OnEarth server</a>.
+request (see examples)
 
 
 <p>
 <p>
 When using GDAL WMS driver (<b>driver=WMS_GDAL</b>), the GDAL library
 When using GDAL WMS driver (<b>driver=WMS_GDAL</b>), the GDAL library
@@ -23,10 +21,10 @@ needs to be built with WMS support,
 see <a href="http://gdal.org/frmt_wms.html">GDAL WMS</a> manual page
 see <a href="http://gdal.org/frmt_wms.html">GDAL WMS</a> manual page
 for details.
 for details.
 
 
-<h3>NASA OnEarth Tiled WMS</h3>
+<h3>Tiled WMS</h3>
 
 
-Into parameter <b>layers</b> insert name of <i>TiledGroup</i> from
-Tile Service file. Time variable is possible to specify
+Into the parameter <b>layers</b> the name of the <i>TiledGroup</i> need to
+be inserted from Tile Service file. Time variable can be specified
 in <b>urlparams</b> parameter,
 in <b>urlparams</b> parameter,
 e.g: <tt>urlparams='time=2012-1-1'</tt>.
 e.g: <tt>urlparams='time=2012-1-1'</tt>.
 
 
@@ -48,20 +46,16 @@ r.in.wms -c url="http://wms.cuzk.cz/wms.asp"
 <h4>Open Street Map</h4>
 <h4>Open Street Map</h4>
 
 
 <div class="code"><pre>
 <div class="code"><pre>
+# OSM
 g.region n=90 s=-90 w=-180 e=180 res=0:10:00 -p
 g.region n=90 s=-90 w=-180 e=180 res=0:10:00 -p
 r.in.wms url=http://watzmann-geog.urz.uni-heidelberg.de/cached/osm layers=osm_auto:all output=osm format=png
 r.in.wms url=http://watzmann-geog.urz.uni-heidelberg.de/cached/osm layers=osm_auto:all output=osm format=png
 </pre></div>
 </pre></div>
 
 
 <div class="code"><pre>
 <div class="code"><pre>
+# OSM
 r.in.wms url=http://irs.gis-lab.info layers=osm output=osm format=png
 r.in.wms url=http://irs.gis-lab.info layers=osm output=osm format=png
 </pre></div>
 </pre></div>
 
 
-More OSM WMS servers can be found online, e.g. on the OSM wiki in a 
-<a href="http://wiki.openstreetmap.org/wiki/WMS#Public_WMS_Servers">OSM WMS Servers list</a>
-and on the <a href="http://wiki.openstreetmap.org/wiki/OSM-WMS-EUROPE">OSM-WMS-EUROPE</a> page.
-
-<h4>World data</h4>
-
 <div class="code"><pre>
 <div class="code"><pre>
 # OSM Overlay WMS (can be used as an overlay for other maps)
 # OSM Overlay WMS (can be used as an overlay for other maps)
 r.in.wms url="http://ows.mundialis.de/services/service?" layer=OSM-Overlay-WMS output=osm_overlay format=png
 r.in.wms url="http://ows.mundialis.de/services/service?" layer=OSM-Overlay-WMS output=osm_overlay format=png
@@ -73,12 +67,18 @@ r.in.wms url="http://ows.mundialis.de/services/service?" layer=TOPO-OSM-WMS outp
 r.in.wms url="http://ows.mundialis.de/services/service?" layer=TOPO-WMS output=topo format=png
 r.in.wms url="http://ows.mundialis.de/services/service?" layer=TOPO-WMS output=topo format=png
 </pre></div>
 </pre></div>
 <p>
 <p>
+More OSM WMS servers can be found online, e.g. on the OSM wiki in a
+<a href="http://wiki.openstreetmap.org/wiki/WMS#Public_WMS_Servers">OSM WMS Servers list</a>
+and on the <a href="http://wiki.openstreetmap.org/wiki/OSM-WMS-EUROPE">OSM-WMS-EUROPE</a> page.
+
+<h4>Image data</h4>
 
 
 <div class="code"><pre>
 <div class="code"><pre>
-r.in.wms url=http://iceds.ge.ucl.ac.uk/cgi-bin/icedswms layers=bluemarble,landsat_1_01 styles=default,default output=landsat srs=4326 format=png 
+# Landsat
+r.in.wms url=http://irs.gis-lab.info layers=landsat output=landsat format=png
 </pre></div>
 </pre></div>
 
 
-Note: server supports only WMS 1.1.1
+<h4>Countries and coastlines</h4>
 
 
 <div class="code"><pre>
 <div class="code"><pre>
 r.in.wms url=http://www2.demis.nl/WMS/wms.asp layers=Countries,Borders,Coastline output=countries srs=4326 format=png 
 r.in.wms url=http://www2.demis.nl/WMS/wms.asp layers=Countries,Borders,Coastline output=countries srs=4326 format=png 
@@ -92,12 +92,6 @@ r.in.wms url=http://gpp3-wxs.ign.fr/yourAPIkey/geoportail/wmts layers=ORTHOIMAGE
 
 
 Note: username, password and API key can be get from <a href="http://api.ign.fr/">IGN API</a> website
 Note: username, password and API key can be get from <a href="http://api.ign.fr/">IGN API</a> website
 
 
-<h4>NASA OnEarth Tiled WMS Example</h4>
-
-<div class="code"><pre>
-r.in.wms output=global_mosaic url=http://onearth.jpl.nasa.gov/wms.cgi layers='Global Mosaic, visual' driver=OnEarth_GRASS 
-</pre></div>
-
 <h4>Data covering the Czech Republic</h4>
 <h4>Data covering the Czech Republic</h4>
 
 
 <div class="code"><pre>
 <div class="code"><pre>