Skip to content

[0.3.3 BUG-3477] Develop to Main#48

Merged
sujata-m merged 2 commits into
mainfrom
develop
Apr 13, 2026
Merged

[0.3.3 BUG-3477] Develop to Main#48
sujata-m merged 2 commits into
mainfrom
develop

Conversation

@sujata-m
Copy link
Copy Markdown
Contributor

Dev Board Ticket

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

Changes

This PR fixes several OSM→OSW regressions around ext:* tags and export classification.

  • Semantic feature recognition now uses canonical OSM tags only; ext:* tags are preserved as extensions instead of being treated as feature-defining tags.
  • Closed ext-only ways such as ext:demolished:building=yes now export correctly as polygons and no longer fall through to point geometry construction, which previously caused KeyError: 'lon'.
  • GeoJSON export now keeps topology endpoint points in nodes.geojson, ensuring edge _u_id and _v_id references remain OSW-compliant during roundtrip validation.
  • Added regression coverage for bug_3477, serializer-level node/point remapping, and the OSW compliance failure.
  • Bumped the package version to 0.3.3 and updated the changelog.

Testing

  • Updated existing unit test cases
  • Added 2 new unit test cases

sujata-m and others added 2 commits April 10, 2026 16:12
## Dev Board Ticket

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

## Changes
**PR Title**

Fix OSM→OSW handling for ext-only geometries and node reference export

**PR Summary**

This PR fixes several OSM→OSW regressions around `ext:*` tags and export classification.

- Semantic feature recognition now uses canonical OSM tags only; `ext:*` tags are preserved as extensions instead of being treated as feature-defining tags.
- Closed ext-only ways such as `ext:demolished:building=yes` now export correctly as polygons and no longer fall through to point geometry construction, which previously caused `KeyError: 'lon'`.
- GeoJSON export now keeps topology endpoint points in `nodes.geojson`, ensuring edge `_u_id` and `_v_id` references remain OSW-compliant during roundtrip validation.
- Added regression coverage for `bug_3477`, serializer-level node/point remapping, and the OSW compliance failure.
- Bumped the package version to `0.3.3` and updated the changelog.

## Testing
- Updated existing unit test cases
- Added 2 new unit test cases
Fix OSM→OSW handling for ext-only geometries and node reference export
@sujata-m sujata-m requested review from MashB and susrisha April 10, 2026 10:52
@sujata-m sujata-m merged commit 88851a8 into main Apr 13, 2026
2 checks 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