StrandedKitty / streets-gl

🗺 OpenStreetMap 3D renderer powered by WebGL2
http://streets.gl
MIT License
604 stars 45 forks source link

Integration of better data source for elevation bitmap #46

Closed lefuturiste closed 1 year ago

lefuturiste commented 1 year ago

Here some thought : Sometimes a terrain is poorly described in detail by the height bitmap because the variation are too brutal (for example an embankment, a retaining wall). This is sadly out of OSM, but a realistic and accurate geographical description of reality should have a bitmap that is accurate enough especially if in proximity of buildings. In France we have the LIDAR HD initiative which could provide more detailed bitmap. This is pretty big and there is no obvious way to do it, let alone the data for it.

Matthias84 commented 1 year ago

There is also https://opendem.info which also offers bathymetric data to enrich the seaside ;-)

dreua commented 1 year ago

Frankfurt Flughafen, on the other hand, looks quite bumpy: https://streets.gl/#50.04088,8.57643,11.75,228.00,3998.31

StrandedKitty commented 1 year ago

LIDAR data is great, but not for this application. Elevation data needs to be processed so that it represents only terrain without buildings.

StrandedKitty commented 1 year ago

It seems like arcgis has a free elevation layer: https://www.arcgis.com/home/item.html?id=58a541efc59545e6b7137f961d7de883 It's hard to tell if the quality is better than whatever Mapbox provides. Also this layer would have to be sliced into tiles and encoded into RGB format, so integrating it into Streets GL may take a while.

Edit: It seems like there is a sliced version of this layer: https://www.arcgis.com/home/item.html?id=7029fb60158543ad845c7e1527af11e4

StrandedKitty commented 1 year ago

I've changed the elevation tileset from Mapbox Terrain-RGB v1 to Esri (ArcGIS) Terrain 3D. The quality is much better, so I think this is going to resolve most issues with bad elevation data.