<div dir="ltr"><div>It's difficult to realize what happens from your description. The plugin is very simple, it saves all buffer and restores them checking data <span id="result_box" class="" lang="en"><span class="">consistency</span></span>, so the issues you report makes me think it could happen a featureId mismatch. Perhaps you are trying to restore a version on a already modified layer. Did you get some messages loading version file? Is it the same with non PostGis Layers? <br></div><div>The plugin has been marked as experimental because it's not wide tested and I fear it could bring to data losses, so I ask you to contribute reporting the bug to the issue tracker (<a href="https://github.com/enricofer/layerVersion/issues">https://github.com/enricofer/layerVersion/issues</a>), providing all the informations (operational steps, sample datasets) needed to replicate the issue.<br></div><div>Thanks.<br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-20 14:39 GMT+02:00 didier peeters <span dir="ltr"><<a href="mailto:dpeeter1@ulb.ac.be" target="_blank">dpeeter1@ulb.ac.be</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>I’m facing a strange behavior now: I tested the layerVersion plugin, at first it seemed to work fine and effectively bring back the previous polygon’s shape. </div><div>But then a confusion appeared between the polygons : when moved one, it would ‘disappear’ and another would move as well and after saving this only the second polygon had moved while the first one would ‘re-appear’ at its original place. When selecting a polygon, 2 more ones are selected as well, and when deleting ‘them’ (with the red garbage can, I use QGis 2.8.2) the first one disappears only. This behavior continues after having uninstalled LayerVersion and restarted QGis.</div><div><br></div><div>Is this a bug generated by LayerVersion ? Has anybody seen this before ?</div><div>My layer is provided by PostGis.</div><span class="HOEnZb"><font color="#888888"><div><br></div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">Didier<br></span></div></div></div></div></div><br>
</div></font></span><div><div class="h5">
<br><div><blockquote type="cite"><div>Le 20 juil. 2015 à 13:24, Enrico Ferreguti <<a href="mailto:enricofer@gmail.com" target="_blank">enricofer@gmail.com</a>> a écrit :</div><br><div><div dir="ltr"><div><div><div><div>mmm... sorry, debug infos left in the code....<br>simply remove line 142 (the last) of file<span style="font-family:arial,helvetica,sans-serif"></span><span style="font-family:arial,helvetica,sans-serif"> "/Users/didier/.qgis2/python/</span><span style="font-family:arial,helvetica,sans-serif">plugins/layerVersion/</span><span style="font-family:arial,helvetica,sans-serif">layerversion.py"<br></span></div></div><span style="font-family:arial,helvetica,sans-serif">with a text editor and reload the plugin.<br><br></span></div><span style="font-family:arial,helvetica,sans-serif">Regards.<br></span></div><span style="font-family:arial,helvetica,sans-serif">Enrico<br></span></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-20 13:05 GMT+02:00 Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias@opengis.ch" target="_blank">matthias@opengis.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
Hi,<br>
<br>
I remember geogig (formerly geogit) offers promising concepts for
filebased spatial data management with historization and branching.<br>
Unfortunately I don't know the current status of the project and the
progress of integration in QGIS.<span><font color="#888888"><br>
<br>
Matthias</font></span><div><div><br>
<br>
<div>On 07/20/2015 11:25 AM, Neumann,
Andreas wrote:<br>
</div>
<blockquote type="cite"><p>Hi Didier,</p><p>I don't think that anyone is working on a client-side
historisation option in QGIS. And there wasn't much demand for
that in the past, since most serious GIS data resides in
databases.</p><p>Andreas</p><p>On 2015-07-20 09:45, didier peeters wrote:</p>
<blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">
<div>Hello Andreas,</div>
<div> </div>
<div>yes it's for some 'historisation', more precisely
to make a filiation, and yes I certainly will use triggers in
PostGIS. But I wanted to avoid confusion between different
kind of edition operations that I'm not currently foreseeing;
I'm not sure it will always be easy to distinct this specific
action from others. And I thought that it might also be
interesting outside of the database world, to have that "edit
and preserve" operation. </div>
<br>
<div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">Didier<br>
</span></div>
</div>
</div>
</div>
</div>
</div>
<br>
<div>
<blockquote>
<div>Le 20 juil. 2015 à 09:10, Neumann, Andreas
<<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>>
a écrit :</div>
<div>
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"><p>Hi Didier,</p><p>Is this for historisation purposes? If yes,
I would look into database solutions to do
historization.</p><p>The SQL-MM standard has this as a built-in
tool set for databases, however, PostgreSQL does not
implement this part of the SQL specification (I
believe the latest versions of SQL server and Oracle
12 does). However, you can simulate the same in
Postgis, using triggers and rules.</p><p>Andreas</p><p>On 2015-07-20 08:00, didier peeters wrote:</p>
<blockquote style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">Hello,
<div> </div>
<div>I would like to find the best solution
to the following case:</div>
<div> </div>
<div>in QGis, when editing a polygon
(splitting it in 2 parts) I need to save the
original shape, in order to keep the different steps
of its evolution; this operation is likely to be
repeated several times. The solution I found is to </div>
<div>
<ul>
<li>start by copying the polygon, </li>
<li>then edit it (split) </li>
<li>then pasting back the original one, </li>
<li>then adjust and update the attributes
of the 2 new polygons. </li>
</ul>
<div> </div>
</div>
<div>Is there a less tricky way to achieve
this ? </div>
<div> </div>
<div>If not it would be nice to have an
option in the save dialog (with a default behaviour
set in the Settings), and I would file a feature
request. </div>
<div> </div>
<div>Didier</div>
<br>
<div style="margin:0;padding:0;font-family:monospace">_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<div> </div>
<div> </div>
</div>
</div>
</blockquote>
</div>
<br>
<br>
<div style="margin:0;padding:0;font-family:monospace">_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote><div> <br></div>
<div> </div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Qgis-user mailing list
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></blockquote></div><br></div>