-
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
Render amenity=food_court #1040
Conversation
There is an alternative symbol on osm-icons: http://osm-icons.org/wiki/File:12050.svg |
@math1985 Thanks for the hint. Current practice is using PNG versions, not SVG versions, right? |
@sommerluk The PNG versions are generated from SVG by the scripts here: https://github.com/twain47/Open-SVG-Map-Icons/tree/master/tools There seems to be no documentation, if you can't figure out how to use the script(s) yourself I can have a look. |
@sommerluk Can you rebase this PR into a single commit? |
@math1985 The scripts work (with warnings, but they work). The SVG file itself needs some adoptions in order to work with the scripts. Result in size 16 and 20: How is the policy about icon size? There seem to be some icons at size 16 and others at size 20. @mkoniecz Could you give me a little hint how to do the rebase? |
http://git-scm.com/book/ch3-6.html (with goal of merging these two commits - "Render also a label" should not be a separate in master - https://github.com/gravitystorm/openstreetmap-carto/commits/master ) |
I think that current form (render it like amenity=restaurant) may be OK and it is not adding any icons. ("may" is caused by fact that I have no knowledge needed to decide whatever "render it like amenity=restaurant" is a good idea). |
What are these adoptions? I only ran the script on SJJB's own icons, not on the derived osm-icons. It's a shame the osm-icons are not suitable to plug in the script directly.
There is at the moment no policy, which is exactly the reason why I prefer solving #710, and indeed #974 as well, first. Adding new icons becomes much easier once there is some consistency in the current icons... |
BTW, it would fix #868 |
Updated the first message so Github will close it automatically once this gets merged. |
The helper script recolor.sh searches within the SVG file for “fill:#111111” and similar things and it replaces them by another color. This works fine in statements like |
Thanks! Shame that the guy from osm-icons didn't take the scripts into account. Did you mean to close the issue? |
No, was just closed by mistake, sorry. Reopening. |
@mkoniecz After various tries, I still could not unify the two commits. If there is interest in merging this “as is” (rendering like restaurant, without an own icon), I can provide a new PR with only one commit. If we want an own icon, we have to decide on the size … |
Render amenity=food_court
Thanks! |
Currently, there isn't any rendering for food courts (amenity=food_court). It would be nice to add this. It could be rendered the same way like amenity=restaurant.
Fixes #868.