[GRASS-dev] raster modules still using sites library

Glynn Clements glynn at gclements.plus.com
Tue Nov 18 16:53:56 EST 2008


Michael Barton wrote:

> For several years now, r.cost, r.drain, and now r.walk have continued  
> to use the adapted sites library instead of the vector library. This  
> means that they all fail if you enter vector points as starting  
> points. It sure would be nice if this feature actually worked on these  
> so that you could 1) use a vector map for start points rather than  
> having to manually enter coordinates and 2) use multiple starting  
> points.

Those modules use the sites library, but they use the G_sites_*
functions, which are wrappers around the vector library.

The functions which read legacy sites files are named G_oldsites_*,
and the only module which uses those functions is v.in.sites.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list