[GRASS5] Problems with UTM/southern hemisphere

Paul Kelly paul-grass at stjohnspoint.co.uk
Thu Oct 14 10:45:11 EDT 2004


Hello Markus

On Thu, 14 Oct 2004, Markus Neteler wrote:

> Hi,
>
> a colleague of mine from Argentina is facing problems
> to import LANDSAT data in UTM.
>
> Displaying a map leads to:
>
> GRASS 5.7.cvs > d.rast markus.1
> WARNING: [markus.1] in mapset [beinlich] - in different zone [20] than
>         current region [-20]
> WARNING: unable to open raster map [markus.1 in beinlich]
> ERROR: Not able to open cellfile for [markus.1]
>
> The location is defined as (UTM, southern hemisphere):
[...]
>
> Looking at the map header:
>
> GRASS 5.7.cvs > cd cellhd/
> GRASS 5.7.cvs > cat markus.1
> proj:       1
> zone:       20                     <-- shouldn't this be -20?

Yes---that is a bug in lib/proj/convert.c that wasn't there in 
5.3---probably my fault. I have fixed it now so future imports should be 
OK. To get around the problem here edit the cellhd/markus.1 file so zone 
is -20.

Paul




More information about the grass-dev mailing list