-
Notifications
You must be signed in to change notification settings - Fork 66
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 school icons #689
Add school icons #689
Conversation
Thanks, this looks great! I appreciate the retro school icon from old maps. Really fits the "Americana" theme in the traditional sense. I did notice that the knockout on the icon seems to be thicker than that of the other icons, and I wonder if the contributing guidelines need to be tweaked. Below are the settings I used in Inkscape on the coffee cup, and I want to specifically point out the "Order" section with the six buttons. I'm not sure how I arrived at 2.555 pixels but I'm pretty sure if I'd been more competent about graphic design, I'd have aligned the icon to the grid in a more sensible way: |
Shields only have a 1px border, so maybe we should stick with a 1px knockout. Should we use this POI icon for |
1px sounds right, so if that 2.5555 were actually 2, that would result in the 1px knockout. |
I meant that if you change the overlap order to the top-center option, half of the stroke width is covered by the fill. So my 2.555px stroke was actually 1.25px ish. |
You're right, my bad 😄 Workflow is pretty much the same in that case, just use 2px instead of 1px. |
We could. I left them out for now, since a lot of maps differentiate them. A few posted in #78 add a second flag, but there are other icons available, like a mortarboard cap or something. Higher education institutions tend to be more important in a city-wide orientation sense than schools, so they should probably appear at lower zooms as well. Maybe I'll open a separate issue. |
It is less thickness for sure than the coffee/bar icons, but based on the discussion above, it sounds like that's because the coffee/bar knockouts are wrong :) |
I'm happy leaving higher education for a separate PR/discussion, it doesn't have to be tackled here. |
Nice work! I'm not sure that the specific feature name (i.e. the name of the school) needs to be shown in the legend though, I think simply showing the icon and "School" is sufficient and saves space |
That is a generic capability of the legend, not a specific feature implemented by this PR. |
|
Ah, gotcha, thanks! |
Per discussion in PR
I believe we also need to make additions to our taginfo file. |
Co-authored-by: Brian Sperlongano <[email protected]>
Co-authored-by: Brian Sperlongano <[email protected]>
Co-authored-by: Brian Sperlongano <[email protected]>
I've added colleges, universities, and kindergartens to the PR. I'll open separate issues to track rendering these differently than primary/secondary schools.
I think I've done this correctly? Someone should probably double check... |
There isn't really a way to test it beyond checking taginfo the next day, so generally if it doesn't blow up the linter, all we can do is go by eyeball and post a change later if something is wrong. In any case, if our taginfo JSON has a problem, it's not a big deal if our project isn't listed in taginfo for a day! |
Test renderings: College: City College of San Francisco (localhost link) University: University of California, Los Angeles (localhost link) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the discussion in #689, update the contributor guidelines to specify a 1px knockout.
Adds school POI icons. Fixes #78, and makes progress on #435.
In #78, a wide variety of US road maps were shown, a sizeable proportion of which displayed schools as some variation of a flat-roofed building topped by a pennant-shaped flag and flagpole. The icon I propose adheres to this design, although there's room for stylistic choice regarding the location, size, and direction of the flag.
I colored the icon "infrastructure blue" to adhere to the Contributing Guide, with the specified 2px-wide knockout. In the future, a separate color could be considered, especially in conjunction with an area fill if one is desired.
Location: San Francisco, CA (localhost link)
Right now I've selected it to appear at zoom 15, the same as hospitals. Browsing around, it may be better for both of these icons to appear even earlier, but a decision can wait until there are more POIs to compare to.
Location: Beverly Hills, CA (localhost link)
This PR does not render colleges/universities or preschools. It also does not differentiate between different grade levels, as proposed in #78. It's unclear if such differentiation is possible with current tagging practices, but if so, there's probably room in the "building" icon, or to the right of the flagpole, for a letter. There's also no distinction between public/private/religious, though that could also be added in the future, perhaps through inverting the fill or changing the flag to a different symbol.
Location: Salinas, CA (localhost link)
Also adds a legend entry, which is just "School".
Location: Kingman, AZ (localhost link)
Interaction with other features:
Location: New York, NY (localhost link)
This is my first PR, and I think the first PR for POIs after the original (#387), so I hope I haven't missed anything!