-
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
Cemeteries rework in SVG #2714
Cemeteries rework in SVG #2714
Conversation
46f361d
to
5eb9801
Compare
The icon density looks too high. I'd go for spacing them out more, and possibly adjusting the weight of them, Can we deal with all the cemeteries in one PR? The above comment applies to all of the patterns. |
The weight seems to be because of less blur with vector icons, so I don't know what should we change. With 16x16 px matrix and 10x9 px symbols I'm also not sure how to tune it. 32 px matrix gives much higher spacing, smaller symbols might be unreadable. Maybe 18 px matrix was OK - why do you claim it should be power of 2? Or what other options do you propose? Yes, if we'll find what we want to do, I can make one PR for all the cemeteries. |
The tile edges need to align with the pattern edges. This means the pattern size needs to be made from the factors of the tile size, which are all 2. |
I thought so. But with 18 px elements it should be something wrong every (256/18=14.2...) 14 rows and columns, while I see just one strangely aligned column here (instead of expected about 5) and no strange rows (instead of expected about 2), which makes me think there's some other problem: http://www.openstreetmap.org/#map=19/52.24621/20.97196 What do you think about it? |
There are rows with problems too. Varying metatile sizes mean that you won't see exactly the same patterns, but a pattern that goes evenly into 256 is always safe. |
So what path you're inclined to follow - 16 px everywhere to avoid even slight aligning problems, but more dense for bigger symbols (jewish, muslim), 18 px with exactly opposite properties or maybe something else? Also what about weight - maybe we should just use lighter shade of green? |
I'm inclined towards a 32px interval and keeping the visual weight of a single symbol the same. I've long felt the pattern is too dense, and that's feedback I often get from others. If we wanted something closer to what we have right now, we could go with 7 symbols in a 128x128 grid, and a spacing of 18px between 6 of them. The other and where it loops around would then be 17px.
is kinda what it would look like, with | being the 128px bounds, and the numbers being the distance between symbols, which are But 32px is much easier. |
If I understand you, it means probably that we have to use different shades of green, because christian symbol is pretty much the same, but jewish one is darker. I would rather use lighter shade for all of them. |
Keep the visual weight of the symbol the same as the existing symbols. |
5eb9801
to
4552c67
Compare
4552c67
to
feef058
Compare
I've had success with the existing size at 32px spacing, using https://github.com/kartotherian/brighmed/blob/master/symbols/patterns/cemetery.svg to get That's a different colour scheme, of course, but I like the overall balance of it. |
But what about different symbols? Do we accept the fact that christian/generic symbols would be small and jewish/muslim would be big or maybe also small but harder to recognize? |
I have no idea how these PNGs were made and rasterization would be made by Mapnik now, so of course exact recreation is not possible. Just to make sure - you'd like a version from this comment?: |
It looks like jewish symbol for cemeteries was simply imported from previous (XML-based) style implementation as Generic jewish symbol was recreated in SVG by @nebulon42 as So the problem exists probably for both jewish symbols files (generic and cemetery), but we just haven't noticed the change for a generic jewish symbol before. We have no control over Mapnik rasterization process and it doesn't look like the problem with our SVGs (see also #2727 (comment)). I think the most important thing is that cemetery type should be clear, not recreating the same image. |
I find the previous images clearer. Given that the previous images work better, I'd rather stick with them. |
OK, I can leave jewish symbol for cemeteries as PNG (and just make it fit 32 px matrix). With other symbols (generic, muslim and christian) I see no such problem, so I will recreate them in SVG. |
feef058
to
a218e04
Compare
a218e04
to
3fd33df
Compare
Resolves #2638.
Warsaw, z19
Before
After