I&#39;ve attached the myvect and myvect_smooth files.<br><br>Thanks for the help!!<br><br><br><div class="gmail_quote">On Dec 14, 2007 4:53 PM, Moritz Lennert &lt;<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be
</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On 14/12/07 15:37, Andre Hauptfleisch wrote:<br>&gt; I&#39;ll try to upload the vector layer I used to an ftp site. What would
<br>&gt; the best output format be? DXF?<br><br></div>You can just use the output of v.out.ascii. If the file is not too<br>large, you can zip the output and send it to me directly.<br><br>Moritz<br><div class="Ih2E3d"><br>
&gt;<br>&gt;<br>&gt; On Dec 14, 2007 4:13 PM, Moritz Lennert &lt; <a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a><br></div><div><div></div><div class="Wj3C7c">&gt; &lt;mailto:<a href="mailto:mlennert@club.worldonline.be">
mlennert@club.worldonline.be</a>&gt;&gt; wrote:<br>&gt;<br>&gt; &nbsp; &nbsp; On 14/12/07 14:48, Andre Hauptfleisch wrote:<br>&gt; &nbsp; &nbsp; &nbsp;&gt; Good day guys,<br>&gt; &nbsp; &nbsp; &nbsp;&gt;<br>&gt; &nbsp; &nbsp; &nbsp;&gt; I came across a problem in the v.generalize
 module. I do the<br>&gt; &nbsp; &nbsp; following:<br>&gt; &nbsp; &nbsp; &nbsp;&gt; v.generalize input=myvect@test output=myvect_smooth type=line<br>&gt; &nbsp; &nbsp; &nbsp;&gt; method=hermite threshold=10<br>&gt; &nbsp; &nbsp; &nbsp;&gt;<br>&gt; &nbsp; &nbsp; &nbsp;&gt; I then do a v.out.svg
 and noticed the following line in the svg file:<br>&gt; &nbsp; &nbsp; &nbsp;&gt; &lt;path gg:cat=&quot;31&quot; d=&quot;M 111.500000 -80.500000 l 8.734748 4.771559<br>&gt; &nbsp; &nbsp; &nbsp;&gt; 9.907176 6.337565 nan nan nan nan nan nan nan nan nan nan&quot; /&gt;
<br>&gt; &nbsp; &nbsp; &nbsp;&gt;<br>&gt; &nbsp; &nbsp; &nbsp;&gt; Any idea how I can get rid of those nan&#39;s? They cause stuff such as<br>&gt; &nbsp; &nbsp; &nbsp;&gt; v.to.rast to hang.<br>&gt;<br>&gt; &nbsp; &nbsp; I cannot reproduce this with the speafish60 dataset:<br>
&gt;<br>&gt; &nbsp; &nbsp; v.out.svg input=roads@PERMANENT output=roads type=line precision=6<br>&gt; &nbsp; &nbsp; layer=1<br>&gt;<br>&gt; &nbsp; &nbsp; and<br>&gt;<br>&gt; &nbsp; &nbsp; v.generalize input=roads@PERMANENT output=roads_smooth type=line<br>&gt; &nbsp; &nbsp; method=hermite threshold=10 look_ahead=7 reduction=50 slide=
0.5<br>&gt; &nbsp; &nbsp; angle_thresh=3 degree_thresh=0 closeness_thresh=0 betweeness_thresh=0<br>&gt; &nbsp; &nbsp; alpha=1.0 beta=1.0 iterations=1 layer=1<br>&gt;<br>&gt; &nbsp; &nbsp; v.out.svg input=roads_smooth@user1 output=roads_smooth type=line
<br>&gt; &nbsp; &nbsp; precision=6 layer=1<br>&gt;<br>&gt; &nbsp; &nbsp; Both give me svg files without nan&#39;s.<br>&gt;<br>&gt; &nbsp; &nbsp; Can you reproduce this with spearfish data ? Can you look at the line<br>&gt; &nbsp; &nbsp; with cat=31 in your grass vector (maybe in 
v.digit) and see if there is<br>&gt; &nbsp; &nbsp; anything abnormal about it ?<br>&gt;<br>&gt; &nbsp; &nbsp; Moritz<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Groete,<br>&gt; Andre Hauptfleisch<br>&gt;<br>&gt; M: 082 5722 469<br>&gt; F: 086 687 1106
<br></div></div>&gt; E: <a href="mailto:ahaupt@gmail.com">ahaupt@gmail.com</a> &lt;mailto:<a href="mailto:ahaupt@gmail.com">ahaupt@gmail.com</a>&gt;<br><br></blockquote></div><br><br clear="all"><br>-- <br>Groete,<br>Andre Hauptfleisch
<br><br>M: 082 5722 469<br>F: 086 687 1106<br>E: <a href="mailto:ahaupt@gmail.com">ahaupt@gmail.com</a>