[GRASS-user] Invalid region and coordinates when trying to reproject.

Hamish hamish_b at yahoo.com
Sun Jul 1 18:47:56 PDT 2012


Markus:
> ...
> >  |     
>    Projection: x,y
> 
> ... this looks suspicious! Above output may help us to find
> the problem.

probably he was following my tutorial at
 http://grass.osgeo.org/wiki/Global_datasets#ETOPO1_.28DEM.29

which uses a nasty hack to get around the original grid-registered
data exceeding the limits of polar coordinate space:
r.in.bin -f in=etopo1_bed_g.flt out=etopo1_bed_g \
   n=90.008333333335 s=-90.008333333335 e=180.00833333334 \
   w=-180.00833333334 rows=10801 cols=21601 anull=-9999

but the cellhd/ file was not reset in sync with the location.

I have now rewriten that wiki entry to use a r.region cleanup
method instead of ugly filesystem edits.


Hamish


More information about the grass-user mailing list