Skip to content

Replace surface=cobblestone:flattened with surface=set as a mixin spec in default OsmTagMapper - #4683

Merged
t2gran merged 1 commit into
opentripplanner:dev-2.xfrom
Bjoern-Rapp:deafultmapper-surface=set
Jan 3, 2023
Merged

Replace surface=cobblestone:flattened with surface=set as a mixin spec in default OsmTagMapper#4683
t2gran merged 1 commit into
opentripplanner:dev-2.xfrom
Bjoern-Rapp:deafultmapper-surface=set

Conversation

@Bjoern-Rapp

Copy link
Copy Markdown
Contributor

Summary

DefaultMapper use the tag surface=cobblestone:flattened. OpenStreetMap wiki sites surface=cobblestone:flattened as a possible mistagging of surface=sett.
surface=sett is used 310 650 times, while surface=cobblestone:flattened is only used 5 431 times world wide.

This PR suggest to replace surface=cobblestone:flattened with surface=sett as a mixin spec, and to add a mixin spec for surface=unhewn_cobblestone.

Both are tags are already in use in NorwayMapper.

@Bjoern-Rapp
Bjoern-Rapp requested a review from a team as a code owner December 20, 2022 11:39
props.setMixinProperties("surface=cobblestone", ofBicycleSafety(1.3));
props.setMixinProperties("surface=cobblestone:flattened", ofBicycleSafety(1.3));
props.setMixinProperties("surface=sett", ofBicycleSafety(1.3));
props.setMixinProperties("surface=unhewn_cobblestone", ofBicycleSafety(1.5));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this might have an even higher safety value

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. But how much? I thought that 100, like surface=sand, is a slight exaggeration.

@leonardehrenfried leonardehrenfried changed the title Replace surface=cobblestone:flattened with surface=set as a mixin spec in default OsmTagMapper. Replace surface=cobblestone:flattened with surface=set as a mixin spec in default OsmTagMapper Dec 21, 2022
@t2gran
t2gran merged commit de565e5 into opentripplanner:dev-2.x Jan 3, 2023
@t2gran t2gran added this to the 2.3 milestone Jan 3, 2023
t2gran pushed a commit that referenced this pull request Jan 3, 2023
@Bjoern-Rapp
Bjoern-Rapp deleted the deafultmapper-surface=set branch January 16, 2023 13:02
leonardehrenfried pushed a commit to ibi-group/OpenTripPlanner that referenced this pull request Jan 18, 2023
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.

4 participants