Select to view content in your preferred language

Get roof color from raster

2784
11
Jump to solution
03-12-2017 12:13 AM
PeterVersteeg
Frequent Contributor

Good day,

I have a color orthophoto raster (RGB) with 10cm resolution (cel size) and I have a polygon feature with all the houses.

What I like to do is find the average color of a roof and get the value in the table of my house polygon.

I tried this with zonal statistics as table but then I get a 1 band raster so not with any RGB values.

Can anyone think of a way to do this.

Thank you,

Greetings Peter

0 Kudos
11 Replies
PeterVersteeg
Frequent Contributor

Your right I need the most common.

0 Kudos
PeterVersteeg
Frequent Contributor

Ok I got it now. The major thing I was doing wrong is select my raster with the drop down menu (so only the image). So the tool was run on the 1st band. When you want to select band 2 or 3 you have to go to the raster folder and double click your raster then you can select your bands.

in the tool it looks like this:

D:\Your folder\your raster\Band_1

In the image you will see the tools I used. Really nice that I know this now and that it works but the end result is not what I want . This is because there are too many shadows and so the end result is most

of the time a grey color (see picture).