3
<em>v.out.svg</em> converts GRASS vector data to SVG (Scalable Vector Graphics) code notation.
6
<li>converts GRASS line, boundary, area, point, centroid objects to SVG
7
<path />, <circle /> elements,</li>
8
<li>reduces coordinate precision in SVG-output to save bandwidth,</li>
9
<li>extracts GRASS attributes to gg:name="value" attributes.</li>
12
The <em>precision</em> parameter controls the number of decimals for coordinates
13
output (<em>precision=0</em> corresponds to integer precision in the output SVG file).
17
<p>Export <b>polygons</b> from GRASS vector map soils (Spearfish sample data) to SVG format:
18
<div class="code"><pre>
19
v.out.svg input=soils output=/tmp/output.svg type=poly
22
<p>Export <b>lines</b> from GRASS vector map t_hydro (Spearfish sample
23
data) to SVG format, set coordinate precision to 0:
24
<div class="code"><pre>
25
v.out.svg input=t_hydro output=/tmp/output.svg type=line precision=0
28
<p>Export <b>points</b> from GRASS vector map archsites (Spearfish sample
29
data) to SVG format, include attribute <b>str1</b> (name):
30
<div class="code"><pre>
31
v.out.svg input=archsites output=/tmp/output.svg type=point precision=0 attrib=str1
36
<a href="http://svg.cc/grass/index.html">Modul v.out.svg at svg.cc</a>
38
<a href="http://www.w3.org/Graphics/SVG/">SVG (Scalable Vector Graphics) at w3c.org</a>
43
<em><a href="v.out.ogr.html">v.out.ogr</a></em>
47
Klaus Foerster (klaus svg.cc), Innsbruck, Austria
49
<p><i>Last changed: $Date: 2011-11-08 13:24:20 -0800 (Tue, 08 Nov 2011) $</i>