Open wipfli opened 1 year ago
{
"version": 8,
"name": "SwissMap style",
"sources": {
"swissmap": {
"type": "vector",
"url": "https://wipfli.github.io/swiss-map/tilejson-swissmap.json"
}
},
"layers": [
{
"id": "building",
"type": "fill",
"source": "swissmap",
"minzoom": 14,
"source-layer": "building"
}
],
"id": "swissmap-style"
}
# maplibre gl native
./build/bin/mbgl-render --style style.json --output out.png --zoom 14 --lat 47.36811 --lon 8.54936 --width 6000 --height 6000
roughly with
With a little bit of Douglas Peucker looks like this:
Oberhof with 3 different tolerances (5, ?, 100) in Douglas Peucker simplification:
Strategy for landcover polygons from building footprints could be:
Questions:
Tile edge effect: looks like median blur can handle edges fine...
Probably just make sure that tiles overlap sufficiently.