Replies: 19 comments 2 replies
-
Can you clarify the issue? Problem statement? Feature request? |
Beta Was this translation helpful? Give feedback.
-
Your premise ("Google let's[sic] anyone use Google Earth buildings as 3D Tiles") is wrong. Let me quote the linked press release, emphasis mine:
Now let me quote their 3D tiles documentation:
That is not "letting anyone", and there has been no policy change. Please stop the spread of openwashing. |
Beta Was this translation helpful? Give feedback.
-
@IvanSanchez Sorry I didn't mean too to spread "openwashing". Which until now I didn't know that word existed LOL I didn't realize the data wasn't actually open sourced. Just free to use there service....for now. As for support for 3D Tiles. I still think it would be beneficial to have it in maplibra. |
Beta Was this translation helpful? Give feedback.
-
Beside google, other cities, like vienna, offers 3dtiles (https://www.wien.gv.at/stadtplan3d/ click on Content and then activate 3D-Mesh). So I think this would be really a great addition to maplibre, too. Would be great to start a discussion, especially some thoughts by people who know deck.gl, how a potential implementation could look like. |
Beta Was this translation helpful? Give feedback.
-
I wonder what the best approach is for 3D content in MapLibre. Already now, you can integrate single glTF models in MapLibre GL JS with Three.JS or deck.gl. But that is just single 3D objects with a fixed level of detail, a bit like Apple maps does it in the vector version or also Snap if I am not wrong. |
Beta Was this translation helpful? Give feedback.
-
The 3D tiles spec is a bit of a monster - see https://github.com/CesiumGS/3d-tiles/tree/main/specification . TL;DR: Tiles can have one of several shapes (flat squares; subes; spheres) and can have one of several data formats (pointclouds, glTF). They behave like R-trees, rather than like tiles. |
Beta Was this translation helpful? Give feedback.
-
I agree that 3DTiles are a bit of a monster. I had a requirement to render CityGML Data onto maplibre, and i ended up reusing the VectorTile spezification with a custom geometry-type with 3 coordinates instead of 2d. This had the advantage the all the tile-covering logic of maplibre can be reused. But in the end it is a custom solution which is not future-proof. So, beacuse now "everyone" is using 3DTiles/gltf I think there is no way around. I also do not know some kind of lightweight library to load/parse 3DTiles, and because deck.gl has already an implementation, why not use it? If you want to have a look onto my custom-3d-vectortiles CityGML Demopage: |
Beta Was this translation helpful? Give feedback.
-
Looks amazing, thanks for sharing, @prozessor13 ! |
Beta Was this translation helpful? Give feedback.
-
@prozessor13 This is awesome! It performs impressively, as well! If I get it correctly, then you had to implement your own exporter and MapLibe GL JS parser for this customized 3D vector tiles? |
Beta Was this translation helpful? Give feedback.
-
Yes, i made a custom vector-tile server which adds to the existing 2d point/line/polygon vectortile-geometries a custom geometry with 3d polygons. And a custom layer (named fill-3d) in maplibre, which renders these geometries. Vertex normals are calculated in maplibre. |
Beta Was this translation helpful? Give feedback.
-
Would you be interested in sharing this solution? I think that this is an interesting direction for incorporating (trully) 3D data in MapLibre GL JS. |
Beta Was this translation helpful? Give feedback.
-
Sorry, this is a product of our company :) I only wanted to demonstrate a way beside 3DTiles, and for sure this format could be sufficient to render 3d-meshes (may even more performant and memory-friendly), and i really would like to implement this, but because everyone else uses 3DTiles, i think this is not the future. |
Beta Was this translation helpful? Give feedback.
-
Absolutely! Still, impressive work. Top notch! 🙌 I remain of the opinion that the whole 3D Tiles specification is an overkill (for non-mesh data, at least). It fits the Google use case, but for data such as in your example I think there are elements of 3D Tiles we can reuse (like the glTF+extension to hold attributes), but the tile definition specification is adding too much complexity, both to the implementation and the data processing part. |
Beta Was this translation helpful? Give feedback.
-
If someone wants to implement 3d tiles in MapLibre, then in principle there is some funding available from cesium via the ecosystem grants program: https://cesium.com/cesium-ecosystem-grants/ |
Beta Was this translation helpful? Give feedback.
-
LoD2 buildings as 3D Tiles directly in MapLibre would be great! This addon works well, which was developed for Mapbox GL JS, but also works fine with MapLibre: https://github.com/Geodan/mapbox-3dtiles. It was use for the visualisation of Germany for basemap.de. A beta-service is released for Cesium (buildings on terrain) and MapLibre (buildings on sea level). Simple Viewer: https://web3d.basemap.de/maplibre/lod2.html#16.3/50.941485/6.959092/-39.2/57. Description: https://basemap.de/beta-lod2/. What is missing: It doesn't work in combination with the 3D Terrain, only with flat terrain. By the way: A different colour for the roofs is important in my opinion. |
Beta Was this translation helpful? Give feedback.
-
A few remarks:
|
Beta Was this translation helpful? Give feedback.
-
As far as I understand, 3D Tiles next is already part of the official standard, since version 1.1 which was approved and published a few months ago. Old formats such as b3dm etc. are considered already legacy. See here: https://docs.ogc.org/cs/22-025r4/22-025r4.html#tileformats-gltf-migration-from-legacy-tile-formats |
Beta Was this translation helpful? Give feedback.
-
I have been experimented mapbox with 3d tiles, the example Geodan repo is working well. However, it is not straightforward how the google 3d tile can be integrated, as it requires b3dm formats of the tiles. |
Beta Was this translation helpful? Give feedback.
-
Hi, very interesting discussion. I was wondering if there is somewhere, a set of open source simplified 3d models of well-known buildings being built. It looks like MapBox provides this, Apple Maps too. |
Beta Was this translation helpful? Give feedback.
-
With Google changing their policy and letting anyone include their Google Earth buildings as GlTF. Maybe Maplibre can add it as a native layer source.
https://cloud.google.com/blog/products/maps-platform/create-immersive-3d-map-experiences-photorealistic-3d-tiles
Beta Was this translation helpful? Give feedback.
All reactions