I'm interested in examining the average width of streets, that are irregular polygons, for a project. I'm using QGIS 2.12.0 Lyon, and have lines (power cables) and Polygons (streets) as layers. For further analysis I need to know how wide the streets, which overlap with cables, are on average. I already found a try of a solution for this topic at How can I calculate the average width of a polygon?, but unfortunately I don't get rid of error Messages when I try to apply Peter Krauss's solution in QGIS and I get told it's better to create a new question instead of asking there . It's quite plain to me, that there's no perfect solution for finding the average width for irregular Polygons, but approximatly would be absolutly enough for me. Especially because my knowledge in programming is actually a lot to bad for this.
If the power cables layer overlaps the street layer crosswise, I can use the length of the new layer which is created by intersection.
But if the cable don't overlap crosswise but along the street, I need the average width of the street and not a punctual selection at one point because the width can change. Also there could be curves or crossroads in the street, what makes it even worse.
Futhermore I'm actually searching for an way in which you don't have to do that much manual work like drawing lines, but rather a solution in which you can recall the average width of every street any times.
Perhaps someone can explain all necessary steps so I can use it?