Skip to content

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

Open
wisamuw wants to merge 1 commit intodevelopfrom
bugfix-3286
Open

Fix OSM→OSW conversion when OSM Way contains consecutive duplicate nodes#49
wisamuw wants to merge 1 commit intodevelopfrom
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
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