<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>GRASS GIS: v.split</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="grassdocs.css" type="text/css"> </head> <body bgcolor="white"> <img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade> <h2>NAME</h2> <em><b>v.split</b></em> - Split lines to shorter segments. <h2>KEYWORDS</h2> vector, geometry <h2>SYNOPSIS</h2> <b>v.split</b><br> <b>v.split help</b><br> <b>v.split</b> <b>input</b>=<em>name</em> <b>output</b>=<em>name</em> [<b>length</b>=<em>float</em>] [<b>vertices</b>=<em>integer</em>] [--<b>overwrite</b>] [--<b>verbose</b>] [--<b>quiet</b>] <h3>Flags:</h3> <DL> <DT><b>--overwrite</b></DT> <DD>Allow output files to overwrite existing files</DD> <DT><b>--verbose</b></DT> <DD>Verbose module output</DD> <DT><b>--quiet</b></DT> <DD>Quiet module output</DD> </DL> <h3>Parameters:</h3> <DL> <DT><b>input</b>=<em>name</em></DT> <DD>Name of input vector map</DD> <DT><b>output</b>=<em>name</em></DT> <DD>Name for output vector map</DD> <DT><b>length</b>=<em>float</em></DT> <DD>Maximum segment length.</DD> <DT><b>vertices</b>=<em>integer</em></DT> <DD>Maximum number of vertices in segment.</DD> </DL> <h2>DESCRIPTION</h2> <em>v.split</em> split vector lines into shorter segments using a maximal distance between nodes. <h2>EXAMPLE</h2> Spearfish location: <div class="code"><pre> # insert kilometric nodes to railroad map: v.extract railroads out=myrr list=1 # join segments into polyline v.build.polylines myrr out=myrr_pol v.category myrr out=myrailroads option=add # show line, category, direction (to find the beginning) d.vect myrailroads disp=shape,cat,dir # insert nodes at 1000m distance (max) v.split railroads out=myrailroads_split length=1000 d.vect myrailroads_split disp=shape,topo </pre></div> <h2>SEE ALSO</h2> <em> <a href="v.build.polylines.html">v.build.polylines</a>, <a href="v.segment.html">v.segment</a> </em> <h2>AUTHOR</h2> Radim Blazek <p><i>Last changed: $Date: 2007-05-01 12:32:53 +0200 (Tue, 01 May 2007) $</i> <HR> <P><a href="index.html">Main index</a> - <a href="vector.html">vector index</a> - <a href="full_index.html">Full index</a></P> <P>© 2003-2008 <a href="http://grass.osgeo.org">GRASS Development Team</a></p> </body> </html>