[GRASS5] vector point extract script

Hamish hamish_nospam at yahoo.com
Tue Apr 5 03:22:26 EDT 2005


Hi,

not knowing enough SQL magic to do this properly*, I've written a little
script to extract point data from vector points files, including x,y(,z)
and any selected columns from the db of the same name.

Assumes db and vector file both have the same category number/order.
This may well be a bad assumption!

v.out.ascii.db: 
  http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassAddOns


[*] I guess make 2 new columns containing x,y values then db.select. How?



Hamish




More information about the grass-dev mailing list