Tue, Aug 30 2005
16:21:45
|
|
Request created by guest
|
|
Subject: ps.map: placement by map percentage is off
Platform: GNU/Linux/i386
grass obtained from: CVS
grass binary for platform: Compiled from Sources
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:
http://moritz.homelinux.org/misc/leg_in_skencil.png
"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 x-coordinate...
Moritz
*********ps.map instructions file***********
paper a4
end
text 1% 95% Thematic map legend for column findic of map molenbeek
end
text 4% 90% Value range: 0.000000 - 21642.000000
end
text 4% 87% Mapped by 8 intervals of 2705.25
end
text 4% 83% Color
end
text 14% 83% Value
end
text 4% 80% ====
end
text 14% 80% ============
end
rectangle 5% 78% 8% 75%
color black
fcolor white
end
text 14% 76% 0 - 2705.25
end
end |
|
Wed, Aug 31 2005
01:50:47
|
|
Mail sent by hamish_nospam@yahoo.com
|
|
Return-Path |
<hamish_nospam@yahoo.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Wed, 31 Aug 2005 11:50:30 +1200
|
From |
Hamish <hamish_nospam@yahoo.com>
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #3593] (grass) ps.map: placement by map percentage is off
|
Message-Id |
<20050831115030.3c98ce7e.hamish_nospam@yahoo.com>
|
In-Reply-To |
<20050830142145.5CA171005AF@lists.intevation.de>
|
References |
<20050830142145.5CA171005AF@lists.intevation.de>
|
X-Mailer |
Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
|
X-Face |
M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=US-ASCII
|
Content-Transfer-Encoding |
7bit
|
X-Spam-Status |
No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
|
X-Spam-Level |
|
> 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:
>
> http://moritz.homelinux.org/misc/leg_in_skencil.png
>
> "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
> x-coordinate...
>
> Moritz
>
> *********ps.map instructions file***********
>
> paper a4
> end
> text 1% 95% Thematic map legend for column findic of map molenbeek
> end
> text 4% 90% Value range: 0.000000 - 21642.000000
> end
> text 4% 87% Mapped by 8 intervals of 2705.25
> end
> text 4% 83% Color
> end
> text 14% 83% Value
> end
> text 4% 80% ====
> end
> text 14% 80% ============
> end
> rectangle 5% 78% 8% 75%
> color black
> fcolor white
> end
> text 14% 76% 0 - 2705.25
> end
>
> end
Default reference point is centered on the point, try:
text x% y% Some text
ref bottom left
end
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.
also try the vlegend instruction.
Hamish
|
|
Wed, Aug 31 2005
01:51:22
|
|
Priority changed to 10 by hbowman
|
|
Wed, Aug 31 2005
17:07:06
|
|
Mail sent by mlennert@club.worldonline.be
|
|
Return-Path |
<mlennert@club.worldonline.be>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<4315BDC1.7010806@club.worldonline.be>
|
Date |
Wed, 31 Aug 2005 16:25:05 +0200
|
From |
Moritz Lennert <mlennert@club.worldonline.be>
|
User-Agent |
Debian Thunderbird 1.0.2 (X11/20050602)
|
X-Accept-Language |
en-us, en
|
MIME-Version |
1.0
|
To |
Hamish <hamish_nospam@yahoo.com>
|
Cc |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #3593] (grass) ps.map: placement by map percentage is off
|
References |
<20050830142145.5CA171005AF@lists.intevation.de> <20050831115030.3c98ce7e.hamish_nospam@yahoo.com>
|
In-Reply-To |
<20050831115030.3c98ce7e.hamish_nospam@yahoo.com>
|
X-Enigmail-Version |
0.91.0.0
|
Content-Type |
text/plain; charset=ISO-8859-1
|
Content-Transfer-Encoding |
7bit
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hamish wrote:
>>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:
>>
>>http://moritz.homelinux.org/misc/leg_in_skencil.png
>>
>>"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
>>x-coordinate...
>>
>>Moritz
>>
>>*********ps.map instructions file***********
>>
>>paper a4
>>end
>>text 1% 95% Thematic map legend for column findic of map molenbeek
>>end
>>text 4% 90% Value range: 0.000000 - 21642.000000
>>end
>>text 4% 87% Mapped by 8 intervals of 2705.25
>>end
>>text 4% 83% Color
>>end
>>text 14% 83% Value
>>end
>>text 4% 80% ====
>>end
>>text 14% 80% ============
>>end
>>rectangle 5% 78% 8% 75%
>> color black
>> fcolor white
>>end
>>text 14% 76% 0 - 2705.25
>>end
>>
>>end
>
>
>
> Default reference point is centered on the point, try:
>
> text x% y% Some text
> ref bottom left
> end
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...)
Moritz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDFb3ArIrMbm76jD8RAnuwAJ0ecUC9drpasjBfDtKjVOB8epnTbQCfThoa
bQYJMUFrUONEphAdEkncn8Y=
=qlUy
-----END PGP SIGNATURE-----
|
|
Wed, Aug 31 2005
17:21:31
|
|
Mail sent by mlennert@club.worldonline.be
|
|
Return-Path |
<mlennert@club.worldonline.be>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<4315BDC1.7010806@club.worldonline.be>
|
Date |
Wed, 31 Aug 2005 16:25:05 +0200
|
From |
Moritz Lennert <mlennert@club.worldonline.be>
|
User-Agent |
Debian Thunderbird 1.0.2 (X11/20050602)
|
X-Accept-Language |
en-us, en
|
MIME-Version |
1.0
|
To |
Hamish <hamish_nospam@yahoo.com>
|
Cc |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #3593] (grass) ps.map: placement by map percentage is off
|
References |
<20050830142145.5CA171005AF@lists.intevation.de> <20050831115030.3c98ce7e.hamish_nospam@yahoo.com>
|
In-Reply-To |
<20050831115030.3c98ce7e.hamish_nospam@yahoo.com>
|
X-Enigmail-Version |
0.91.0.0
|
Content-Type |
text/plain; charset=ISO-8859-1
|
Content-Transfer-Encoding |
7bit
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hamish wrote:
>>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:
>>
>>http://moritz.homelinux.org/misc/leg_in_skencil.png
>>
>>"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
>>x-coordinate...
>>
>>Moritz
>>
>>*********ps.map instructions file***********
>>
>>paper a4
>>end
>>text 1% 95% Thematic map legend for column findic of map molenbeek
>>end
>>text 4% 90% Value range: 0.000000 - 21642.000000
>>end
>>text 4% 87% Mapped by 8 intervals of 2705.25
>>end
>>text 4% 83% Color
>>end
>>text 14% 83% Value
>>end
>>text 4% 80% ====
>>end
>>text 14% 80% ============
>>end
>>rectangle 5% 78% 8% 75%
>> color black
>> fcolor white
>>end
>>text 14% 76% 0 - 2705.25
>>end
>>
>>end
>
>
>
> Default reference point is centered on the point, try:
>
> text x% y% Some text
> ref bottom left
> end
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...)
Moritz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDFb3ArIrMbm76jD8RAnuwAJ0ecUC9drpasjBfDtKjVOB8epnTbQCfThoa
bQYJMUFrUONEphAdEkncn8Y=
=qlUy
-----END PGP SIGNATURE-----
|
|
Thu, Sep 1 2005
02:00:54
|
|
Status changed to resolved by hbowman
|
|