Monday 18 September 2017

Create cross section with polygon intersects in QGIS



Is it possible to create a cross section that shows the intersected polygons on the relief (in QGIS 2.0.1)? I would like to try this out for a geologic map.


I'm using VoGisProfilTool: http://plugins.qgis.org/plugins/VoGisProfilTool/ and a NASA-DEM



Answer



Yes, with the:



In both cases,the scripts use matplotlib.


Example with a geological map and a DEM: line of cross section (in blue):


enter image description hereenter image description here



1) with qProf


enter image description here



  • you can use a point layer with the dip and dip direction of the layers


enter image description here


But you cannot place the intersections between the geological layers and the cross section line and you cannot adapt or change the resulting figure with the parameters of matplotlib as in the Python script below.


2) with the Python script:



  • the profile in 3D



enter image description here



  • cross section (2D) (with the colours extracted from the geological map)


enter image description here


or


enter image description here



  • Intersections between the profile line and the limits of the geological layers (polygons layer):



enter image description here


enter image description here



  • with structural values, apparent dip from dip and dip direction


enter image description here



enter image description here


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...