I attempted what Hamish suggested ie<br><br>&gt; as per newly arrived message on the mailing list, try that step again (v.category) with type=area instead of type=centroid.<br><br>however I am still unable to generate a polygon. I have checked that all the intersections are broken and that there are no 'undershoots' using 
v.digit<br><br>Thanks in advance.<br><br>Craig<br><br>---------- Forwarded message ----------<br><span class="gmail_quote"><br></span><div>Hamish,<br><br>thanks for the response.<br>I have tried what you suggested but without much luck :( - no doubt due to my newbie grass status and my mind being tainted by arcinfo methodology!
<br>I have attached the shapefile for you to look at and to make sure that you can get it to work (hope you don't mind). The lines have been 'selected' from other layers (ie roads, rivers) hence the reason there are 'dangles'.
<br><br>My methodology thus far;<br>- import shapefile using v.in.ogr<br>- v.clean input=bnd output=bnd_break type=line tool=break (to break lines that intersect)<br>- v.type input=bnd_break output=bnd_poly type=line,boundary 
<br>- v.category input=bnd_poly output=bnd_poly2 type=centroid option=add (to add a centroid)<br>- v.build map=bnd_poly2 error=err<br><br>My map is still a line :(<br></div><div><span class="sg"><br><br>Craig</span></div>
<div><span class="e" id="q_10d5734cb5eaf7a6_2"><br><br><div><span class="gmail_quote">On 8/28/06, 
<b class="gmail_sendername">Hamish</b> &lt;<a href="mailto:hamish_nospam@yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hamish_nospam@yahoo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Craig Feuerherdt wrote:<br>&gt; I have a vector layer that contains lines which define a polygon.<br>&gt; I have attempted to build a polygon from the layer but have not had<br>&gt; much luck.<br>...<br>&gt; Number of nodes&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp; 238
<br>&gt; Number of primitives:&nbsp;&nbsp; 234<br>&gt; Number of points&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;&nbsp; 0<br>&gt; Number of lines&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp; 234<br>&gt; Number of boundaries:&nbsp;&nbsp; 0<br>&gt; Number of centroids :&nbsp;&nbsp; 0<br>&gt; Number of areas&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp; -<br>&gt; Number of isles&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp; -
<br><br><br>In GRASS-land boundaries + centroids make polygons, so convert lines to<br>boundaries with v.type and add centroids with &quot;v.category option=add&quot;.<br><br>If it still doesn't work check with v.digit that all your nodes are
<br>snapped (green &quot;x&quot;s instead of red ones).<br><br><br>Hamish<br></blockquote></div><br>

</span></div><br clear="all">