Re: Count polygons and polygon area that intersect with raster values
Ok, I found an alternative way.
1) Raster to points, every pixel becomes a point with a values.
2) Selection by attribut, "Value >= 0.05"
3) Selection by location, select from current selection, source polygon-layer.
As every point represent a 1x1 meter square, the number of selected points becomes a approximation of the area I was looking for. The error I think is negligible for my intended use.
For the polygon count I just reverse the third step, using the point-layer with selected points as source and the polygon-layer as target.
I still very new to GIS, so please correct me if I'm have made any error in thinking, or if I'm just using the wrong terms/phrases
Now, going to perform this to a number of rasters. Not so many that it is impossible, but I'm thinking of doing some kind of script too reduce the number of clicks. Never done any scripts. Is it hard? Would it be possible for the particular case?
(Happy because I found a way)
Marcin Gąsior : GIS Analyst | Polish Academy of Sciences || GIS freelancer/consultant: e-mail