Feature/tunnel support#4
Conversation
Adds support for the OSM tunnel tag on piste and aerialway/railway ways, which indicates the feature passes through a tunnel rather than over a mountain. True for any tunnel value (yes, avalanche_protector, building_passage, etc), null if untagged. See: https://wiki.openstreetmap.org/wiki/Key:tunnel Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Ensures dist/ is built when installing from a git URL (e.g. for cross-repo development before publishing to npm). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@pranet can you also open a PR on the If you want to additionally adjust the map rendering, the property will also need to be added to on the MapboxGLRunProperties / MapboxGLLiftProperties types in that repo. For the rendering, the map style is not open source on github but you can modify the style (https://tiles.openskimap.org/styles/terrain_v2.json) using https://maputnik.github.io/ attach your update and I can apply the changes manually |
|
Yep I was able to test out changes to the openskidata-processor and openskimap.org repositories to verify tunnel info gets correctly propagated and displayed in the sidecard(without affecting map rendering for now) . Let me send the PRs shortly. |
|
@russellporter russellporter/openskidata-processor#40 is the processor PR. It does have a temporary change to package.json which I'll be able to remove once this openskidata-format PR is merged and new npm package is available. |
|
@russellporter russellporter/openskimap.org#174 is one of the UI PRs. Same temp change dependency as the processor one. |
Add tunnel property to RunProperties and LiftProperties
Adds support for the OSM tunnel tag on piste and aerialway/railway ways,
which indicates the feature passes through a tunnel rather than over a mountain.
True for any tunnel value (yes, avalanche_protector, building_passage, etc),
null if untagged.
See: https://wiki.openstreetmap.org/wiki/Key:tunnel
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com