3D Line intersection on digital elevation model

by Benji Sancho   Last Updated July 02, 2018 13:22 PM

I use QGis, Python and OGR/Gdal libraries.

I have two WGS 84 points with elevation that define a 3D line, for example [8.11, 47.3, 800] and [8.08, 47.2, 400].

I have a tif file representing an WGS 84 Elevation Model.

A want the [x,y,h] coordinate of the intersection between Elevation Model and this line.

How do I programmatically achieve this with gdal/ogr/python/qgis libraries?

cheers Benji.

Related Questions

gdal_merge.py with memory constrains

Updated November 02, 2016 09:09 AM

GDAL : transfer metainformation

Updated May 22, 2018 14:22 PM

Multiple layer intersection

Updated September 22, 2016 08:09 AM

Erdas LPS : how to rename points_ID values?

Updated August 23, 2016 08:09 AM

Which polygons intersect rectangle in PHP/Linux GDAL?

Updated November 26, 2018 22:22 PM