1v.out.svg(1)                  Grass User's Manual                 v.out.svg(1)
2
3
4

NAME

6       v.out.svg  - Exports a GRASS vector map to SVG.
7

KEYWORDS

9       vector, export
10

SYNOPSIS

12       v.out.svg
13       v.out.svg help
14       v.out.svg   input=name   output=name  type=string   [precision=integer]
15       [attribute=string[,string,...]]       [layer=integer]       [--verbose]
16       [--quiet]
17
18   Parameters:
19       input=name
20           Name of input vector map
21
22       output=name
23           Name for SVG output file
24
25       type=string
26           Output type
27           Defines which feature-type will be extracted
28           Options: poly,line,point
29           Default: poly
30
31       precision=integer
32           Coordinate precision
33           Default: 6
34
35       attribute=string[,string,...]
36           Attribute(s) to include in output SVG
37
38       layer=integer
39           Layer number
40           A  single  vector map can be connected to multiple database tables.
41           This number determines which table to use.
42           Default: 1
43

DESCRIPTION

45       v.out.svg converts GRASS vector data to SVG (Scalable Vector  Graphics)
46       code notation.  In particular, it
47
48                     converts  GRASS  line,  boundary,  area,  point, centroid
49                     objects to SVG ,  elements,
50
51                     reduces coordinate precision in SVG-output to save  band‐
52                     width,
53
54                     extracts GRASS attributes to gg:name="value" attributes.
55       The precision parameter controls the number of decimals for coordinates
56       output (precision=0 corresponds to integer precision in the output  SVG
57       file).
58

EXAMPLE

60       Export  polygons from GRASS vector map soils (Spearfish sample data) to
61       SVG format:
62       v.out.svg input=soils output=/tmp/output.svg type=poly
63
64
65       Export lines from GRASS vector map t_hydro (Spearfish sample  data)  to
66       SVG format, set coordinate precision to 0:
67       v.out.svg input=t_hydro output=/tmp/output.svg type=line precision=0
68
69
70       Export  points  from GRASS vector map archsites (Spearfish sample data)
71       to SVG format, include attribute str1 (name):
72       v.out.svg input=archsites output=/tmp/output.svg type=point precision=0
73       attrib=str1
74
75

REFERENCES

77       Modul v.out.svg at svg.cc
78       SVG (Scalable Vector Graphics) at w3c.org
79

SEE ALSO

81       v.out.ogr
82

AUTHOR

84       Klaus Foerster (klaus svg.cc), Innsbruck, Austria
85
86       Last changed: $Date: 2007-07-04 14:49:30 +0200 (Wed, 04 Jul 2007) $
87
88       Full index
89
90       © 2003-2008 GRASS Development Team
91
92
93
94GRASS 6.3.0                                                       v.out.svg(1)
Impressum