[GRASS-user] ascii dem opening?

Markus Neteler neteler at osgeo.org
Mon Apr 20 12:03:40 EDT 2009


On Mon, Apr 20, 2009 at 4:48 PM, espiritoCZ <espiritocz at gmail.com> wrote:
>
> Hallo GRASS forum.
> I am very sorry, but I still cannot find a solution for my problem (as I am
> still only a beginner in GRASS GIS), can you give me some advice please?
> I need to open a simple ascii dem in grass (and save it as a raster file),
> but I still don't have a luck for this.
> The file structure is very simple:
> X [tab] Y [tab] Z
> (e.g.:
> 23.3375     45.8959      -2.345
> ......)
> I cannot neither open this file. I hoped that v.in.ascii could help, but I
> simply couldn't manage it.

I have tried the line you have indicated and stored it as file
points.csv. Then imported with:

v.in.ascii -z in=points.csv out=points3d x=1 y=2 z=3 fs=tab

hope this helps,
Markus


More information about the grass-user mailing list