ngageoint / hootenanny

Hootenanny conflates multiple maps into a single seamless map.
GNU General Public License v3.0
356 stars 74 forks source link

Linear Rivers (BH140) - Complete duplicates on Hootenanny export #5232

Open tdvorakcaci opened 2 years ago

tdvorakcaci commented 2 years ago

Describe the bug Single River line features imported resulted in complete duplicate River Line features at export using Hootenanny. These features appear as single features in JOSM.

To Reproduce Steps to reproduce the behavior:

  1. See screenshot below
  2. Import MGCP TRD v4.5.1 data with Hootenanny
  3. Export data with MGCP schema switcher with Hootenanny

Expected behavior Features not duplicated on Hootenanny export

Screenshots Near 42.852270 12.092244, neon green rivers are complete duplicates. Top table shows selected original MGCP TRD 4.5.1 River line at import, and bottom table shows selected Hootenanny River lines exported. These exported River lines are complete duplicates with identical GUIDs as the imported feature. image

Desktop (please complete the following information): N/A

Smartphone (please complete the following information): N/A

Additional context N/A

MikeTho16 commented 2 years ago

Some observations:

MikeTho16 commented 2 years ago

I tried "importing" (not "uploading", just "importing") just the WatercourseL features and then immediately exporting, and the problem was not reproduced. Therefore, it is either caused during the "upload", it is dependent on "importing" all of the data (all of the feature types), or this was a random glitch (which would be bad). I do not want to try the "upload" until I have shifted the data to a different location so I do not overlay the data we already have in our instance.

tdvorakcaci commented 2 years ago

I did check these features in JOSM, and they do appear to be single features when that data is loaded in JOSM.

MikeTho16 commented 2 years ago

@tdvorakcaci if by "in JOSM" you mean downloaded from the server, then I am seeing something different.
image The duplicates are on the server, and thus the issue was in the "import" or "upload", not the export.

MikeTho16 commented 2 years ago

In Hoot I tried "Derive Changeset" on the rivers I uploaded and then exported the resulting .osc file. The duplicates are not present in the .osc (at least not the same ones that were present before).

MikeTho16 commented 2 years ago

I uploaded the above "derived changeset", but the rivers that were previously duplicated were not duplicated in this shifted dataset of rivers. Perhaps the duplicates were a onetime glitch, or only happen when all of the other feature classes are uploaded as well?