[GRASS-user] How to convert from point to line ?

Juan Carlos Torres jctorres at ugr.es
Sat Oct 10 17:43:33 EDT 2009


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 Torres


SGW00412 en nifty.com escribió:
> 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
> 2,1689.578979,-1070.564941,4
> 2,1654.074951,-1061.333008,5
> 2,1618.218018,-1040.505981,6
> 3,2335.930908,-1180.246948,7
> 3,2336.694092,-1197.869019,8
> 3,2336.658936,-1218.124023,9
> 4,2512.673096,-1689.875977,10
> 4,2494.010986,-1710.625977,11
> 5,1826.724976,-1731.743042,12
> 5,1808.57605,-1726.490967,13
> 5,1793.598999,-1723.034058,14
> .....
> .....
> .....
> .....
>
>
> Firstly I intended to use 'v in ascii' command.
>
> However, this command imports a text data into points, I think.
>
> I want to import this text file into grass as line data according to the ID 
> number.
>
> May this question be solved in grass? If it is so, please teach a solution....
>
> Yasuo shimada: Japan weather assocation.
> _______________________________________________
> grass-user mailing list
> grass-user en lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>   



More information about the grass-user mailing list