systemed / tilemaker

Make OpenStreetMap vector tiles without the stack
https://tilemaker.org/
Other
1.46k stars 230 forks source link

feat: export and render building:part #692

Open c84c opened 7 months ago

c84c commented 7 months ago

First of all, thanks for this great project!

With this PR, I add the ability to export and render building:part relations (thanks to Multipolygon relations are supported natively by tilemaker).

For the 3D building render style, credits to @tgdbepe4 and his great style!

Resolve #458.

The result is shown below for 2 monuments in Rome (Italy).

Building Before PR After PR
"name:it": "Castel Sant'Angelo" CastelSantAngelo_before CastelSantAngelo_after
"name:it": "Piazza San Pietro" PiazzaSanPietro_before PiazzaSanPietro_after
c84c commented 7 months ago

I change formatting minimizing code changes

pnorman commented 7 months ago

OpenMapTiles says it just uses building=*, but later on goes to talk about the height of the building or building:part. I assume it's contradicting itself and in practice and the most common implementation includes building:part?

c84c commented 7 months ago

Exploring implementation they use also building:part to insert buildings in mbtiles.