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

closed as unclear what you're asking by ahmadhanb, tinlyx, mgri, Kersten, Knightshound May 26 '17 at 9:16

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

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

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