perliedman / ocad2geojson

JavaScript OCAD file reader and exporter for GeoJSON, SVG and Mapbox Style Spec
https://www.liedman.net/ocad2geojson/
GNU Affero General Public License v3.0
39 stars 4 forks source link

Clipped point symbols at high zoom levels #22

Closed gregbacchus closed 9 months ago

gregbacchus commented 9 months ago

See image example. When zoomed in point symbols are clipped (I assume to show only on the tile that they are centred in)

image

perliedman commented 9 months ago

Hi!

Is this using the mapbox GL styling, or where do you see this?

I think you're right that this is an issue with how the tiles are clipped. Ideally, there would be overlap in each tile so the features render on both sides of the tile seam.

gregbacchus commented 9 months ago

Hi, Sorry, I should have specified. I noticed it here: https://o-scout.vercel.app/ using the demo map.

perliedman commented 9 months ago

Alright, thanks! So this is most likely an issue with ocad-tiler which does not buffer the tiles. I see I have added a buffer option in it, but it does not look like it's working as expected. I will open a bug there and close this one!