[postgis-devel] update topology locally

Rémi Cura remi.cura at gmail.com
Wed Feb 11 02:49:05 PST 2015


Great,
thanks !

I will finish the trigger stuff (that does not udpate left/right and face ,
but correctly link node and edge)
, then try to write a function that for a list of node, correct the
edge-linking of all linked edge.

Cheers,
Rémi-C

2015-02-11 11:23 GMT+01:00 Sandro Santilli <strk at keybit.net>:

> On Wed, Feb 11, 2015 at 11:15:26AM +0100, Rémi Cura wrote:
> > Hey everybody (and most probably Sandro),
> >
> > Work on trigger is going on.
> >
> > I end up with a corrupted topology (by design):
> > I have list of nodes that have changed ,
> > association with edges has been updated and is correct (start_node,
> > end_node).
> >
> > Now I would like a function to correct next_lft, next_right, and face
> only
> > for the edge associated with my list of nodes.
> >
> > Do you know if I can scavenge it somewhere?
>
> I've been actually thinking for some time that we'd need such a function.
> Right now the code computing that (which I call "edge linking") is buried
> into the ST_AddEdgeModFace and ST_AddEdgeNewFaces functions.
>
> The primitive block of such function could be GetNodeEdges:
> http://postgis.net/docs/manual-dev/GetNodeEdges.html
> That function does not make use of "edge linking" fields.
>
> --strk;
>
>   ()   Free GIS & Flash consultant/developer
>   /\   http://strk.keybit.net/services.html
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20150211/0e5221ef/attachment.html>


More information about the postgis-devel mailing list