-
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
Add rendering for leisure=dog_park #341
Comments
Currently, leisure=dog_park is never rendered. See also https://trac.openstreetmap.org/ticket/2482. |
Given some recent objects I've come across, it would be interesting to see these rendered (darker/hatched green? little dog image inside?), and with waste=* tags and the waste bins starting to be rendered, these combined features would make dog walking a useful application of OSM :) |
There are standalone dog parks, too, and it’s unfortunate that those parks are left unstyled and unlabeled. |
I think that might be another candidate to have colored borders. |
I propose a highly transparent black fill (won't change colors), eg rgba 0,0,0,0.15 These will typically have fences, hence an outline. |
Based on the icon contributed by Giardia, I have created a first draft of this feature. Comments welcome.
I have omitted the outline, because the tag ExamplesScreenshots from Kosmtik. Please ignore the misaligned bridge, that was a mistakenly moved point since restored. Zoom 16Zoom 17Zoom 18Zoom 19 |
Nice idea, but looks to me too like natural=scrub. Could you try to modify it to be easier to recognize? |
Thanks, it works for me! |
Great. PR will follow when I finish implementing the bit for point as well as the area. |
Dog parks are rendered in a slightly darker shade of the fill colour used for parks. The 'paw' icon is based on work contributed to the public domain by Trac user Giardia¹. This closes gravitystorm#341. 1: https://trac.openstreetmap.org/ticket/2482
Points now show just the paw icon. I am happy with the polygon area, which in this sample has a name, but I can't figure out how to render the name of the point below its icon, without also moving the text of the polygon down. That is, I can add |
Dog parks are rendered in a slightly darker shade of the fill colour used for parks. The 'paw' icon is based on work contributed to the public domain by Trac user Giardia¹. This closes gravitystorm#341. 1: https://trac.openstreetmap.org/ticket/2482
Dog parks are rendered in a slightly darker shade of the fill colour used for parks. The 'paw' icon is based on work contributed to the public domain by Trac user Giardia¹. This closes gravitystorm#341. 1: https://trac.openstreetmap.org/ticket/2482
Looks nice, thanks for your work! For areas, we use italic text that scales with area size. See for example the rules for the text for forest. Perhaps it works to create two different rules, one for areas and one for points? I don't think we currently distinguish between areas and points, but maybe it works to pass an extra constant in the relevant SQL queries (there is one query for areas and one for points)? |
Dog parks are rendered in a slightly darker shade of the fill colour used for parks. The 'paw' icon is based on work contributed to the public domain by Trac user Giardia¹. This closes gravitystorm#341. 1: https://trac.openstreetmap.org/ticket/2482
Perhaps I'll leave it like this for now. If a dog park has a name, it won't be shown if the park is defined on a point, but behaves as expected when defined on a polygon. Most dog parks appear to be polygons. I have no idea how many dog parks actually have names — the one I added (and which lead me to this issue) is part of a larger park. |
I think detail mapping with a name is often combined with mapping as an area. |
leisure=park is used for public recreation spaces in Brazil. These parks can contain dog parks. But leisure=dog_park isn't rendering over leisure=park. See here.
It would be interesting a leisure=garden similar rendering, adding a soft edge in order to contrast the green background.
The text was updated successfully, but these errors were encountered: