[GRASSLIST:8815] Re: r3.in.ascii

Roger Bivand Roger.Bivand at nhh.no
Sat Oct 29 16:37:45 EDT 2005


On Sat, 29 Oct 2005 s99171059 at tuks.co.za wrote:

> Sorry again,
> 
> So I tested r3.in.ascii (grass 6) with the following file:
> 
> north: -2776905.18791086
> south: -2979805.91572424
> east: 12151.81208914
> west: -181894.1458072
> top: 3.0
> bottom: 0.0
> rows: 2
> cols: 2
> levels: 4
> 
> 0.0 1.0
> 2.0 3.0
> 
> and I received an error:
> 
> r3.in.ascii input=/mnt/windows/werk/nuwe_projek/GisRapMyKode/r3 output=r3toets
> nv=none type=default precision=default compression=default tiledimension=default 
> FATAL ERROR: asciiToG3d: read failed

OK, that was the answer to my question, you do not have voxels. you have 
one level 0.0 - 1.0, and just use regular r.in.ascii. Your "third" 
dimension is the attribute value, not a vertical coordinate position for a 
cell centre in a voxel.

> 
> Any help would be appreciated.  I promise not to post anything else for the next
> month.
> 
> Regards,
> Kobus
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the grass-user mailing list