[GRASS-user] Re: grassuser Digest, Vol 11, Issue 18

Hamish hamish_nospam at yahoo.com
Fri Mar 16 00:43:21 EDT 2007


Maciej Sieczka wrote:
> 
> I don't think you can import vector in standard format together with
> it's attributes using v.in.ascii. It's possible only for points
> format. In standard format, the "1982 2.88" etc. after x,y coordinates
> are discarded.

the form is one coordinate per line. Z value is optional.
 " X Y [Z]"

> To add attributes to your lines vector created with v.in.ascii, you
> would need to create the table separately (eg. a dbf with OO.org Calc
> or OO.org Base, or using the db.execute to create the table and
> populate it with values) and then attach it to your lines vector uisng
> v.db.connect.
> 
> To understand how categories and layers work, please refer to the
> "Vector data processing in GRASS GIS" chapter of the manual.

see the v.in.garmin script for an example. (be it a slighlty complicated one)


Hamish




More information about the grass-user mailing list