![]() |
![]()
| ![]() |
![]()
NAMEv.in.wfs - Imports GetFeature from a WFS server. KEYWORDSvector, import, OGC web services, OGC WFS SYNOPSISv.in.wfs
Flags:
Parameters:
DESCRIPTIONv.in.wfs imports OGC WFS maps (Web Feature Service) from external servers. EXAMPLESWFS import without credentialsImport of Copernicus Sentinel-2 satellite scene footprints: # run in Latitude-Longitude project (EPGS code 4326): # download "sentinel:mgrs" layer: v.in.wfs url="https://geoserver.mundialis.de/geoserver/sentinel/wfs?" name="sentinel:mgrs" output=sentinel2_mgrs # download NRW ALKIS "ave:Flurstueck" attribute: # set the AOI beforehand with g.region and limit import to current region with -r flag v.in.wfs url="https://www.wfs.nrw.de/geobasis/wfs_nw_alkis_vereinfacht?" -r output=wfs_alkis_vereinfacht srs=25832 name="ave:Flurstueck" version="2.0.0" layer="Flurstueck" WFS import with API keyDownload 25 ship wrecks from LINZ data service:
# run in LatLong project: URL=’http://wfs.data.linz.govt.nz/<PUT YOUR API KEY HERE>/wfs?’ # download list of available layers to wms_capabilities.xml v.in.wfs -l url="$URL"From that file we learn that the shipwreck layer is called "v:x633" and that EPSG code 4326 (LatLong WGS84) is a supported SRS for this data layer. v.in.wfs url="$URL" output=linz_hydro_25_wrecks name="v:x633" srs="EPSG:4326" max=25 REQUIREMENTSThe OGR library on the system needs to be compiled with Xerces C++ XML Parser support (for GML). SEE ALSOg.region, r.in.wms, v.import, v.in.ogr AUTHORSMarkus Neteler, Hamish Bowman SOURCE CODEAvailable at: v.in.wfs source code (history) Latest change: Tuesday Dec 17 20:17:20 2024 in commit: d962e90c026708a4815ea2b9f46c0e84c17de22d Main index | Vector index | Topics index | Keywords index | Graphical index | Full index © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
|