Sfoglia il codice sorgente

r.in.wms2 -> r.in.wms

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52471 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 anni fa
parent
commit
6137018feb
2 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. 5 5
      scripts/r.in.wms/r.in.wms.html
  2. 2 2
      scripts/r.in.wms/r.in.wms.py

+ 5 - 5
scripts/r.in.wms/r.in.wms.html

@@ -1,6 +1,6 @@
 <h2>DESCRIPTION</h2>
 
-<em>r.in.wms2</em> handles all of downloading and importing raster
+<em>r.in.wms</em> handles all of downloading and importing raster
 data from an <a href="http://www.opengeospatial.org/standards/wms">OGC
 WMS</a> web mapping server. It need only be told the desired data to
 collect (bounds and resolution) via a region, the server to get the
@@ -25,7 +25,7 @@ capabilities request to NASA's OnEarth server</a>.
 <h3>General Get Capabilities Request</h3>
 
 <div class="code"><pre>
-r.in.wms2 -c mapserver=http://wms.cuzk.cz/wms.asp
+r.in.wms -c mapserver=http://wms.cuzk.cz/wms.asp
 </pre></div>
 
 <h3>CUZK download</h3>
@@ -34,12 +34,12 @@ r.in.wms2 -c mapserver=http://wms.cuzk.cz/wms.asp
 World extend data:
 
 <div class="code"><pre>
-r.in.wms2 mapserver=http://iceds.ge.ucl.ac.uk/cgi-bin/icedswms layers=bluemarble,landsat_1_01 styles=default,default output=landsat srs=4326 format=png 
+r.in.wms mapserver=http://iceds.ge.ucl.ac.uk/cgi-bin/icedswms layers=bluemarble,landsat_1_01 styles=default,default output=landsat srs=4326 format=png 
 </pre></div>
 * Server supports only WMS 1.1.1 <br>
 
 <div class="code"><pre>
-r.in.wms2 mapserver=http://132.156.97.59/cgi-bin/worldmin_en-ca_ows layers=GSC:WORLD_PrecambrianDomains output=pokus srs=4326 format=jpeg 
+r.in.wms mapserver=http://132.156.97.59/cgi-bin/worldmin_en-ca_ows layers=GSC:WORLD_PrecambrianDomains output=pokus srs=4326 format=jpeg 
 </pre></div>
 * Server supports only WMS 1.1.1 
 <br>
@@ -48,7 +48,7 @@ r.in.wms2 mapserver=http://132.156.97.59/cgi-bin/worldmin_en-ca_ows layers=GSC:W
 Data in extend of Czech Republic:
 
 <div class="code"><pre>
-r.in.wms2 output=kn mapserver=http://wms.cuzk.cz/wms.asp layers=prehledka_kraju-linie srs=4326 format=png
+r.in.wms output=kn mapserver=http://wms.cuzk.cz/wms.asp layers=prehledka_kraju-linie srs=4326 format=png
 </pre></div>
 
 

+ 2 - 2
scripts/r.in.wms/r.in.wms.py

@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 """
-MODULE:    r.in.wms2
+MODULE:    r.in.wms
 
 AUTHOR(S): Stepan Turek <stepan.turek AT seznam.cz>
 
@@ -137,7 +137,7 @@ This program is free software under the GNU General Public License
 
 import os
 import sys
-sys.path.insert(1, os.path.join(os.path.dirname(sys.path[0]), 'etc', 'r.in.wms2'))
+sys.path.insert(1, os.path.join(os.path.dirname(sys.path[0]), 'etc', 'r.in.wms'))
 
 import grass.script as grass