Skip to content

Fix OSM→OSW conversion when OSM Way contains consecutive duplicate nodes#49

Merged
sujata-m merged 1 commit into
developfrom
bugfix-3286
Apr 20, 2026
Merged

Fix OSM→OSW conversion when OSM Way contains consecutive duplicate nodes#49
sujata-m merged 1 commit into
developfrom
bugfix-3286

Conversation

@wisamuw
Copy link
Copy Markdown
Contributor

@wisamuw wisamuw commented Apr 13, 2026

https://dev.azure.com/TDEI-UW/TDEI/_workitems/edit/3286

PR Title

Fix OSM→OSW conversion when OSM Way contains consecutive duplicate nodes

PR Summary

  • Fix OSM→OSW conversion when OSM Way contains consecutive duplicate nodes (bug 3286). Instead of generating an invalid 0 length geometry, the segment is ignored.

  • Tested on file attached to dev board bug: osm.b8106236-b919-4e50-b956-99399635c0bb.xml

  • Added a new unit test

https://dev.azure.com/TDEI-UW/TDEI/_workitems/edit/3286

**PR Title**

Fix OSM→OSW conversion when OSM Way contains consecutive duplicate nodes

**PR Summary**

- Fix OSM→OSW conversion when OSM Way contains consecutive duplicate nodes (bug 3286). Instead of generating an invalid 0 length geometry, the segment is ignored.

- Tested on file attached to dev board bug: osm.b8106236-b919-4e50-b956-99399635c0bb.xml
- Added a new unit test
@sujata-m sujata-m merged commit 0b4ead9 into develop Apr 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants