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

way_area vs way_pixels #1094

Closed
matkoniecz opened this issue Oct 26, 2014 · 1 comment
Closed

way_area vs way_pixels #1094

matkoniecz opened this issue Oct 26, 2014 · 1 comment

Comments

@matkoniecz
Copy link
Contributor

way_area is not an intuitive unit, it is quite easy to convert it in SQL to in my opinion much better way_pixels[1]. way_pixels also converts nicely from zoom level to zoom level allowing less complicated conditional structures. I propose to replace all usage of way_area in .mss files by way_pixels.

It would affect only amenity-points (10 occurrences - for leisure=playground and displaying names of water bodies).

Related to #710

[1]way_area/(!pixel_width!*!pixel_height!) AS way_pixels

@pnorman
Copy link
Collaborator

pnorman commented Oct 26, 2014

duplicate of #703 (see #703 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants