I'm mapping elongated glaciological features within QGIS 2.18.22 and I need to measure the longest straight line (L) and the longest perpendicular line (T) to L (as illustrated in the picture) within a mapped polygon (shapefile).

I have found the longest line by using the Oriented Minimum Bounding Box Tool, but this does not show me the location of T/the max width of the polygon, and I need to find this to determine the point B (see picture).

![enter image description here]1

1 Answer 1


1) From polygon create a points,

2) Then run the tool "Vector-processing geometry-Polygons Voronoi"

see figure 1, enter image description here

3) Select

enter image description here

2 extreme points along the length of the figure they will touch it, and 2 points across the width of the figure they will be closer than others from source polygon borders and run them tool "Vector-processing geometry-triangulation Delaunay"

see figure 2.

enter image description here

This solution for QGIS.

4) And the best pick 4 and at 3 points 1) the first 3 points (extreme left, bottom middle and right extreme - triangulate - triangle will give you (L)) and 2) the second 3 points (top, left extreme, middle bottom - triangulate - triangle will give you (T)), then you can cross over them and in result to obtain figure "cross" see figure 3, got it, remove the excess edges.

P.S. don't forget blow up the triangles to extract the required lines

enter image description here

: -)...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.