Performing supervised classification of raster layers