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

Rei Hayashi rei.grass at gmail.com
Mon Jul 7 21:12:14 EDT 2008


Hi Moritz and Hamish,

Thank you for your quick response.  Now, I think I got an idea of
v.label and d.labels in the GRASS.  Now, I am struggling to export the
map with appropriate size of labels in TIFF or PNG format.

Rei Hayashi

On Fri, Jul 4, 2008 at 8:32 AM, Hamish <hamish_b at yahoo.com> wrote:
> Rei Hayashi:
>> 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.
>
> -what version of GRASS?
> -displayed with d.labels, gis.m GUI, or ps.map?
> -does the $MAPSET/paint/labels/$NAME text file look ok?
> -spearfish or NC dataset example?
> -"works for me"
>
>
>> 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= option is scale dependent, change the zoom, the text size changes.
> fontsize= is fixed.
>
>
> Hamish
>
>
>
>
>


More information about the grass-user mailing list