<div dir="ltr"><div><div><div><div>Thanks for the links.<br></div><div>Of course I tried your pluggin a while ago.<br><br></div>I chose a trigger based solution precisely because it doesn't require application specific code<br></div>(and thus it could be also used with another GIS, or a we application).<br><br></div>This forbid me to use feature specific to QGIS, and of course dedicated plugins.<br><br></div>Cheers,<br>Rémi-C<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-05 13:09 GMT+01:00 Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Feb 05, 2015 at 01:00:19PM +0100, Rémi Cura wrote:<br>
> Yep,<br>
> enabling/disabling seems necessary because as you said,<br>
> and is very easy to do (ALTER TABLE table DISABLE TRIGGER USER;)<br>
> enabling the trigger and importing data in topology would be at best slower,<br>
> , probably very hard to write<br>
> , and at worst impossible (infinite trigger call).<br>
><br>
> I also have the concurrent editing in mind, but I don't aim at doing an<br>
> un-breakable topology for my first try.<br>
> simply allowing reasonable edition in qgis, where the user understand<br>
> topology and doesn't break things:<br>
<br>
</span>One idea, had you tried QGIS own topology editing mode ?<br>
That is, it can make it so that when you move a vertex in one layer<br>
it moves the equivalent vertices in all other layers.<br>
I think I automatically enabled that for topology primitive layers<br>
at one point but later reverted it because it was done the wrong way.<br>
See<br>
<a href="https://github.com/qgis/QGIS/commit/314c783b211fb75c2056cb272047739b1874eeaf" target="_blank">https://github.com/qgis/QGIS/commit/314c783b211fb75c2056cb272047739b1874eeaf</a><br>
<span class=""><br>
<br>
>  - edition not modifying topology : moving non-isolated node, changing geom<br>
> of edges (excluding first/last point, no crossing other edges)<br>
>  - edition modifying topology : create a node (split edge if necessary),<br>
> delete a node(heal edge if necessary), adding/deleting edged between<br>
> existing node<br>
<br>
</span>Did you see my plugin as an alternative approach ?<br>
<a href="https://plugins.qgis.org/plugins/pgtopoeditor/" target="_blank">https://plugins.qgis.org/plugins/pgtopoeditor/</a><br>
<br>
--strk;<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a><br>
</div></div></blockquote></div><br></div>