On Wed, Jan 18, 2012 at 10:50 PM, Martin Landa <[email protected]> wrote:
> 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?

The sign indicates in which direction the boundary should be read
(negative for backward). Therefore negative ids are correct.

Markus M

>
> 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
> _______________________________________________
> grass-dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-dev
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to