Source is here: https://github.com/r-follador/cubetrek
I think version 3 is now in beta and last I checked they even covered remote areas and alp huts: https://www.swisstopo.admin.ch/en/landscape-model-swissbuild...
For CubeTrek, however, I needed some kind of dataset with global coverage, that's why I settled in SRTM data.
Try zooming in to pretty much any capital city, then use the right mouse button to rotate the viewpoint so the 3D shows up properly:
That's just a temporary domain and an in-development project, but (to me) it seems to be working pretty well. Can build applications on top of this.
Loading failed for the <script> with source “https://streets.gl/js/index.js”. streets.gl:1:940 A resource is blocked by OpaqueResponseBlocking, please check browser console for details. script.js Loading failed for the <script> with source “https://analytics.streets.gl/js/script.js”. streets.gl:1:815
I think this is a better approach. I assume it's using "regular" vector tiles and rending things based on that? Like where a map usually has green fill for trees, it's rendering out a patch of trees?
Super cool.
It took over 43 seconds to load for me according to Firefox's dev tools Network tab, each image was effectively > 300 ms, but I'm in New Zealand, and the server seems to be in the Netherlands, so that's almost worst-case...
• wall and roof color
• wall and roof material
• roof shape
• height (or levels, which
typically is then multiplied
with 3 m to get a rough height)
• starting height (or level), for
building parts above ground, e.g.
bridges between buildings.
This can then get rendered as upwards extruded polygons with a cap in the shape of the roof. There are a few more complicated ways of specifying complex roofs with ridge lines, etc. but few renderers support them and usage is fairly limited.The result is very impressive given that seems to be the case!
Edit: There are some more details on the github about data sources: https://github.com/StrandedKitty/streets-gl
This: https://shottr.cc/s/Qxhj/SCR-20250108-r6p.jpeg
Apple maps: https://shottr.cc/s/QWES/SCR-20250108-r69.jpeg
But definitely something similar can be rendered. Streets Gl handles complex shapes quite well: https://streets.gl/#52.23135,21.00506,45.00,0.00,1466.87
Rather disappointed to see that my condo building is flat despite being 4 floors and a nearly 20 year old renovation of a 100+ year old building. How does stuff like that happen? In the mean time the repo looks like good readin'
Simple: nobody entered the height of your condo building into OSM yet. You can change that. Be the change you want to see in the world!
OSM and all related projects thrive on users' contributions -- be the change you want to see in the world and start contributing today :)
Happy mapping!