Dear all
I am a beginner user of grass gis.
I want to import a text file that included latitude, longitude,ID number and
recordig time, into grass as line data.
The format style is as follows:
id,x,y,time
1,857.8629761,-785.6849976,1
1,987.9949951,-682.4140015,2
1,964.4849854,-710.6849976,3
On Oct 9, 2009, at 10:30 PM, grass-user-requ...@lists.osgeo.org wrote:
Message: 7
Date: Fri, 9 Oct 2009 16:29:12 -0700 (PDT)
From: Jaime Carrera jaicarrerah...@yahoo.com
Subject: [GRASS-user] grass on snow leopard: slooow
To: grass-user@lists.osgeo.org
Message-ID:
sgw00...@nifty.com wrote:
Dear all
I am a beginner user of grass gis.
So am I. But as nobody else seems to have a better idea... here is what I would
do:
a) reformat yourdata into GMT format (yourdata.gmt) with a small AWK script
$ awk -f reformat_to_gmt.awk yourdata yourdata.gmt
b)
Dear Yasou
You can import any geometric element using v.in.ascii. Use
*format*=///standard/
and include in your a header with primitive code L (that is line).
You can see an example at the manual page
http://grass.itc.it/grass62/manuals/html62_user/v.in.ascii.html
best regards
Juan Carlos
If you search in the mailing list archives you'll find a script
I wrote for someone some months ago to do this. (that was for
animal tracks IIRC). Input format is always different, so it's
hard, but possible, to come up with an automatic solution.
as mentioned by others, the typical solution is