-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
symbol icons clipped at tile boundaries #1271
Comments
What's the tile buffer when generating with tippecanoe? |
Looks like it just used the default for buffer, which according to the tippecanoe docs is 5. The screen shot above was ~ z6-z7 or so, and |
Does using a larger buffer fix the issue? |
@jfirebaugh Will check it out with the vector tile source. What's a good size to use? Meanwhile, it looks like the buffer option in |
@anandthakker good call about GeoJSON, it should. Could you hardcode it there and see if the GeoJSON issue you're seeing is gone? |
It could also be that the data thinning for low zoom levels isn't consistent between tiles. If this is the case, it doesn't matter if the buffer is big enough. Symbols that are allowed to overlap are clipped at tile boundaries so that sorting by the y position works correctly near tile boundaries: mapbox/mapbox-gl-native#1673 If inconsistent thinning is the problem this could be fixed by:
|
@mourner sure thing. Will check it out when I'm back at my computer. |
I'm pretty sure @ansis is right and the problem is that the point-dropping isn't consistent between tiles. I'm working on some line-dropping changes now in mapbox/tippecanoe#55 that require adjacent tiles to be consistent, so maybe I could do something similar for dots. |
@mourner @jfirebaugh @ansis Just tried hardcoding the GeoJSON source to Slightly related question: where can I go to understand how these buffers work? (So that I can get a sense of how to choose the right size?) |
@mourner would you be open to a PR that exposes the |
@anandthakker sure! |
I've a similar example where location names as symbols appear to be being cut off on tile boundaries. Closer inspection when zooming suggests that they are not getting cut off but are being overlaid by polygons in adjacent tiles that have what look like differing z values. See live: http://parallel.co.uk/os-openmap-gl/#13.19/50.9028/-1.3207 Also pan westwards to see the word 'Southampton' appear and disappear behind buildings. If you try it on an iPad you can actually see the shearing of the tiles. |
@ashleyclough yeah, that looks like #757 |
Addressed by #1287. |
Note: #1287 dealt with this for GeoJSON sources, but it's still happening for my (tippecanoe-generated) vector tile source. |
@anandthakker yeah, but that should probably be solved on the VT side. |
@mourner Agreed. Just noted it here for any future googlers :) |
@donbigote this looks like a bug in Studio. I recommend contacting our support team. |
Context:
master
.dot.sdf
The text was updated successfully, but these errors were encountered: