Is it possible to compare two versions of a shp-layer, mostly automatically?
I want to know whether two vector point layers are identical or at least: is layer A part of layer B, concerning not only the point coordinates but also their attributes. Have attributes (like objecttype, date, size, owner etc.) changed? The data consist of up to some hundred items with 10-20 attributes so that comparing by hand is not the first thing to do.
An extended solution would be a function similar to MS Word "compare two versions of a document".
Any ideas around there?
2 Kommentare
Lukas Goldmann sagt:
There is a new tool in QGIS 3.12 upwards at Processing Toolbox > Vector General > Detect Dataset Changes.
See: https://gis.stackexchange.com/questions/388220/compare-two-shapefiles-by-location-and-attribute-in-qgis/388485#388485
Rainer Komp sagt: Autor
Thanks for this hint, Lukas.
The tool is a quite fine approach. You can compare changes in geometry only or additionally selected attributes.
It results in 3 new layers:
a) unchanged features, which contains all untouched items
b) deleted features, which contains all removed or changed (!) features
c) added features, which contains all new items as well as shifted items or items with edited attributes
So, you get a somewhat simple overview what to compare manually in detail.