[GRASS-user] ascii dem opening?

2009-04-20 Thread espiritoCZ

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.

Thank you for your tips.
Milan
-- 
View this message in context: 
http://n2.nabble.com/ascii-dem-opening--tp2664060p2664060.html
Sent from the Grass - Users mailing list archive at Nabble.com.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] ascii dem opening?

2009-04-20 Thread Markus Neteler
On Mon, Apr 20, 2009 at 4:48 PM, espiritoCZ  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
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] ascii dem opening?

2009-04-20 Thread Hamish

espiritoCZ wrote:
> > The file structure is very simple:
> > X [tab] Y [tab] Z
> > (e.g.:
> > 23.3375     45.8959      -2.345
> > ..)

Markus:
> 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


also r.in.xyz could help if it is millions of points or
pre-gridded.


Hamish





___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] ascii dem opening?

2009-04-21 Thread espiritoCZ

Ok, thanks to both,
I was quite sure that it would be a piece a cake for you :)
All the best!
Milan

(not tried yet, but i believe i will manage now)





Hamish wrote:
> 
> 
> espiritoCZ wrote:
>> > The file structure is very simple:
>> > X [tab] Y [tab] Z
>> > (e.g.:
>> > 23.3375 45.8959  -2.345
>> > ..)
> 
> Markus:
>> 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
> 
> 
> also r.in.xyz could help if it is millions of points or
> pre-gridded.
> 
> 
> Hamish
> 
> 
> 
> 
> 
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/ascii-dem-opening--tp2664060p2668981.html
Sent from the Grass - Users mailing list archive at Nabble.com.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user