
So we could say triangle AEB, triangle AEB is similar, similar similar to triangle DEC, triangle DEC by, and we could sayīy angle, angle, angle, all the correspondingĪngles are congruent, so we are dealing with similar triangles.

Measure as this blue angle, this magenta angle has the same measure as this magenta angle,Īnd then the other angles are right angles, theseĪre right triangles here. Notice we have all three angles are the same in both of these triangles, well, they're not all the same, but all of the corresponding angles, I should say, are the same. So, because this thirdĪngle's just gonna be 180 minus these other two,Īnd so this third angle is just gonna be 180 Two angles in common, so if they have two angles in common, well, then their thirdĪngle has to be in common. Well, if you look at triangleĬED and triangle ABE, we see they already have Sometimes this is calledĪlternate interior angles of a transversal and parallel lines. And so we know that this angle, angle ABE is congruent to angle ECD. Now this angle on one side of this point B is going to also be congruent to that, because they are vertical angles. And so they're going toīe, they're going to have the same measure, they're To this angle if we look at the blue transversal as it We also know some thingsĪbout corresponding angles for where our transversal Then that is a right angle right over there. First of all we know that angle CED is going to be congruent to angle AEB, because they're both right angles. So let's call that pointĪ, point B, point C, point D, and point E. So actually let me label some points here. That both of these lines, both of these yellow Line angle properties to establish that this triangle and this triangle are similar and then use that to establish And from this, I'm gonna figure out, I'm gonna use some parallel Perpendicular to each other, that these intersect at right angles. Green one is horizontal and the blue one is vertical. And then let me do a vertical transversal.

I'm claiming that theseĪre parallel lines. Let me draw another line that is parallel to that. Pictured in the map is m1.geometry, you make another map showing m2.geometry: select m1.fid id1, m2.fid id2, st_length(m2.geometry) length1, st_length(m2.geometry) length2, m1.geometryĪbove are four lines.Do in this video is prove that parallel lines have the same slope. Length will tell you the which one of the geometries are the smallest. Inner join mylines m2 on st_covers(m1.geometry, m2.geometry) Use this SQL code: select m1.fid id1, m2.fid id2, st_length(m1.geometry) length1, st_length(m2.geometry) length2, m1.geometry You can make a new Virtual Layer from the Data Source Manager. You can use a QGIS Virtual Layer to both get an attribute table with id of the geometries covering each other and maps showing where the geometry cover is. If the attributes of the second line layer are NULL in the result, there are no lines in the second layer that overlap this line from the first layer. The resulting layer contains joined line geometries, with attributes from the two overlapping lines. Here you can specify the type of relationship, and overlaps is one of them. Lines that only touch will not "match", so only truly overlapping lines are found.Īn even more flexible alternative is the QGIS Join attributes by location algorithm. The result will only contain the overlapping segments, and if you open the attribute table of the result layer, you will be able to see which lines from the second layer overlap the first one by looking at the field other_id from the second layer. Specify other_ in the Overlay fields prefix to easily differentiate the attributes/fields from the two layers in the result.

Select the second line layer as Overlay layer.Select the first line layer as Input layer.Make sure that both layers have identifying attributes (e.g.You can identify the lines that overlap by using the QGIS Intersection (overlay) algorithm. St_relate(l1.geometry, l2.geometry, '1********') įor finding overlapping lines between two layers QGIS has more to offer. St_intersection(l1.geometry, l2.geometry) as pure_overlaps (st_overlaps(l1.geometry, l2.geometry) orĪ more elegant solution is to use ST_Relate with the DE9IM matrix '1********' (the overlap between the interiors of the lines is 1D - a line): select l1.id as id1, l2.id as id2, St_intersection(l1.geometry, l2.geometry) as geometry For finding overlap (and not report lines that cross or touch) within a layer, it is good advise to use the QGIS DB Manager and SQL.įor instance: select l1.id as id1, l2.id as id2,
