gempy-project / gempy

GemPy is an open-source, Python-based 3-D structural geological modeling software, which allows the implicit (i.e. automatic) creation of complex geological models from interface and orientation data. It also offers support for stochastic modeling to address parameter and model uncertainties.
https://gempy.org
European Union Public License 1.2
988 stars 235 forks source link

making original elevation data become Digital elevation model #421

Closed Wh20-fly closed 4 years ago

Wh20-fly commented 4 years ago

What is your question? Is there any code tutorial about making original elevation data(.tif format) become Digital elevation model,thank you very much.

AlexanderJuestel commented 4 years ago

Hello,

Could you specify your question?

What have you tried so far?

GemPy has a built in function to set the topography of a model and there is also a tutorial called Topography that describes how to set the topography in GemPy.

If you need to work with your tif in python for other purposes, just load it as an numpy array.

Cheers Alex

Wh20-fly commented 4 years ago

Hi, @AlexanderJuestel . There is a photo about DTM from GemPy's example,but now I can't find where it is from ,do you know. QQQQ

AlexanderJuestel commented 4 years ago

Hello,

I unfortunately do not know where this image is from. However, it seems very similar to images posted on Neosciences.org.

What I am still missing is the objective of your issue? Do you have issues converting your tif to a DEM or anything else? Or would you like to display the hillshades as shown in the image above? Please specify.

Cheers Alex

Wh20-fly commented 4 years ago

Hi, @AlexanderJuestel Is there easy way to make .tif format file become DEM and DTM?

AlexanderJuestel commented 4 years ago

Hello,

please ellaborate more on the purpose.