-
Notifications
You must be signed in to change notification settings - Fork 66
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
Rename shield image names based on structured route properties #1032
Conversation
Now that openmaptiles/openmaptiles#1620 has been merged, this PR can proceed. We'll hold off on the final merge until the tiles are updated. Alternately, if the tiles are updated before the PR is ready, I think that means this PR will become a critical fix for Americana as well as other downstream styles such as AARoads or Gnome? |
GNOME Maps doesn’t use Americana tiles, but Overpass Ultra does. |
20cc5ce
to
b641f58
Compare
We should be able to use: As the current live-updating bleeding-edge planet. Also we should get all existing shield clients to make this change and switch to that endpoint. That should allow for a clean transition. Inspect link here: |
The name of each shield image in the style is now based on structured route properties and can includes the route name and color.
a9841d5
to
f83d0fe
Compare
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.
LGTM!
This is a
proof of concept forrefactor integrating openmaptiles/openmaptiles#1620, which restructures thetransportation
layer’s feature properties to put route relation tags in structured properties instead of the inflexiblenetwork=ref
mini-language. This PR also plumbs route names (as opposed to road names) and route colors through to the shield selection code, though support for route colors will require an additional change to the shield library not included here.