12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <h2>DESCRIPTION</h2>
- <em>v.in.wfs</em> imports OGC WFS maps (Web Feature Service) from
- external servers.
- <h2>EXAMPLES</h2>
- Import of GRASS user map:
- <p><div class="code"><pre>
- # run in LatLong location:
- v.in.wfs url="http://mapserver.gdf-hannover.de/cgi-bin/grassuserwfs?" output=grass_users
- v.db.select grass_users where="name ~ 'Markus'"
- </pre></div>
- <p>
- Download 25 ship wrecks from LINZ data service:
- <br>
- (first create yourself a free API key at
- <a href="http://data.linz.govt.nz/p/web-services/">http://data.linz.govt.nz/p/web-services/</a>)
- <p>
- <div class="code"><pre>
- # run in LatLong location:
- URL='http://wfs.data.linz.govt.nz/<PUT YOUR API KEY HERE>/wfs?'
- # download available layers to wms_capabilities.xml
- v.in.wfs -l url="$URL"
- </pre></div>
- From that file we learn that the shipwreck layer is called "<tt>v:x633</tt>"
- and that EPSG code 4326 (LatLong WGS84) is a supported SRS for this data layer.
- <div class="code"><pre>
- v.in.wfs url="$URL" output=linz_hydro_25_wrecks name="v:x633" srs="EPSG:4326" max=25
- </pre></div>
- <h2>REQUIREMENTS</h2>
- The OGR library on the system needs to be compiled with Xerces C++ XML
- Parser support (for GML).
- <h2>SEE ALSO</h2>
- <em>
- <a href="g.region.html">g.region</a>,
- <a href="r.in.wms.html">r.in.wms</a>,
- <a href="v.in.ogr.html">v.in.ogr</a>
- </em>
- <h2>AUTHORS</h2>
- Markus Neteler, Hamish Bowman
- <p>
- <i>Last changed: $Date$</i>
|