[Geoserver-users] Raster GetFeatureInfo values/labels

I have a raster with 95 different integer values (1-95). When I do a GetFeatureInfo request, GeoServer sends back the raster cell integer value. That makes sense, but what if I want a text value (a descriptive label). I have the descriptive label in my style (.sld) and the legend is generated using this label. I’d like to also get that label back through GetFeatureInfo. ArcGIS Server solves this problem by associating an attribute table to the raster (a row for each unique raster value). Is there a way to accomplish this sort of thing in GeoServer?

Thanks!

Don

···

Don Brown
U.S. Geological Survey
Fort Collins Science Center
2150 Centre Ave. Bldg. C
Fort Collins, CO 80526
(970) 226-9155
brownd@anonymised.com