This executable will compare vector archives and output the differences as well as a union of both inputs. We establish one as the new and the other as the old archive and output appearances, disappearances, and union archives.
Execute with:
./compareRecords <oldArchivePath> <newArchivePath> <attributeName> <outputPath>
- Records that appear in the new archive and not in the old will be designated as appearances.
- Records that appear in the old archive and not in the new will be designated as disappearances.
- The attribute name is the field name in the attribute table by which you would like to make the comparison. This value should be unique for each record.
- outputPath will be the location where outputs will be written. They will be named :
- appearances.shp
- disappearances.shp
- union.shp