[GRASSLIST:5629] Re: Grass raster vs ArcInfo grid

Hamish hamish_nospam at yahoo.com
Thu Feb 3 22:25:41 EST 2005


> AFAIK ArcInfo binary grid considers the middle of the cell as it's
> origin,  while Grass raster the bottom left.
> 
> Thus I guess there would be a positioning error of the ArcInfo bin
> grid  imported into Grass 6.0 location. This error would be half the
> AI grid cell  resolution. Plese let me know whether I'm right here or
> not. If right, then  how to fix it/prevent it to happen?
> 
> It also reffers to ASCII AI grid (right?), but one can simply help it
> by  editing the 'xllcorner' and 'yllcorner' in the header.


This difference is long known. (GRASS region coordinates are outside
edge of border cells)

Are r.in.arc, r.out.arc, &/or r.in.gdal giving you incorrect results?




Hamish




More information about the grass-user mailing list