FreemapSlovakia / freemap-v3-react

Freemap Slovakia web application (www.freemap.sk)
https://www.freemap.sk/
Apache License 2.0
35 stars 17 forks source link

Converting gpx to drawing duplicates segments #718

Closed alexanderzatko closed 1 year ago

alexanderzatko commented 1 year ago

When converting gpx files like the attached one to a drawing with tolerance 0, the created line segments are duplicated.

all.gpx.zip

steps to repro:

  1. upload the attached file to the application,
  2. convert to a drawing, with tolerance 0,
  3. click to select one segment and delete it

expected outcome - the selected segment should be deleted and no other should be seen in its place

zdila commented 1 year ago

GPX file is invalid - contains nested <trk> element.