How to count lines within polygons?

1.5k Views Asked by At

I would like to count the amount of lines within polygons.

The questions I would like to answer are: How many lines are within each polygon (enveloped AND intersecting)? How long is each line within each polygon OR how long are all the lines (combined) within each polygon?

I am using QGIS 2.18.12 (do not know how to write code)

Visualization of question and desired result

1

There are 1 best solutions below

0
On

first calculate all lines lenght,

second use Select By Location proccess (intersect etc.),

last one is Statistics By Categories proccess.