1v.in.gns(1) Grass User's Manual v.in.gns(1)
2
3
4
6 v.in.gns - Imports US-NGA GEOnet Names Server (GNS) country files into
7 a GRASS vector points map.
8
10 vector, import, gazetteer
11
13 v.in.gns
14 v.in.gns help
15 v.in.gns file=string [vect=string] [--overwrite] [--verbose]
16 [--quiet]
17
18 Flags:
19 --overwrite
20 Allow output files to overwrite existing files
21
22 --verbose
23 Verbose module output
24
25 --quiet
26 Quiet module output
27
28 Parameters:
29 file=string
30 Uncompressed GNS file from NGA (with .txt extension)
31
32 vect=string
33 Name for output vector map
34
36 v.in.gns imports US-NGA GEOnet Names Server (GNS) country files
37 (Gazetteer data) into a GRASS vector points map. The country files can
38 be downloaded from the NGA GNS Web Server (see below). The script gen‐
39 erates a vector point map. Only original files can be processed (unzip
40 compressed file first). These GNS files are encoded in UTF-8 which is
41 maintained in the GRASS database.
42
44 The current DB connection is used to write the database table.
45
46 Generally, column names longer that 10 characters are shortened to 10
47 characters to meet the DBF column name restrictions.
48
49 To filter outliers (points outside of a country), the v.select module
50 can be used to perform point-in-polygon tests. v.select saves only the
51 GNS points falling into a country polygon into the new points map.
52
54 db.connect, v.select
55
57 GEOnet Names Server files for countries and territories
58 Column names explanations
59
61 Markus Neteler, MPBA Group, ITC-irst
62
63 Last changed: $Date: 2007-07-09 16:05:01 +0200 (Mon, 09 Jul 2007) $
64
65 Full index
66
67 © 2003-2008 GRASS Development Team
68
69
70
71GRASS 6.3.0 v.in.gns(1)