[GRASS-user] Using g.setproj to "fix" PROJ_INFO

Patton, Eric epatton at nrcan.gc.ca
Mon May 15 08:39:33 EDT 2006


Well, I would rather fix the problem of incorrect Location projection
parameters if that is the problem - may as well fix the problem at the
source if possible.

~ Eric.
 

-----Original Message-----
From: Maciek Sieczka
To: Patton, Eric
Cc: grassuser at grass.itc.it
Sent: 5/14/2006 8:42 AM
Subject: Re: [GRASS-user] Using g.setproj to "fix" PROJ_INFO

On Fri, 12 May 2006 13:46:26 -0300
"Patton, Eric" <epatton at nrcan.gc.ca> wrote:

> Hey guys,
> 
> A colleague is having problems with an archaic Grass project in that
> geotiffs created from rasters in this Location only display correctly
> in ArcGIS in UTM Zone 20 despite g.proj -p saying that the Location
> is UTM Zone 19.

What do the gdalinfo say about your geotiffs?

> All the projection info I can find on data in this
> Location says it's UTM 19, but the data displays as UTM20. We're
> pretty sure that the ArcGIS data used as a check against the Grass
> data is correct (let's assume so for the sake of this argument). Is
> it ok to go ahead and make backups of PROJ_INFO and PROJ_UNITS,
> delete the originals, and then run g.setproj to make new info files?
> Are there any dangers to doing this? This is uncharted waters for me. 

You could use gdal_translate -a_srs to correct the projection in the
output file.

Maciek

--------------------
W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie
tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/




More information about the grass-user mailing list