[GRASS-user] Identifying Why Vector Map Lables Do Not Display [FIXED]

Moritz Lennert mlennert at club.worldonline.be
Tue May 29 06:17:07 PDT 2012


On 29/05/12 14:58, Rich Shepard wrote:
> On Tue, 29 May 2012, Moritz Lennert wrote:
>
>> You have to display the centroids to be able to see labels, i.e.
>
> Moritz,
>
> You lead me to the solution. There is one default choice that must be
> maintained (the centroid checkbox on the Selections tab) and one
> non-default
> that needs to be selected: the the 'Display category number of features' on
> the Required tab. I had consistently left the centroids selected for
> display, but on the Required tab had checked the 'Display selected
> attribute
> from attrcol' box rather than the 'Display category number of features'
> box.
>
> Because the category numbers column appears on the Labels tab as a choice
> for display I interpreted it as an attribute column and missed the
> second-from-the-top choice on the Required tab.


Well, actually, it should work both ways, i.e. with the

d.vect census_wake2000 display=shape,attr 
type=point,line,boundary,area,face,centroid attrcol=cat

d.vect census_wake2000 display=shape,cat 
type=point,line,boundary,area,face,centroid

should give the same result (assuming that all features that have a 
category value have a corresponding entry in the cat column of the 
attribute table).

Note that in grass7.0 the use of centroids is not necessary anymore.

Moritz


More information about the grass-user mailing list