I'm using GWP WMS and I'm trying to highlight some features using custom GWP WMS parameter (HIGHLIGHT and HLCOLOR) but it seems does not works.
This is my GetMap request:
In order to be sure about the id value i've execute a GetFeatureInfo over the object and this is the result:
< GetFeatureInfoResponse >
< FeatureKeysInLevel level="SDR_PDR" keys="1301"/ >
< /GetFeatureInfoResponse >
Hi Fabio. When you say it doesn't work, what do you get exactly? Does the server return an error or does it return the correct bitmap without the highlight applied ?
Did you check the GeoWebPublisher server log for possible error messages ?
I've not errors from my wms request. Bitmat is correctly rendered. The only problem is that the element is not highlighetd.
It's like i'm missing something...
The id you need to send to the highlight argument is a rendition id. To get the rendition id from the feature key, you should execute a GetRenditionId command similar to this one: