Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

3D buildings? #1389

cmahnke started this conversation in General
Nov 6, 2025 · 1 comments · 7 replies
Discussion options

I haven't been very active here for the last two years, so I thought it would be of interested for others as well.

I would like to know what's the current status of creating 3D building data in Planetiler. There is the fork by @StrandedKitty (strandedkitty/planetiler) used for Streets.gl, which I still consider to be very pretty (except the windows ;)).
See also:

Since it's inception there have been many improvements on the configurability of Planetiler - maybe it's already possible to configure a vanilla Planetiler to create the required tile format / enhancements to use the with the frontend code?

On the other hand there is the 3D tile format:

Maybe that would be a better target to think about?

Do you have any suggestions / ideas or this this considered to be only fancy eye candy and thus completely out of scope (for Planetiler)?

You must be logged in to vote

Replies: 1 comment 7 replies

Comment options

Hello! Almost everything that streets.gl needs for 2.5d buildings is supported by planetiler out of the box. It implements 2 key things that are planned in planetiler but not implemented yet that they wanted for higher-resolution data (see diff):

Neither of these are strictly necessary for showing 2.5d buildings in something like maplibre but they are needed by streets.gl frontend.

Do you have some examples of things you want to do but aren't able to with maplibre (mvt+terrain+building extrusion+3d model support) ? We are in the process of adding maplibre vector tile support to planetiler which will eventually support for 3d features. I haven't looked much into the true 3d tile formats though, if there's a data source and use-case it might be possible to adapt planetiler but currently it's optimized for the 2d web mercator tiling use-case.

You must be logged in to vote
7 replies
Comment options

...where map is your maplibregl instance in JavaScript.

Comment options

@wipfli: I can't find those options on Map or MapOptions of maplibre-gl-js

Comment options

That API is not public and actually does only work with GL JS version 4.7.2 or lower. The globe view in v5 changed things apparently. Anyway, here is a js bin with a field of view slider:
https://jsbin.com/fihukucuce/edit?html,output

Comment options

Ah actually there is a public api for this now in GL JS:

map.setVerticalFieldOfView(5);
Comment options

Thanks all, I get a proof of concept working:
https://christianmahnke.de/en/post/patching-osm-data/
Screenshot at the bottom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /