✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Draping geological map over 3d Dem

Hi,
I am thinking of draping geological map over 3d elevation model.
Is it possible?
Is there any example?
I will appreciate if you give any ideas
Kind regards

What is the format of your data for the geological map?

1 Like

originally esri shape . Buy I can convert it into geojson or β€œtiff” ( or maybe another)
thank you for your interest.

Hey @doga,
If by draping a surface with a map, you mean a plot like this one: https://plot.ly/~empet/13872/mount-st-helens/,
then this https://plot.ly/~empet/14684 is a Jupyter Notebook, explaining how you should relate the two traces.

If your data for the elevation surface are given by a numpy.array of shape (m, n) (or a list of lists), then, eventually you should find what are the ranges [lon_min, lon_max], [lat_min, lat_max], for the longitude and latitude of the rectangular area under the elevation. These values can be deduced from an associated geojson file.

Another example, that can be transformed in an elevation map and its projection onto a plane is this one: https://plot.ly/~empet/14067.

1 Like