-
Notifications
You must be signed in to change notification settings - Fork 819
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
Drawing order in amenity-points sometimes undefined #4676
Comments
We should add |
Yes, that would solve the issue of having an undefined order. Note however the need to have the |
No we don't. All that's actually required for a consistent order between two objects is ordering by osm_id and area, where the latter is a proxy for point/polygon. It's better to have the ordering consistent with feature selection on objects that are multiple things at the same time, but it isn't required to avoid the bug. |
That is what i said. #4631 and #3880 however will not be addressed by such a change. And if splitting a POI node with several primary tags into two nodes changes rendering that is not consistent and irritating for the mapper and might lead to adjusting the mapping to a certain desired rendering outcome. The clean solution for all these issues would be to have a deliberately designed prioritization order (in case of amenity-points based on the starting zoom levels) and to use that for both the |
The amenity-points layer currently orders by score and way_pixels - see
openstreetmap-carto/project.mml
Lines 1694 to 1695 in f066b0b
This problem is distinct from #3880 - which calls for a specific drawing order matching the starting zoom levels.
The drawing order should match the order of the
COALESCE()
for the feature attribute for consistent results between double tagging the same node with two different POI types vs. two separate nodes - see #4631.The text was updated successfully, but these errors were encountered: