-
Notifications
You must be signed in to change notification settings - Fork 21
Corrupted Versioned Layers When Reloading #62
Comments
Can you reproduce with the latest version I sent: there was a major issue with partial checkout (wrong features ids), that may be the source of this problem. If it's not the case, I'll definitely need a precise procedure to reproduce the problem. |
During this past weekend I discovered the problem to my posted issue. Although an "id" field was identified as the primary key when importing a shapefile with DB Manager, this information was not saved in the PostGIS database. Adding the PostGIS layers (after importing the shapefiles) with Layer --> Add Layer --> Add PostGIS Layers, the problem was identified. The "Feature ID" for each layer was not selected. Every time the versioned layers are added to QGIS the Feature ID must be selected. |
I think it is a related to a well known problem in QGIS with primary key (id) and PG views, not the plugin: https://lists.osgeo.org/pipermail/qgis-user/2015-August/033083.html |
Thanks! I appreciate the explanation for the issue I am having.
Scott A. Samson, Extension Professor
Geosystems Research Institute
Mississippi State University
Research Blvd 2
Mississippi State, MS 39762
Email: [email protected]<mailto:[email protected]>
Ph: 662-769-1654
From: gignacnic [mailto:[email protected]]
Sent: Tuesday, April 11, 2017 11:58 AM
To: Oslandia/qgis-versioning <[email protected]>
Cc: Samson, Scott <[email protected]>; State change <[email protected]>
Subject: Re: [Oslandia/qgis-versioning] Corrupted Versioned Layers When Reloading (#62)
I think it is a related to a well known problem in QGIS with primary key (id) and PG views, not the plugin: https://lists.osgeo.org/pipermail/qgis-user/2015-August/033083.html
https://hub.qgis.org/issues/11317
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub<#62 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AZlDPDZphoGivr7GfnHGUzTklGq9KU07ks5ru6MQgaJpZM4M2824>.
|
QGIS 2.18.5 | Versioning plugin 0.6 | Windows 7
After creating a version from a group layer (point, line and polygon layers), and then clearing QGIS of the project, an error occurs when reloading the views for the point and line layers. The polygon layer reloads without a problem (the metadata window is populated). The "properties" for the point and line layers shows the word "error" in the metadata window. I have closed QGIS, re-establish a connection to the database with the same errors with the point and line layers remain. Any thoughts as to why the problems occur with point and line layers?
Thanks for your assistance.
The text was updated successfully, but these errors were encountered: