[GRASS5] GRASS57 v.label size type

Alessandro Frigeri afrigeri at email.it
Mon Jan 19 13:32:12 EST 2004


Hello,

Working in a latlon dataset I noticed that v.label's size 1 (range
1-1000) produces huge ps.map labels in small areas (since label's size is in map
units).

Changing the type from TYPE_INTEGER to TYPE_DOUBLE all works flawlessy
and I'm able to give e.g. 0.1 as label size that output correctly in
ps.map output.

Here's the cvs diff:

Index: main.c
===================================================================
RCS file: /home/grass/grassrepository/grass51/vector/v.label/main.c,v
retrieving revision 1.2
diff -r1.2 main.c
111c111
<     Size->type = TYPE_INTEGER;
---
>     Size->type = TYPE_DOUBLE;
113c113
<     Size->options = "1-1000";
---
>     /*Size->options = "1-1000";*/

Hope it helps.

Cheers

Alessandro


-- 
Alessandro Frigeri
echo '>ti.liame at iregirfa<' | rev




More information about the grass-dev mailing list