Forwarding to dev-list in case someone wants to react. Summary: in vector area maps, labels are only displayed when centroids are also displayed.

Proposal: automatically display centroids, when attribute label option is activated.


Moritz

-------- Original Message --------
Subject: Re: [GRASS-user] vector layer labelling doesn't work....
Date: Fri, 08 Aug 2008 17:46:04 +0200
From: Moritz Lennert <[EMAIL PROTECTED]>
To: G. Allegri <[EMAIL PROTECTED]>
CC: grassuser <[EMAIL PROTECTED]>

On 08/08/08 17:34, G. Allegri wrote:
If I'm not wrong centroids were set on by default. I didn't make this
"mistake" before, but I've used labeling lot of times.

I mean, in some previous versions...


see http://lists.osgeo.org/pipermail/grass-dev/2007-February/028873.html
and following, notably
http://lists.osgeo.org/pipermail/grass-dev/2007-February/028908.html

So, it's been off since 1 1/2 year, at least in trunk...

But, to come back to the labelling issues, AFAICT, all it would take is
this:

Index: display/d.vect/main.c
===================================================================
--- display/d.vect/main.c       (révision 32646)
+++ display/d.vect/main.c       (copie de travail)
@@ -565,6 +565,7 @@
            break;
        case 'a':
            display |= DISP_ATTR;
+           type |= GV_CENTROID;
            break;
        case 'z':
            display |= DISP_ZCOOR;


Martin, are you really against this ? Anyone else ? Otherwise, I would
commit.

Moritz





_______________________________________________
grass-user mailing list
[EMAIL PROTECTED]
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to