[GRASSLIST:8405] Re: using vector geometries

Hamish hamish_nospam at yahoo.com
Sun Sep 25 20:52:11 EDT 2005


> Is it possible to use the geometry of an object to populate a column,
> on the fly or otherwise? If for example I want to get the area of a
> polygon or the bearing/direction of a line how could I access the
> geometry to do this?


v.to.db   to store eg area in a column

also

v.build option=...   to dump topology



bearing/direction of a line is hard as a "line" in GRASS is really an
"arc" or a series of vertices, not a single Point A -> Point B.



Hamish




More information about the grass-user mailing list