[GRASSLIST:3796] Re: r.in.gdal probs

Markus Neteler neteler at itc.it
Thu May 30 10:31:10 EDT 2002


On Thu, May 30, 2002 at 01:20:24PM +0200, Stephan Holl wrote:
> 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.

Hi Stephan,

since this is a GDAL problem, please post it to
http://bugzilla.remotesensing.org/enter_bug.cgi?product=GDAL

Thanks,

 Markus



More information about the grass-user mailing list