1v.in.wfs(1)                   Grass User's Manual                  v.in.wfs(1)
2
3
4

NAME

6       v.in.wfs  - Imports GetFeature from a WFS server.
7

KEYWORDS

9       vector, import, OGC web services, OGC WFS
10

SYNOPSIS

12       v.in.wfs
13       v.in.wfs --help
14       v.in.wfs   [-lr]   url=string  output=name   [name=string[,string,...]]
15       [srs=string]      [maximum_features=integer]      [start_index=integer]
16       [--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]
17
18   Flags:
19       -l
20           Download  server capabilities to ’wms_capabilities.xml’ in the cur‐
21           rent directory and exit
22
23       -r
24           Restrict fetch to features which touch the current region
25
26       --overwrite
27           Allow output files to overwrite existing files
28
29       --help
30           Print usage summary
31
32       --verbose
33           Verbose module output
34
35       --quiet
36           Quiet module output
37
38       --ui
39           Force launching GUI dialog
40
41   Parameters:
42       url=string [required]
43           Base URL starting with ’http’ and ending in ’?’
44
45       output=name [required]
46           Name for output vector map
47
48       name=string[,string,...]
49           Comma separated names of data layers to download
50
51       srs=string
52           Specify alternate spatial reference system (example: EPSG:4326)
53           The given code must be supported by the server, consult  the  capa‐
54           bilities file
55
56       maximum_features=integer
57           Maximum number of features to download
58           (default: unlimited)
59
60       start_index=integer
61           Skip earlier feature IDs and start downloading at this one
62           (default: start with the first feature)
63

DESCRIPTION

65       v.in.wfs  imports  OGC  WFS  maps  (Web  Feature Service) from external
66       servers.
67

EXAMPLES

69       Import of world cities with population > 1 million:
70
71       # run in Latitude-Longitude location (EPGS code 4326):
72       # download geonam_gt1M layer:
73       v.in.wfs \
74         url="http://mapserver.flightgear.org/ms?Service=WFS&request=GetFeature&version=1.0.0" \
75         name=geonam_gt1M output=geonam_gt1M
76
77       Download 25 ship wrecks from LINZ data service:
78       (first     create     yourself     a     free      API      key      at
79       http://data.linz.govt.nz/p/web-services/)
80
81       # run in LatLong location:
82       URL=’http://wfs.data.linz.govt.nz/<PUT YOUR API KEY HERE>/wfs?’
83       # download available layers to wms_capabilities.xml
84       v.in.wfs -l url="$URL"
85       From that file we learn that the shipwreck layer is called "v:x633" and
86       that EPSG code 4326 (LatLong WGS84) is a supported SRS  for  this  data
87       layer.
88       v.in.wfs url="$URL" output=linz_hydro_25_wrecks name="v:x633" srs="EPSG:4326" max=25
89

REQUIREMENTS

91       The  OGR library on the system needs to be compiled with Xerces C++ XML
92       Parser support (for GML).
93

SEE ALSO

95        g.region, r.in.wms, v.in.ogr
96

AUTHORS

98       Markus Neteler, Hamish Bowman
99

SOURCE CODE

101       Available at: v.in.wfs source code (history)
102
103       Main index | Vector index | Topics index | Keywords index  |  Graphical
104       index | Full index
105
106       © 2003-2019 GRASS Development Team, GRASS GIS 7.8.2 Reference Manual
107
108
109
110GRASS 7.8.2                                                        v.in.wfs(1)
Impressum