Mon, Jun 5 2006
01:19:26
|
|
Request created by guest
|
|
Subject: r.in.gdal import south utm projected gtiff as negative zone
Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.1
r.in.gdal import south utm projected gtiff as negative zone. But in grass, region
utm zones south of equator not is negative in a newly created location (examples
below)
<<PROJ_INFO>>
name: UTM
proj: utm
ellps: SAD-69
a: 6378160.0000000000
es: 0.0066945419
f: 298.2500000000
zone: 22
south: defined
<<cellhd>>
proj: 1
zone: -22
north: 6475848.30684486
south: 6256125
east: 426355.92252066
west: 254360
cols: 5733
rows: 7324
e-w resol: 30.00103306
n-s resol: 30.00045151
format: 1
compressed: 1
When 'g.region -d' is used, the raster imported with r.in.gdal not is visible.
The only way to work with it is using g.region 'raster=imported_gtiff'.
To fix the imported gtiff I edit the cellhd file changing -22 to 22, then all
is working fine.
This bug not is specific to grass 6 version, is the same for the version 5.
|
|
Mon, Jun 5 2006
11:30:42
|
|
Mail sent by paul-grass@stjohnspoint.co.uk
|
|
Return-Path |
<paul-grass@stjohnspoint.co.uk>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Mon, 5 Jun 2006 10:30:30 +0100 (BST)
|
From |
Paul Kelly <paul-grass@stjohnspoint.co.uk>
|
X-X-Sender |
paulk@agrippa.ukshells.co.uk
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass-dev@grass.itc.it
|
Subject |
Re: [GRASS-dev] [bug #4542] (grass) r.in.gdal import south utm projected gtiff as negative zone
|
In-Reply-To |
<20060604231926.602181006AC@lists.intevation.de>
|
Message-ID |
<Pine.LNX.4.62.0606051029010.3552@agrippa.ukshells.co.uk>
|
References |
<20060604231926.602181006AC@lists.intevation.de>
|
MIME-Version |
1.0
|
Content-Type |
TEXT/PLAIN; charset=US-ASCII; format=flowed
|
X-SA-Do-Not-Run |
Yes
|
X-SA-Exim-Connect-IP |
217.10.143.90
|
X-SA-Exim-Mail-From |
paul-grass@stjohnspoint.co.uk
|
X-SA-Exim-Scanned |
No (on mail.ukshells.net); SAEximRunCond expanded to false
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
On Mon, 5 Jun 2006, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4542
> -------------------------------------------------------------------------
>
> Subject: r.in.gdal import south utm projected gtiff as negative zone
>
> Platform: GNU/Linux/x86
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 6.1
>
> r.in.gdal import south utm projected gtiff as negative zone. But in grass,
region utm zones south of equator not is negative in a newly created location
(examples below)
It should be (in the WIND file). And it is in the example you give below!
How exactly did you set up the newly created location (which command etc?)
>
> <<PROJ_INFO>>
> name: UTM
> proj: utm
> ellps: SAD-69
> a: 6378160.0000000000
> es: 0.0066945419
> f: 298.2500000000
> zone: 22
> south: defined
>
> <<cellhd>>
> proj: 1
> zone: -22
> north: 6475848.30684486
> south: 6256125
> east: 426355.92252066
> west: 254360
> cols: 5733
> rows: 7324
> e-w resol: 30.00103306
> n-s resol: 30.00045151
> format: 1
> compressed: 1
>
> When 'g.region -d' is used, the raster imported with r.in.gdal not is visible.
The only way to work with it is using g.region 'raster=imported_gtiff'.
> To fix the imported gtiff I edit the cellhd file changing -22 to 22, then all
is working fine.
>
> This bug not is specific to grass 6 version, is the same for the version 5.
>
>
>
> -------------------------------------------- Managed by Request Tracker
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>
|
|
Tue, Jun 6 2006
02:53:04
|
|
Mail sent by sandroklippel@yahoo.com.br
|
|
Return-Path |
<sandroklippel@yahoo.com.br>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
DomainKey-Signature |
a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Received:From:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=WSvTY3j57gPPc8ktp4KcFNwo+85Us3ziOwqOeWEl2S2Jf5ccGGrKu6nfpDXaFipCYrjU9yo0LN2Ixf+oCyy91WVpUAdb/Yqe3T5+QSFw2fYmqdvsmwG2MWv+FvaqjitkDLU+Vz6Ir6zVhZtzU/FnAsvsR/ONEfqxGl0uepiYj0M= ;
|
From |
Sandro Klippel <sandroklippel@yahoo.com.br>
|
To |
Paul Kelly via RT <grass-bugs@intevation.de>
|
Subject |
Re: [bug #4542] (grass) r.in.gdal import south utm
|
Date |
Mon, 5 Jun 2006 16:51:43 -0300
|
User-Agent |
KMail/1.8.2
|
References |
<20060605093042.0EC231006BA@lists.intevation.de>
|
In-Reply-To |
<20060605093042.0EC231006BA@lists.intevation.de>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset="iso-8859-1"
|
Content-Transfer-Encoding |
7bit
|
Content-Disposition |
inline
|
Message-Id |
<200606051651.44350.sandroklippel@yahoo.com.br>
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
I created the location "IBA" with grass5 initialization module (interactive).
I use the same grassdb for 5 years.
[sandro@localhost grassdb]$ cat IBA/PERMANENT/DEFAULT_WIND
proj: 1
zone: 22
north: 6588350
south: 6256125
east: 544770
west: 254360
cols: 9680
rows: 11074
e-w resol: 30.00103306
n-s resol: 30.00045151
GRASS 6.1.cvs (IBA):~ > g.proj -p
-PROJ_INFO-------------------------------------------------
name : UTM
proj : utm
ellps : SAD-69
a : 6378160.0000000000
es : 0.0066945419
f : 298.2500000000
zone : 22
south : defined
-PROJ_UNITS------------------------------------------------
unit : meter
units : meters
meters : 1.0
GRASS 6.1.cvs (IBA):~ > g.proj -j
+proj=utm
+south
+zone=22
+a=6378160
+rf=298.25
+no_defs
I create new locations from grass6 initialization module and the zone in the
WIND file is negative. So, the problem is in my old data files. Probably the
bug is in some grass5 version that I use in the past (including cvs).
Sorry for my mistake !!
Thanks a lot for your patience and help.
Sandro.
Em Seg 05 Jun 2006 06:30, Paul Kelly via RT escreveu:
> On Mon, 5 Jun 2006, Request Tracker wrote:
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=4542
> > -------------------------------------------------------------------------
> >
> > Subject: r.in.gdal import south utm projected gtiff as negative zone
> >
> > Platform: GNU/Linux/x86
> > grass obtained from: Trento Italy site
> > grass binary for platform: Compiled from Sources
> > GRASS Version: 6.1
> >
> > r.in.gdal import south utm projected gtiff as negative zone. But in
> > grass, region utm zones south of equator not is negative in a newly
> > created location (examples below)
>
> It should be (in the WIND file). And it is in the example you give below!
> How exactly did you set up the newly created location (which command etc?)
>
> > <<PROJ_INFO>>
> > name: UTM
> > proj: utm
> > ellps: SAD-69
> > a: 6378160.0000000000
> > es: 0.0066945419
> > f: 298.2500000000
> > zone: 22
> > south: defined
> >
> > <<cellhd>>
> > proj: 1
> > zone: -22
> > north: 6475848.30684486
> > south: 6256125
> > east: 426355.92252066
> > west: 254360
> > cols: 5733
> > rows: 7324
> > e-w resol: 30.00103306
> > n-s resol: 30.00045151
> > format: 1
> > compressed: 1
> >
> > When 'g.region -d' is used, the raster imported with r.in.gdal not is
> > visible. The only way to work with it is using g.region
> > 'raster=imported_gtiff'. To fix the imported gtiff I edit the cellhd file
> > changing -22 to 22, then all is working fine.
> >
> > This bug not is specific to grass 6 version, is the same for the version
> > 5.
> >
> >
> >
> > -------------------------------------------- Managed by Request Tracker
> >
> > _______________________________________________
> > grass-dev mailing list
> > grass-dev@grass.itc.it
> > http://grass.itc.it/mailman/listinfo/grass-dev
>
> --- Headers Follow ---
>
> >From paul-grass@stjohnspoint.co.uk Mon Jun 5 11:30:41 2006
>
> Return-Path: <paul-grass@stjohnspoint.co.uk>
> Delivered-To: grass-bugs@lists.intevation.de
> Received: from mail.intevation.de (aktaia [212.95.126.10])
> by lists.intevation.de (Postfix) with ESMTP id C84371005D3
> for <grass-bugs@lists.intevation.de>; Mon, 5 Jun 2006 11:30:41 +0200
> (CEST) Received: from localhost (localhost [127.0.0.1])
> by mail.intevation.de (Postfix) with ESMTP id 5429136D89
> for <grass-bugs@lists.intevation.de>; Mon, 5 Jun 2006 11:30:41 +0200
> (CEST) Received: from mail.ukshells.net (mail.ukshells.net [217.10.141.9])
> by mail.intevation.de (Postfix) with ESMTP id 8DF1336D71
> for <grass-bugs@intevation.de>; Mon, 5 Jun 2006 11:30:38 +0200 (CEST)
> Received: from agrippa.ukshells.co.uk ([217.10.143.90] ident=Debian-exim)
> by mail.ukshells.net with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
> (Exim 4.50)
> id 1FnBPy-00031l-7L; Mon, 05 Jun 2006 10:30:38 +0100
> Received: from localhost ([127.0.0.1] ident=paulk)
> by agrippa.ukshells.co.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32)
> (Exim 4.50)
> id 1FnBPr-0003w4-6H; Mon, 05 Jun 2006 10:30:31 +0100
> Date: Mon, 5 Jun 2006 10:30:30 +0100 (BST)
> From: Paul Kelly <paul-grass@stjohnspoint.co.uk>
> X-X-Sender: paulk@agrippa.ukshells.co.uk
> To: Request Tracker <grass-bugs@intevation.de>
> Cc: grass-dev@grass.itc.it
> Subject: Re: [GRASS-dev] [bug #4542] (grass) r.in.gdal import south utm
> projected gtiff as negative zone
> In-Reply-To: <20060604231926.602181006AC@lists.intevation.de>
> Message-ID: <Pine.LNX.4.62.0606051029010.3552@agrippa.ukshells.co.uk>
> References: <20060604231926.602181006AC@lists.intevation.de>
> MIME-Version: 1.0
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
> X-SA-Do-Not-Run: Yes
> X-SA-Exim-Connect-IP: 217.10.143.90
> X-SA-Exim-Mail-From: paul-grass@stjohnspoint.co.uk
> X-SA-Exim-Scanned: No (on mail.ukshells.net); SAEximRunCond expanded to
> false X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0
> tests=BAYES_00 X-Spam-Level:
>
> -------------------------------------------- Managed by Request Tracker
_______________________________________________________
Novo Yahoo! Messenger com voz: Instale agora e faça ligações de graça.
http://br.messenger.yahoo.com/
|
|
Tue, Jun 6 2006
13:31:28
|
|
Mail sent by pkelly
|
|
Yes, this was a long-standing bug in g.setproj (for many years) that was fixed
in October 2003.
Paul
|
|
Tue, Jun 6 2006
13:31:48
|
|
Status changed to resolved by pkelly
|
|