I have a land use map in the format of TIFF. I imported this file as a table in PostGIS using raster2pgsql. The land use file has 7 different classes.
How can I select all those pixels that have the value (class) of 5? The table has only two columns (rid, rast).