-
Notifications
You must be signed in to change notification settings - Fork 823
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
Skipping parts of bigger objects on lower zoom levels #2896
Comments
Two partial solutions to make some areas more visible:
Examples:
I haven't yet look how it's done and if it's possible for us to do the same. The other problem is that we use dark violet for other features, so buildings on industrial area would look to close to them. However for societal amenities, commercial and garages this would help. |
This is the same approach as Google's. The problem is particularly important for landuse=retail: the retail color is generally not visible, because retail areas in Europe tend to be very high densitiy areas. Example: https://www.openstreetmap.org/#map=16/52.0774/4.3125 |
I think it's also important for schools and hospitals, because we use very pale color there. I guess it's this code: https://github.com/kartotherian/brighmed/blob/master/building.mss |
"The problem is particularly important for landuse=retail: the retail color is generally not visible, because retail areas in Europe tend to be very high densitiy areas." I agree with this! It's also true in mid-sized towns and villages here in Asia, where retail areas often have 90% building coverage of the non-street surface area. As a start, rendering retail buildings as a darker version of the retail landuse would be a nice test for this concept, especially since retail areas are the most important destinations for visitors and new residents. (The OsmAnd app already offers this as an option with their vector-based maps, and it works well) |
Unfortunately there's no easy way to tell "now hide the grass and show the hospital area", even on z13. |
I don't believe there is a reasonable way to solve this issue with the current tools, so I'm closing this issue. However, if I'm incorrect I would be happy to reopen the issue. Is there a way to avoid rendering footways in a cemetery, shops in a marketplace, or grass in a hospital or university at a certain zoom level (but still render paths, shops and grass which are not inside of these areas), with performance good enough for this style? |
What about SQL/PostGIS functions to check conditions like below (using pseudocode)? I imagine it might be quite fast: SELECT grass WHEN not INSIDE (hospital_area OR school_area) |
Is it possible to skip rendering parts of bigger objects on some zoom levels?
I meant well mapped cases like:
I doubt in any special tagging, it would be good if the software would be able to make "hard" priorities for some areas, but maybe using relations would be the most reasonable way to recognize parts in general. Would it work within our current toolbox?
The text was updated successfully, but these errors were encountered: