Skip to content
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

Highway shields #78

Open
kylebarron opened this issue Jan 27, 2020 · 3 comments · May be fixed by #80
Open

Highway shields #78

kylebarron opened this issue Jan 27, 2020 · 3 comments · May be fixed by #80

Comments

@kylebarron
Copy link
Contributor

I was reading through the openmaptiles schema and saw that transportation_name had a key named network whose values say whether the motorway belongs to a standard network. (https://openmaptiles.org/schema/#transportation_name)

We could use those values to provide road shields that are more descriptive than a rectangle. This would encompass adding svgs to the sprite for each # of characters of ref

Here are US highway shields
https://commons.m.wikimedia.org/wiki/Category:Diagrams_of_U.S._Highway_shields

CA TransCanada: https://commons.m.wikimedia.org/wiki/File:TCH-blank.svg#mw-jump-to-license

@pathmapper
Copy link
Member

@kylebarron thanks for suggesting, this would be a nice improvement.

We have to make sure that all shields we would use from the links you provided are CC0 and document it (Readme and https://github.com/maputnik/osm-liberty/blob/gh-pages/LICENSE.md).

This would encompass adding svgs to the sprite for each # of characters of ref

A short while ago stretchable icons were introduced in GL JS:

https://blog.mapbox.com/introducing-gl-js-v1-6-0-with-rich-text-labels-96f87830c58f
https://docs.mapbox.com/mapbox-gl-js/example/add-image-stretchable/

Didn't try try them until now, maybe they are an alternative?

@kylebarron
Copy link
Contributor Author

Is CC0 equivalent to public domain?

@boldtrn
Copy link

boldtrn commented Jan 27, 2020

Is CC0 equivalent to public domain?

yes

@kylebarron kylebarron linked a pull request Mar 7, 2020 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants