-
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
Artifacts in plant_nursery pattern #2771
Comments
This is because 6 (the distance) is not a divisor 128 (the pattern size), so obviously using 8 as distance fixes this. This is independent of #2750 and applies to both SVG and PNG. As rendering is pixel-aligned and the symbol is a simple pixel, this pattern might likely work as SVG. |
Well, no SVG this time, since it also uses gamma (like an orchard): openstreetmap-carto/landcover.mss Lines 161 to 173 in dbc633a
|
Closing this as a small problem which I'm not going to investigate deeper at the moment. It can be reopened if needed, of course. |
Follow up to #2759 (comment).
Current plant_nursery pattern is not regular - there are subtle artifacts (some rows and columns are bit wider):
It's visible in pattern generator with current settings:
http://www.imagico.de/map/jsdotpattern.php#x,128,jdp32360;gv,6,32,32;rd,1,0,0,pixel,0.125,4,4,0,jdp23814,749d6c,aedea3
Changing distance from 6 to 8 seems to be enough to get rid of this effect:
http://www.imagico.de/map/jsdotpattern.php#x,128,jdp32360;gv,8,32,32;rd,1,0,0,pixel,0.125,4,4,0,jdp23814,749d6c,aedea3
The question is if it would be safe to produce SVG version or just recreate PNG image with a fixed pattern?
The text was updated successfully, but these errors were encountered: