[GRASS-user] Once more: raster projection transformation: LAEA -> UTM

Jana K. jkrajc at gmail.com
Wed Jul 23 04:54:13 EDT 2008


>> Looks like you do have correct settings in the PROJ_INFO in both 
>> PERMANENT mapsets. Can you post the header file of the raster map
>> you want to reproject? Maybe it's malformed, for whatever reason.
>> You'll find it in location/mapset/cellhd folder.

> Thanks all of you for quick help, I think Maciej hit the problem -
> here is the input file header:
> 
> proj:       0 zone:       0 north:      6500000 south:      700000 
> east:       7500000 west:       800000 cols:       67000 rows:
> 58000 e-w resol:  100 n-s resol:  100 format:     0 compressed: 1
> 
> while the PROJ_INFO is:
> 
> name: Lambert Azimuthal Equal Area datum: etrs89 towgs84:
> 0.000,0.000,0.000 proj: laea ellps: grs80 a: 6378137.0000000000 es:
> 0.0066943800 f: 298.2572221010 lat_0: 52.0000000000 lon_0:
> 10.0000000000 x_0: 4321000.0000000000 y_0: 3210000.0000000000
> 
 Can I simply manually change the 
> information in header files?

Should be enough to just modigy the number in line "proj:". See [1],
"Projection Information" for details.

I changed the proj and the reprojection worked OK. 

> Do you have some idea, why the headers are not correct? Maybe the way
> how I created the GLC_europe location was not correct?

Please point me to these "GLC landuse data available on the web are in
tiff format" so I can have a look.

Here is the link to GLC data I used: 
http://dataservice.eea.europa.eu/dataservice/metadetails.asp?id=1007
http://dataservice.eea.europa.eu/dataservice/metadetails.asp?id=1007


Also, please create a new raster in both locations (e.g. r.mapcalc
'test=1') and post the content of their headers. If it still does not
reflect your settings in PERMANENT/PROJ_INFO, there's something wrong
with GRASS I guess. What GRASS version and platform BTW?

I did as you had adviced (r.mapcalc test=glc_europe), the header of
resulting test map still has proj = 0, so it doesn't reflect PROJ_INFO. 
I am using grass 6.2.3 version on Linux - Ubuntu (Gutsy). 



-- 
View this message in context: http://www.nabble.com/Once-more%3A-raster-projection-transformation%3A-LAEA--%3E-UTM-tp18589640p18606502.html
Sent from the Grass - Users mailing list archive at Nabble.com.



More information about the grass-user mailing list