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

rail class not listed under "possible values" for transportation #1578

Open
fynngodau opened this issue Sep 12, 2023 · 1 comment
Open

rail class not listed under "possible values" for transportation #1578

fynngodau opened this issue Sep 12, 2023 · 1 comment

Comments

@fynngodau
Copy link

fynngodau commented Sep 12, 2023

rail is not listed as a possible class value for transportation in the schema. Since I found a railway with the class = subclass = rail using the inspect tool at https://openmaptiles.org/inspect/#13.86/49.7974/9.9361, as seen in the screenshot below, I suspect this to be a bug in the spec.

image

Whatever the cause, either spec or implementation should be updated to avoid bugs in styles.

@TomPohys
Copy link
Member

Thanks for pointing this out. The classes rail and transit are missing in transportation.yaml. The railway_class function should be converted same as highway_class and assign logic should be in transportation.yaml.

PR is very welcome!

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

No branches or pull requests

2 participants