[GRASS-user] generate polygon from lines
Hamish
hamish_nospam at yahoo.com
Mon Aug 28 06:14:56 EDT 2006
Craig Feuerherdt wrote:
> I have a vector layer that contains lines which define a polygon.
> I have attempted to build a polygon from the layer but have not had
> much luck.
...
> Number of nodes : 238
> Number of primitives: 234
> Number of points : 0
> Number of lines : 234
> Number of boundaries: 0
> Number of centroids : 0
> Number of areas : -
> Number of isles : -
In GRASS-land boundaries + centroids make polygons, so convert lines to
boundaries with v.type and add centroids with "v.category option=add".
If it still doesn't work check with v.digit that all your nodes are
snapped (green "x"s instead of red ones).
Hamish
More information about the grass-user
mailing list