Skip to content

Conversation

@miklcct
Copy link
Contributor

@miklcct miklcct commented Oct 7, 2025

Summary

This adds walk safety into the base OsmTagMapper, where previously it is always 1 (apart from trunk roads which were set as 7.47 as a recent addition).

This is created as a result of a suggestion by @optionsome to remove the addition of walk safety from #6767, therefore this depends on it.

It shouldn't change any values for subclasses where walk safety are set.

Issue

N/A

Unit tests

Updated.

Documentation

Updated

Changelog

Bumping the serialization version id

miklcct added 4 commits August 6, 2025 12:49
# Conflicts:
#	application/src/main/java/org/opentripplanner/osm/tagmapping/OsmTagMapper.java
#	application/src/test/java/org/opentripplanner/generate/doc/OsmMapperDocTest.java
#	application/src/test/java/org/opentripplanner/osm/tagmapping/GermanyMapperTest.java
#	application/src/test/java/org/opentripplanner/osm/tagmapping/OsmTagMapperTest.java
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/TransitSnapshotTest.snap
#	application/src/test/resources/speedtest/travelSearch-expected-results-bd.csv
#	doc/user/osm/Finland.md
#	doc/user/osm/Germany.md
#	doc/user/osm/OsmTag.md
#	doc/user/osm/UK.md
# Conflicts:
#	application/src/test/java/org/opentripplanner/generate/doc/OsmMapperDocTest.java
# Conflicts:
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/BikeRentalSnapshotTest.snap
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/CarSnapshotTest.snap
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/ElevationSnapshotTest.snap
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/TransitSnapshotTest.snap
#	application/src/test/resources/speedtest/travelSearch-expected-results-bd.csv
#	application/src/test/resources/speedtest/travelSearch-expected-results-mc.csv
#	application/src/test/resources/speedtest/travelSearch-expected-results-md.csv
#	application/src/test/resources/speedtest/travelSearch-expected-results-sr.csv
# Conflicts:
#	application/src/main/java/org/opentripplanner/osm/tagmapping/OsmTagMapper.java
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/ElevationSnapshotTest.snap
#	doc/user/osm/Finland.md
#	doc/user/osm/Germany.md
#	doc/user/osm/OsmTag.md
#	doc/user/osm/UK.md
# Conflicts:
#	application/src/main/java/org/opentripplanner/osm/tagmapping/OsmTagMapper.java
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/BikeRentalSnapshotTest.snap
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/CarSnapshotTest.snap
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/ElevationSnapshotTest.snap
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/TransitSnapshotTest.snap
#	application/src/test/resources/speedtest/travelSearch-expected-results-mc.csv
#	application/src/test/resources/speedtest/travelSearch-expected-results-md.csv
#	application/src/test/resources/speedtest/travelSearch-expected-results-srr.csv
#	doc/user/osm/Finland.md
#	doc/user/osm/Germany.md
#	doc/user/osm/OsmTag.md
#	doc/user/osm/UK.md
@codecov
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

❌ Patch coverage is 97.32143% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.13%. Comparing base (ca8971f) to head (959944c).

Files with missing lines Patch % Lines
...lanner/osm/wayproperty/MixinPropertiesBuilder.java 80.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #6944      +/-   ##
=============================================
- Coverage      72.20%   72.13%   -0.08%     
- Complexity     20134    20149      +15     
=============================================
  Files           2183     2183              
  Lines          81108    80882     -226     
  Branches        8144     8146       +2     
=============================================
- Hits           58561    58341     -220     
- Misses         19666    19667       +1     
+ Partials        2881     2874       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

# Conflicts:
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/ElevationSnapshotTest.snap
# Conflicts:
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/BikeRentalSnapshotTest.snap
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/ElevationSnapshotTest.snap
#	application/src/test/java/org/opentripplanner/routing/algorithm/mapping/__snapshots__/TransitSnapshotTest.snap
#	doc/user/osm/Finland.md
#	doc/user/osm/Germany.md
#	doc/user/osm/OsmTag.md
#	doc/user/osm/UK.md
@t2gran t2gran added this to the 2.9 (next release) milestone Nov 19, 2025
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.

2 participants