add API to fetch raster attribute table for specific raster layer. (if there is only one layer, the layer attribute can be omitted)