[GRASS-dev] [bug #4542] (grass) r.in.gdal import south utm projected gtiff as negative zone

Request Tracker grass-bugs at intevation.de
Sun Jun 4 19:19:26 EDT 2006


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)

<<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




More information about the grass-dev mailing list