[GRASS-user] vector layer labelling doesn't work....

G. Allegri giohappy at gmail.com
Fri Aug 8 14:08:02 EDT 2008

> I would hesitate to add GV_CENTROID automatically when displaying
> labels. Attributes are connected to the primitives like points,
> centroids, lines or boundaries, not areas! In d.vect when you ask to
> display 'area', you ask for filling areas, nothing else. Labels are
> not connected to areas but to the centroids. So you basically cannot
> ask to display area labels. This should be explained in d.vect manual
> rather then changing the code. Just my opinion.

Yes, ok Martin. But that would be for "user-friendness". Conceptually,
with your logic, also d.what.vect should work only if a centroid is
clicked, not on the whole area...
Centroids are borned to make areas exist, so they're conceptually
strongly related, so it doesn't appear an error to me to consider
labels (attributes) directly related to areas... my two cents. I
repeat, just for "user-friendness"

More information about the grass-user mailing list