Hi,
I'm experiencing the same theme (floods) in a new project.
There are multiple solutions to display this kind of event, but everything depends on your datasets source and on what you want to visualize, just the water layer or more detailed information about the floods?
Anyway, I here is my workflow, it is a little bit complex, but you could adjust it for your scope:
Source Dataset:
- Water: Raster image Geotiff - Elevation grid: it describes the heights of the water in different area of the city, it is the result of a engineering simulation software
- Buildings: Vector Shapefile - Footprints + extra attribute for the height of each building or DSM - Digital Surface Model
Process the water dataset:
- Convert the raster to point cloud format (las - there are different software) and import it in CloudCompare software
- Create the mesh from the point cloud with the Delaunay algorithm inside Cloud Compare
- Export to OBJ format and check the pivot position (it is easier if the pivot is located at axes origin)
- Convert OBJ file to GLTF with the online converter
- Load the GLTF file into Cesium setting the pivot coordinates
Process the building dataset:
For what concerns the 3D building I have tested 2 solutions:
- The first one is to create a 3d model of the city through the extrusion of the single shapes (this could be done in several ways), and import into cesium as a GLTF model or as 3DTiles (this step is working in progress)
- The second on is to import the DSM in Cesium ION and merge it with the Cesium Terrain
3D building
DSM on Cesium ION
Hope this could help you!
Best Regards,
Michele