mapbox / tippecanoe

Build vector tilesets from large collections of GeoJSON features.
BSD 2-Clause "Simplified" License
2.72k stars 432 forks source link

some map data have different show in different zoom level #809

Open ZChengL opened 5 years ago

ZChengL commented 5 years ago

some map data have different show in different zoom level . for example I draw some walls, and the adjacent walls will fill the grey face between them; image

image

how to relsove this problem ? i need help

e-n-f commented 5 years ago

What software are you using for rendering and tile serving, and what tippecanoe options? This looks like a rendering bug that is triangulating the polygons incorrectly.

ZChengL commented 5 years ago

What software are you using for rendering and tile serving, and what tippecanoe options? This looks like a rendering bug that is triangulating the polygons incorrectly.

I use MercatorUtil convert the longitude coordinate and latitude coordinate (in degrees) of geometry to pixel X/Y coordinate at a certain zoom level in Java progam. and use Mapbox GL JS to rendering in HTML5 page

e-n-f commented 5 years ago

Thanks. Do you see the same problem when viewing your tileset when uploading to Mapbox Studio or using a normal vector tile viewer like https://github.com/mapbox/mbview? If not, I think the bug is probably in this custom pipeline, not in Tippecanoe.