[GRASS-dev] Vect_get_area_boundaries() and negative ids

Martin Landa landa.martin at gmail.com
Wed Jan 18 16:50:46 EST 2012


Hi,

ids of area boundaries can be negative (N2->N1), I think that
Vect_get_area_boundaries() should return list of non-negative ids [1].

Vect_list_append(List, abs(line));

Similar for Vect_get_isle_boundaries() or am I wrong?

Martin

[1] http://trac.osgeo.org/grass/browser/grass/trunk/lib/vector/Vlib/area.c#L192

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list