[GRASSLIST:3030] v.extract without centroids

Otto Dassau otto.dassau at gmx.de
Thu Mar 25 07:36:51 EST 2004


Dear list, 

I have two questions:

1) I imported an area shape with 6000 polygons in g57 and 
there are 2 centroids missing. How can I find these two 
centroids?

2) I used v.extract on this shape (with the 2 missing centroids). 
v.extract in=SHAPE out=SHAPE2 type=area where='AREAQM>1'.

The areas geometry is extracted correctly but now all without centroid. 
Is this because there were 2 missing in the beginning?

SHAPE
Number of nodes     :   12171
Number of primitives:   15470
Number of points    :   0
Number of lines     :   0
Number of boundaries:   10777
Number of centroids :   4693
Number of areas     :   4695
Number of isles     :   1396
Number of areas without centroid :   2
 
SHAPE2 after using v.extract:
Number of nodes     :   6602
Number of primitives:   7529
Number of points    :   0
Number of lines     :   0
Number of boundaries:   7529
Number of centroids :   0
Number of areas     :   2300
Number of isles     :   1373
Number of areas without centroid :   2300


 thanks for help
  Otto




More information about the grass-user mailing list