lambdajack / sequentially-generate-planet-mbtiles

Generate vector tiles for the entire planet on relatively low spec hardware.
https://wiki.openstreetmap.org/wiki/Sequentially-generate-planet-mbtiles
MIT License
99 stars 15 forks source link

Street names are cut off on higher zoom levels #5

Closed Haves1001 closed 2 years ago

Haves1001 commented 2 years ago

I was able to successfully build a planet.mbtiles on my machine. When rendering the tiles with tileserver-gl I can see that on higher zoom levels the tiles borders are cutting of the highway numbers. Or at least neigbhoring tiles are not matching the cut off.

Is this to be expected due slicing that is being done for compartmentalizing the mbtile generation?

image
Haves1001 commented 2 years ago

This seems to be a problem with tileserver-gl when serving png's instead of vector files.

It's weird though that I haven't seen this issue with the previous planet.mbtiles file that I've used. My tileserver-gl container is up to date though and using version 3.1.1.

lambdajack commented 2 years ago

Thanks for letting me know.

I have checked on a couple of mbtiles files which I have generated using the programme and cannot replicate your issue with labels being cut off. I suspect (as you have alluded to above) that it may be a tileserver-gl style issue.

Please see below some screenshots which I have gathered using tileserver-gl for serving and MapLibre (similar to MapBox) for rendering the vector tiles on the front end. Images show various levels of increasing zoom.

ulm1-1 ulm2-1 ulm3-1 ulm4-1 ulm5-1

Are you able to paste here a copy of the style.json you are using? I can put this against my own tiles and see if that replicates the issue.

lambdajack commented 2 years ago

In reference to your point re the slicing causing the issue - I don't think this is the case since any duplicate roads or areas are overwritten (rather than written next to) the data already there (thus leaving only one copy).

The last image in the post above is taken directly at a split line which goes straight through the middle of Jungingen.

Whilst it looks okay to me, I am not local to that area and cannot confirm that it looks totally accurate - if you are more knowledgeable of the area and are able to let me know if it looks okay or otherwise - I would very much appreciate your input! :D