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

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) ...

| improve this answer | |
  • 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

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