Details Ticket 1228


Comment | Reply | Take | Open


Serial Number 1228
Subject Floats for XY regions!
Area bug
Queue grass
Requestors peter.loewe@gmx.de
Owner none
Status resolved
Last User Contact Sat Aug 24 02:36:15 2002 (6 yr ago)
Current Priority 20
Final Priority 70
Due No date assigned
Last Action Sat Aug 24 04:56:27 2002 (6 yr ago)
Created Wed Aug 7 23:58:35 2002 (6 yr ago)

Transaction History Ticket 1228


Wed, Aug 7 2002 23:58:35    Request created by guest  
Subject: Floats for XY regions!

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 5pre4

Hi,
after defining a region like 
N:1 S:-1 W:-1.75 E:0.25 NSRES&EWRES:0.1 
in a XY location, another run of "g.region",option=1 will most likely result
in a display of 
N:1,S:-1,W:2,E:0, NSRES&EWRES: illegal distance
even WITHOUT changing the above mentioned parameters.

A possible solution would be to make the regions dimension FLOATS insteads of
INTs.

Cheers,
Peter

[Why the funny numbers? -> GRASS can *even* be used to calculate Mandelbrot sets]
Thu, Aug 8 2002 04:08:03    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15697.53713.287141.147785@cerise.nosuchdomain.co.uk>
Date Thu, 8 Aug 2002 03:05:05 +0100
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #1228] (grass) Floats for XY regions!
In-Reply-To <20020807215835.4C324139C8@lists.intevation.de>
References <20020807215835.4C324139C8@lists.intevation.de>
X-Mailer VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
X-Spam-Status No, hits=-3.9 required=5.0 tests=IN_REP_TO,PLING version=2.20
X-Spam-Level
Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=1228
> -------------------------------------------------------------------------
> 
> Subject: Floats for XY regions!
> 
> Platform: GNU/Linux/i386
> grass obtained from: Mirror of Trento site
> grass binary for platform: Compiled from Sources
> GRASS Version: 5pre4
> 
> Hi,
> after defining a region like 
> N:1 S:-1 W:-1.75 E:0.25 NSRES&EWRES:0.1 
> in a XY location, another run of "g.region",option=1 will most likely result
in a display of 
> N:1,S:-1,W:2,E:0, NSRES&EWRES: illegal distance
> even WITHOUT changing the above mentioned parameters.
> 
> A possible solution would be to make the regions dimension FLOATS
> insteads of INTs.

Mea Culpa.

The region's dimensions *are* floats. However, the interactive region
editing code rounds them to a whole number of seconds for lat-lon
locations, and to a whole number of units for everything else.

This was done originally to prevent the value from exceeding the width
of the editing field and messing up the display. I'll look into
producing a fix (or, at least, a workaround) for X-Y locations.

In the meantime, using g.region non-interactively should work.

-- 
Glynn Clements <glynn.clements@virgin.net>


Fri, Aug 23 2002 15:30:00    Mail sent by bernhard@intevation.de  
Return-Path <bernhard@intevation.de>
Delivered-To grass-bugs@lists.intevation.de
Date Fri, 23 Aug 2002 15:29:57 +0200
From Bernhard Reiter <bernhard@intevation.de>
To grass5 developers list <grass5@grass.itc.it>, grass-bugs@intevation.de
Subject [bug #1228]
Message-ID <20020823132957.GF7164@intevation.de>
Mail-Followup-To grass5 developers list <grass5@grass.itc.it>, grass-bugs@intevation.de
References <20020808190207.B4146@itc.it> <20020809040142.GA30817@calico.local> <15699.21333.181676.103416@cerise.nosuchdomain.co.uk>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <15699.21333.181676.103416@cerise.nosuchdomain.co.uk>
User-Agent Mutt/1.3.25i
X-Spam-Status No, hits=-4.4 required=5.0 tests=IN_REP_TO version=2.20
X-Spam-Level
There seems to be a fix for bug 1228 in the CVS HEAD.
This means it probably will be in the 5.0.0 or 5.0.1 release.
Can we close the bug then?

On Fri, Aug 09, 2002 at 06:29:57AM +0100, Glynn Clements wrote:
> Eric G. Miller wrote:

> > I think the
> > fix for src/libes/edit/edit_cellhd.c should be merged in before release

> I've just committed a fix for [bug #1228] to that file. The release
> branch version (1.1.2.1) is sync'd with head version 1.2. 1.3 is the
> "void" fix, 1.4 is the latest fix.


Sat, Aug 24 2002 02:36:15    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15718.50981.269753.795209@cerise.nosuchdomain.co.uk>
Date Sat, 24 Aug 2002 00:37:09 +0100
To Bernhard Reiter <bernhard@intevation.de>
Cc grass5 developers list <grass5@grass.itc.it>, grass-bugs@intevation.de
Subject Re: [GRASS5] [bug #1228]
In-Reply-To <20020823132957.GF7164@intevation.de>
References <20020808190207.B4146@itc.it> <20020809040142.GA30817@calico.local> <15699.21333.181676.103416@cerise.nosuchdomain.co.uk> <20020823132957.GF7164@intevation.de>
X-Mailer VM 6.94 under 21.4 (patch 9) "Informed Management (RC2)" XEmacs Lucid
X-Spam-Status No, hits=-4.4 required=5.0 tests=IN_REP_TO version=2.20
X-Spam-Level
Bernhard Reiter wrote:

> > > I think the
> > > fix for src/libes/edit/edit_cellhd.c should be merged in before release
> 
> > I've just committed a fix for [bug #1228] to that file. The release
> > branch version (1.1.2.1) is sync'd with head version 1.2. 1.3 is the
> > "void" fix, 1.4 is the latest fix.
> 
> There seems to be a fix for bug 1228 in the CVS HEAD.
> This means it probably will be in the 5.0.0 or 5.0.1 release.
> Can we close the bug then?

That has since been merged into the release branch, so the bug can be
closed.

-- 
Glynn Clements <glynn.clements@virgin.net>


Sat, Aug 24 2002 04:56:27    Status changed to resolved by gclements  
Comment | Reply | Take | Open

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