[GRASS-user] how to control label size (v.lable)?

Moritz Lennert mlennert at club.worldonline.be
Fri Jul 4 03:45:36 EDT 2008


On 03/07/08 20:33, Rei Hayashi wrote:
> Hello everyone,
> 
> I am using a v.label command (+ d.labels command) to present county
> names in the states' maps.  I have tried two slightly different
> commands.
> 
> 1)v.label map=XXX type=centroid column=YYY labels=ZZZ fontsize=5 color=red
> 2)v.label map=XXX type=centroid column=YYY labels=ZZZ size=5 color=red
> 
> Both commands resulted in presenting same label size.  Also, I run
> this commands for Alabama, Louisiana, Mississippi, New Mexico, Arizona
> and Oregon.  Somehow, the label size in Alabama and Louisiana are
> same, but bigger than the labels in the rest of states.  Also, I
> tested different fontsize and size (i.e. 20), but the result stayed
> same way that the label size is bigger in Alabama and Louisiana than
> other rest of the states.

size is in map units, so the actual display size will depend on scale 
(i.e. level of zoom), so displaying smaller states (with zoom to 
selected map) should give you bigger labels.

fontsize is in points and thus should not change with zoom level.

Moritz


More information about the grass-user mailing list