Boost logo

Geometry :

Subject: [ggl] Snapping
From: Ivan Marin (ispmarin)
Date: 2009-11-22 13:52:16


Hello Stephen, Barends,

This "snap" capability would be interesting to me also.

Thanks

Ivan Marin

2009/11/22 Barend Gehrels <Barend.Gehrels_at_[hidden]>

> Hi Stephen,
>
>
>
> You mean something like: ggl::snap(geometry_from, geometry_to,
>> snapped_geometry);
>>
>
> Something like that yeah. Most of the actual work involved is in finding
> points on a line that are at the snapping tolerance distance from "snap to"
> feature.
>
>
> Ah, of course, specifying a tolerance is essential :-)
>
>
>
>
> I'll have a look at the extension model then and see how this can fit. For
> me a snap feature is just as important as a "buffer" feature.
>
>
> OK, you'll need the account then, I'll send it to you privately.
>
>
>
> poly/poly breaks down to multiple line/line snaps. line line is a
> complicated beast because all parts of the line that are within a snap
> tolerance of the "snap to" line get snapped. I'll produce some diagrams of
> this and post them.
>
> I see. Points/lines might be snapped potentially to multiple lines or
> holes. I'll wait your diagrams.
>
> Regards, Barend
>
>
> _______________________________________________
> ggl mailing list
> ggl_at_[hidden]
> http://lists.osgeo.org/mailman/listinfo/ggl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ggl/attachments/20091122/9cfc9eca/attachment.html


Geometry list run by mateusz at loskot.net