3

I am using QGIS.

I have a certain numbers of areas (shp) and different channels (shp). Now i want to know how many meters of the different channels are within the individual areas. the Intersect tool only allows to choose individual

enter image description here

enter image description here

New contributor
Klini is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Merge all the layers in each category, then intersect. – Erik Dec 3 at 10:40
  • I allready tried this, as a result i get the the length of each channel but for the entire area – Klini Dec 3 at 10:55
  • Then you're not doing it correctly, most likely you dissolved the polygons. – Erik Dec 3 at 11:59
  • what i did is merge vector layer and I'm having all of attributes in the table. So I'm pretty sure that i did not dissolved them – Klini Dec 3 at 12:24
5

This is my layer of polygons and lines.

enter image description here

Then you use the tool "sum of line lengths"

enter image description here

The result is a new polygonal layer (the same as the one at the entrance) but with 2 new fields: the first indicating the line length that crosses the polygon and the second field the number of lines that cross it.

enter image description here

  • Thx that works for me – Klini Dec 3 at 13:10
  • With pleasure. In order to show that you have obtained a satisfactory answer, you can vote for my answer. See you later – Vincent Bré Dec 3 at 13:39

Your Answer

Klini is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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