Skip to content

Vector tile generation faulty in edge cases ? #574

Closed
@geoneutrino

Description

@geoneutrino

Hello,
we observe a strange rendering error when using static maps rendering (tileserver-gl + maplibre-native. Using maplibre-js doesn't show this effect) with some regions. E.g the venetian lagoon https://www.openstreetmap.org/relation/3049430 is a complex multipolygon
Generating (e.g. with the italy nord-est extract of geofabrik) with the openmaptiles or our own process.lua results in certain tiles to be "flooded" when painting.
Discussed in maplibre native Project
maplibre/maplibre-native#1843
the first findings point to vectortile geometry not being correct (last comment of acalcutt loading geojson into google earth maplibre/maplibre-native#1843 (comment))

Now the questions is if this is an edge case where tilemaker is creating problematic geometries or not (there are other locations where this happens too like a tile in Copenhagen). Tests without simplify in config.json as well as using clipIncompleteEntities=true to pre-process the pbf didnt change anything

xvfb-run -a /gis/maplibre-native/build/bin/mbgl-render --debug --style=style-omt.json --lat=45.446518 --lon=12.330183 --zoom=16 --width=4000 --height=4000 --output venice-4000-omt.png
with style attached
style-omt.json.txt

results in

4000-omt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions