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

Interstate names #4

Open
pnorman opened this issue Nov 7, 2014 · 0 comments
Open

Interstate names #4

pnorman opened this issue Nov 7, 2014 · 0 comments

Comments

@pnorman
Copy link
Contributor

pnorman commented Nov 7, 2014

linear_label.mss contains

#vector_linear_labels::limited_access_hwy {
  ::freeway_text[rclass=0] {
/* label code */
  }
}
/* this layer prevents surface street text from crossing over highways */
#highway_overlay [zoom>=11][rclass=0][ramp!=true] {
/* code to stop labels from placing here */

#vector_linear_labels::surface_features {
/* label code for the rest of the road classes */
}

A previous file contains road shields.
It looks like intent was to display shields, freeway names, and then other names, preventing the other names from rendering across freeways. This is not the effect.

Because highway_overlay comes before vector_linear_labels in the vector tiles, the limited_access_hwy MSS will never render with z>=11 and ramp!=true.

This should be refactored to put all freeway labels before blanking.

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

1 participant