[GRASS5] [bug #3593] (grass) ps.map: placement by map percentage
mlennert at club.worldonline.be
Wed Aug 31 10:25:05 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
>>this bug's URL: http://intevation.de/rt/webrt?serial_num=3593
>>Subject: ps.map: placement by map percentage is off
>>GRASS Version: cvs20050830
>>Using the the below ps.map instruction set (trying to mirror the
>>legend created in d.vect.thematic), I get a weird result as can be
>>seen in http://moritz.homelinux.org/misc/leg.ps.
>>When using pstoedit to transform the file into skencil format, it
>>becomes obvious that the placement by percentage seems to have some
>>sort of cumulative effect:
>>"Value range", "Mapped by ...", and "Color" (and to a certain extent
>>the rectangle) all should start at exactly the same x-value. If you
>>look into the ps-file they actually seem to have the same
>>*********ps.map instructions file***********
>>text 1% 95% Thematic map legend for column findic of map molenbeek
>>text 4% 90% Value range: 0.000000 - 21642.000000
>>text 4% 87% Mapped by 8 intervals of 2705.25
>>text 4% 83% Color
>>text 14% 83% Value
>>text 4% 80% ====
>>text 14% 80% ============
>>rectangle 5% 78% 8% 75%
>> color black
>> fcolor white
>>text 14% 76% 0 - 2705.25
> Default reference point is centered on the point, try:
> text x% y% Some text
> ref bottom left
This solves it, thank you !
> The bug is that the man page doesn't say what the default placement is.
> This should be double-checked and added to the help page before this bug
> is closed. Setting priority low.
I've added a sentence to the man page. In my opinion, the bug can be
closed, but I don't have access to the bug tracker to do so, I think.
> also try the vlegend instruction.
I did, and it gives a nice legend in terms of colors, next to the
colors it just repeats the map and mapset names. I haven't found a
way to make it use the class limits included in the where statements
of each varea command (don't know if it is really realistic to think
that ps.map could handle this automatically...)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the grass-dev