-
-
Notifications
You must be signed in to change notification settings - Fork 17
Configuration for display of historical and future railways #600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Depends on maplibre/maplibre-gl-js#6495 to ensure source data is not loaded if the layer is disabled through |
| </div> | ||
| <small class="form-text"> | ||
| Control how historical railway infrastructure should be shown on the map.<br> | ||
| <b>Note:</b> Tagging and non-existing features in OpenStreetMap like demolished railways is <a target="_blank" href="https://wiki.openstreetmap.org/wiki/Demolished_railways">discouraged</a>. It is encouraged instead to use the OpenHistoricalMap to create and maintain historical data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "and" shouldn't be here or a word is missing.
|
This will become possible with the work in maplibre/maplibre-style-spec#1359 and maplibre/maplibre-gl-js#6659. |
|
Design proposal for MapLibre style specification to support expressions for |
Part of #495
Related to #246 and #336.
There are requests to be able to render abandoned and razed railways, together with the existing infrastructure. This pull request makes that possible, either by including the OpenHistoricalMap data in the main infrastructure layer, or by showing the abandoned and razed railways. For future railways, the same can be chosen: railways under construction or also those proposed.
Changes:
Work in progress, needs more work to make the UI logical for integrating historical railways with or without date.
Depends on maplibre/maplibre-gl-js#6495 to ensure source data is not loaded if the layer is disabled through global-state.
Configuration
Future infrastructure
(http://localhost:8000/#view=14.87/50.94355/10.99233)
Enabled:

Disabled:

Historical infrastructure
(http://localhost:8000/#view=12/50.62073/12.34528)
OpenStreetMap:

OpenHistoricalMap:

(http://localhost:8000/#view=12/50.62073/12.34528)
OpenStreetMap:

OpenHistoricalMap:

(http://localhost:8000/#view=17.53/51.178254/12.389887)
OpenStreetMap:

OpenHistoricalMap:
