1

I have a polygon layer with generated triangles covering for example district or city area. I need to select all the triangles if any triangle (object) segment is longer than 100 meters. Picture: selected triangles has a that segment (or many segments) enter image description here

I prefer not to explode triangles to lines, calculating length and selecting lines, and run spatial query with triangles because every exploded line may touch a triangles with shorter segments.

Tnx. Tomek

Tomek
  • 11
  • 2

1 Answers1

3

You could use the Explode Lines algorithm in the Processing Toolbox and then in the result table add a virtual field calculating the length of each object (=segment) ...

MappaGnosis
  • 33,857
  • 2
  • 66
  • 129
Snaileater
  • 5,743
  • 1
  • 15
  • 26
  • I prefer not to explode triangles to lines, calculating length and selecting lines, and run spatial query with triangles because every exploded line may touch a triangles with shorter segments. Tnx. Tomek – Tomek May 26 '17 at 12:56
  • sorry ... but i don't understand why the exploded lines touching the triangles may affect the result ... (they are in another table) – Snaileater May 26 '17 at 13:51