Tue, May 10 2005
23:23:21
|
|
Request created by guest
|
|
Subject: d.paint.labels uses wrong reference point
Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 5.3.0 (15 May 2004)
d.paint.labels does not use the second word in a two-word reference point name.
"upper right" is parsed just as "upper", "lower left" is parsed as "lower" and
so on. The problem is caused in the do_labels function when the input line containing
the reference point data is scanned using the format string "%*s %s". Only the
first of the two words in the reference point name is scanned.
If d.paint.labels uses other two-word data strings then those strings will probably
also be scanned incorrectly. ps.map scans the same input line correctly.
I modified my copy by:
1) replacing the sscanf call in do_labels with a function that returned a pointer
to the data in the input line or NULL if the data weren't found
2) passing that pointer to the scan_ref function
3) I also modified scan_ref do detect a NULL pointer in its input.
Roger Miller
Lee Wilson and Associates
|
|
Sat, Aug 20 2005
12:36:24
|
|
Mail sent by msieczka
|
|
Does this problem exist in Grass 5.4 as well or 5.5 (only CVS)? If so, could
you send over a patch?
Please "Reply to all" so I get a copy!
Best,
Maciek |
|
Tue, Sep 26 2006
17:55:11
|
|
Comments added by guest
|
|
Good Luck! http://xoomer.alice.it/pik0/poker-rooms/
|
|
Tue, Sep 26 2006
21:12:50
|
|
Comments added by guest
|
|
Cool design http://xoomer.alice.it/pik0/razz-poker/
|
|
Wed, Sep 27 2006
00:08:17
|
|
Comments added by guest
|
|
Great work on website. <a href="http://xoomer.alice.it/pik0/rules-of-poker/">rules
of poker</a> [url=http://xoomer.alice.it/pik0/rules-of-poker/]rules of poker[/url]
http://xoomer.alice.it/pik0/rules-of-poker/ |
|
Wed, Sep 27 2006
03:11:09
|
|
Comments added by guest
|
|
Great web site <a href="http://xoomer.alice.it/pik0/blackjack-mountain/">blackjack
mountain</a> [url=http://xoomer.alice.it/pik0/blackjack-mountain/]blackjack mountain[/url]
http://xoomer.alice.it/pik0/blackjack-mountain/ |
|
Wed, Sep 27 2006
06:05:34
|
|
Comments added by guest
|
|
Thank you... <a href="http://xoomer.alice.it/pik0/yahoo-games-poker/">yahoo games
poker</a> [url=http://xoomer.alice.it/pik0/yahoo-games-poker/]yahoo games poker[/url]
http://xoomer.alice.it/pik0/yahoo-games-poker/ |
|
Wed, Sep 27 2006
09:01:24
|
|
Comments added by guest
|
|
Great work on website. <a href="http://xoomer.alice.it/pik0/free-online-poker-site/">free
online poker site</a> [url=http://xoomer.alice.it/pik0/free-online-poker-site/]free
online poker site[/url] http://xoomer.alice.it/pik0/free-online-poker-site/ |
|
Wed, Sep 27 2006
12:03:19
|
|
Comments added by guest
|
|
Thank you... <a href="http://xoomer.alice.it/pik0/poker-games-for-pc/">poker
games for pc</a> [url=http://xoomer.alice.it/pik0/poker-games-for-pc/]poker games
for pc[/url] http://xoomer.alice.it/pik0/poker-games-for-pc/ |
|
Wed, Sep 27 2006
15:00:50
|
|
Comments added by guest
|
|
VERY GOOD I THINK <a href="http://xoomer.alice.it/pik0/card-poker-ME/">card poker
ME</a> [url=http://xoomer.alice.it/pik0/card-poker-ME/]card poker ME[/url] http://xoomer.alice.it/pi
k0/card-poker-ME/ |
|