<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You could also have a look at Vincent Mora’s recent work at Oslandia : <a href="https://github.com/Oslandia/qgis-versioning">https://github.com/Oslandia/qgis-versioning</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hugues.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>De :</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> postgis-users-bounces@lists.osgeo.org [mailto:postgis-users-bounces@lists.osgeo.org] <b>De la part de</b> José Carlos Martínez Llario<br><b>Envoyé :</b> jeudi 5 juin 2014 18:51<br><b>À :</b> postgis-users@lists.osgeo.org<br><b>Objet :</b> Re: [postgis-users] Versioning system to use with QGIS + Postgis<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-GB>Hi,<br>pgversion is a nice approach and there is a QGIS plugin too.<br><br>I tried it a couple of years ago and I liked it.<br>It is programmed using plpgsql so you can improve it or study the source code easily<br><br></span><a href="http://www.kappasys.ch"><span lang=EN-GB>http://www.kappasys.ch</span></a><span lang=EN-GB><o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-GB>On 05/06/2014 18:43, Alexandre Neto wrote:<o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><p class=MsoNormal><span lang=EN-GB>Hello all,<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=EN-GB>I have been working on a versioning system to be used with QGIS. <o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>This is probably a very naive approach since I'm no expert in Postgres, but I would like to ear some comments and suggestions to improve it.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>The work is based on the versioning system of QGIS, but I wanted to improve two things:<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>1 - Keep always the same primary key of features;<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>2 - Only save\backup changed columns instead of the full similar rows;<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>Thanks for your help<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB>Alexandre Neto<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-GB><br><br><o:p></o:p></span></p><pre><span lang=EN-GB>_______________________________________________<o:p></o:p></span></pre><pre><span lang=EN-GB>postgis-users mailing list<o:p></o:p></span></pre><pre><a href="mailto:postgis-users@lists.osgeo.org"><span lang=EN-GB>postgis-users@lists.osgeo.org</span></a><span lang=EN-GB><o:p></o:p></span></pre><pre><a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users"><span lang=EN-GB>http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</span></a><span lang=EN-GB><o:p></o:p></span></pre></blockquote><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-GB><o:p> </o:p></span></p><pre>-- <o:p></o:p></pre><pre>------------------------------<o:p></o:p></pre><pre>José Carlos Martínez Llario<o:p></o:p></pre><pre><a href="http://cartosig.upv.es">http://cartosig.upv.es</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Producción Cartográfica y SIG.<o:p></o:p></pre><pre>Dpto. Ingeniería Cartográfica.<o:p></o:p></pre><pre>Univ. Politécnica de Valencia.<o:p></o:p></pre><pre>------------------------------<o:p></o:p></pre></div></body></html>