Details Ticket 2803


Comment | Reply | Take | Resolve


Serial Number 2803
Subject d.text.freetype, d.legend, d.frame, d.barscale, d.text: unify how the feature placement is declared
Area wish6
Queue grass
Requestors jidanni@jidanni.org
Owner none
Status open
Last User Contact Wed Dec 8 02:45:22 2004 (4 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Thu Aug 24 12:19:05 2006 (2 yr ago)
Created Wed Dec 8 00:00:04 2004 (4 yr ago)

Transaction History Ticket 2803


Wed, Dec 8 2004 00:00:04    Request created by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
To grass-bugs@intevation.de
Subject d.text's at= vs. d.barscale's at=.
From Dan Jacobson <jidanni@jidanni.org>
Date Wed, 08 Dec 2004 06:27:24 +0800
Message-ID <87653dsq0j.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
d.text's at= counts from a different corner than d.barscale's at=.
Nothing that can be done about it now other than say noting this fact
on d.barscale's man page, under BUGS.


Wed, Dec 8 2004 02:45:22    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Wed, 8 Dec 2004 14:45:06 +1300
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2803] (grass) d.text's at= vs. d.barscale's at=.
Message-Id <20041208144506.684ce175.hamish_nospam@yahoo.com>
In-Reply-To <20041207230004.148A9102C41@lists.intevation.de>
References <20041207230004.148A9102C41@lists.intevation.de>
X-Mailer Sylpheed version 1.0.0beta3 (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=2803
> ---------------------------------------------------------------------
> 
> d.text's at= counts from a different corner than d.barscale's at=.
> Nothing that can be done about it now other than say noting this fact
> on d.barscale's man page, under BUGS.


This is not a bug, it's a feature and an inconsistency among the greater
scheme of GRASS modules.

Sure something can be done about it (for 6.0+).


It is fully documented:

d.barscale --help
   at   The screen coordinates for top-left corner of label
        ([0,0] is top-left of frame)


d.text --help
   at   Screen postion at which text will begin to be drawn
        (percentage, [0,0] is lower left)


also affects d.text.freetype, d.legend, d.frame ....



d.text.freetype is interesting:
  -p   Coordinates are in pixels ([0,0] is top left)
  -n   Coordinates are percentage of frame ([0,0] is bottom left)

& generally the way around I would think logical - pixels use i,j
convention; more abstract "percent of window" uses x,y convention.




Hamish


Thu, Dec 9 2004 06:49:24    Mail sent by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
To Hamish via RT <grass-bugs@intevation.de>
Subject Re: [bug #2803] (grass) d.text's at= vs. d.barscale's at=.
References <20041208014522.14F9D102C41@lists.intevation.de>
From Dan Jacobson <jidanni@jidanni.org>
Date Thu, 09 Dec 2004 08:05:03 +0800
Message-ID <87oeh4wd3k.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.5 tagged_above=-999.0 required=3.0 tests=BAYES_00, DATE_IN_PAST_03_06
X-Spam-Level
H> Sure something can be done about it (for 6.0+).
Won't that break old scripts?  Oops, never mind. Hate to stand in the
way of progress. Wait, use a new xat= for all.

H> It is fully documented:
I know. I'm saying that on the ones with the minority behaviour, there
should be notes added that they conflict with the majority.


Wed, Dec 7 2005 22:01:50    Area changed to grass6 by msieczka  
Fri, Aug 4 2006 02:33:09    Comments added by guest  
Cc: tutey@o2.pl

I agree with Hamish, this is not a bug per se in the sense of program
operation; it should be re-phrased as a wish instead.

~ Eric.
<epatton at nrcan dot gc dot ca>
Thu, Aug 24 2006 12:18:41    Subject changed to d.text.freetype, d.legend, d.frame, d.barscale's, d.text: unify how the feature placement is declare by msieczka  
Thu, Aug 24 2006 12:18:52    Area changed to wish6 by msieczka  
Thu, Aug 24 2006 12:19:05    Subject changed to d.text.freetype, d.legend, d.frame, d.barscale, d.text: unify how the feature placement is declared by msieczka  
Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request