1v.out.svg(1) Grass User's Manual v.out.svg(1)
2
3
4
6 v.out.svg - Exports a vector map to SVG file.
7
9 vector, export
10
12 v.out.svg
13 v.out.svg --help
14 v.out.svg input=name [layer=string] output=name type=string [preci‐
15 sion=integer] [attribute=name[,name,...]] [--overwrite] [--help]
16 [--verbose] [--quiet] [--ui]
17
18 Flags:
19 --overwrite
20 Allow output files to overwrite existing files
21
22 --help
23 Print usage summary
24
25 --verbose
26 Verbose module output
27
28 --quiet
29 Quiet module output
30
31 --ui
32 Force launching GUI dialog
33
34 Parameters:
35 input=name [required]
36 Name of input vector map
37 Or data source for direct OGR access
38
39 layer=string
40 Layer number or name (’-1’ for all layers)
41 A single vector map can be connected to multiple database tables.
42 This number determines which table to use. When used with direct
43 OGR access this is the layer name.
44 Default: -1
45
46 output=name [required]
47 Name for SVG output file
48
49 type=string [required]
50 Output type
51 Defines which feature-type will be extracted
52 Options: poly, line, point
53 Default: poly
54
55 precision=integer
56 Coordinate precision
57 Default: 6
58
59 attribute=name[,name,...]
60 Attribute(s) to include in output SVG
61
63 v.out.svg converts GRASS vector data to SVG (Scalable Vector Graphics)
64 code notation. In particular, it
65
66 · converts GRASS line, boundary, area, point, centroid objects to
67 SVG <path />, <circle /> elements,
68
69 · reduces coordinate precision in SVG-output to save bandwidth,
70
71 · extracts GRASS attributes to gg:name="value" attributes.
72 The precision parameter controls the number of decimals for coordinates
73 output (precision=0 corresponds to integer precision in the output SVG
74 file).
75
77 Export polygons from GRASS vector map soils (Spearfish sample data) to
78 SVG format:
79 v.out.svg input=soils output=/tmp/output.svg type=poly
80
81 Export lines from GRASS vector map t_hydro (Spearfish sample data) to
82 SVG format, set coordinate precision to 0:
83 v.out.svg input=t_hydro output=/tmp/output.svg type=line precision=0
84
85 Export points from GRASS vector map archsites (Spearfish sample data)
86 to SVG format, include attribute str1 (name):
87 v.out.svg input=archsites output=/tmp/output.svg type=point precision=0 attrib=str1
88
90 Modul v.out.svg at svg.cc
91 SVG (Scalable Vector Graphics) at w3c.org
92
94 v.out.ogr
95
97 Klaus Foerster (klaus svg.cc), Innsbruck, Austria
98
99 Last changed: $Date: 2011-11-08 22:24:20 +0100 (Tue, 08 Nov 2011) $
100
102 Available at: v.out.svg source code (history)
103
104 Main index | Vector index | Topics index | Keywords index | Graphical
105 index | Full index
106
107 © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
108
109
110
111GRASS 7.4.4 v.out.svg(1)