[GRASSLIST:3793] r.in.gdal probs

Stephan Holl sholl at gmx.net
Thu May 30 07:20:24 EDT 2002


Dear list,
I found out, that r.in.gdal has some problems with importing
asc-grid-files. 
It is not really a problem, but r.in.gdal is abit picky about the order
of the header columns.
If the order of the header is different, it bails out and does not
import.

This one does NOT work:
GRASS:~/tmp/data > less qtotal.asc |head -6
yllcorner    5680384
xllcorner    3338768
nrows        3244
ncols        3400
cellsize     100
NODATA_value -9999

But this one does:
GRASS:~/tmp/data > less qtotal.asc |head -6
ncols         3400
nrows         3244
xllcorner     3338768
yllcorner     5680384
cellsize      100
NODATA_value  -9999

When I change the order, everything is fine.
I cannot tell you where the grid-file is exported from, but I guess from
some ersi-products....
Arcview itself imports without trouble.

cheers

  steph

-- 
Linux: the operating system with a CLUE...
         Command Line User Environment.
--------------------------------------
Stephan Holl
GnuPG Key-ID: 11946A09
ICQ# 117277975 
--------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20020530/8957556d/attachment.bin


More information about the grass-user mailing list