Skip to main content
Are there plans to add the GetFeatureInfo capability to the OGC WMS Reader?

Hello @billybob​, unfortunately, the WMS Reader doesn't support GetFeatureInfo at this time. May I ask what service you're interested in requesting the GetFeatureInfo from? Alternatively, why would you like this supported (eg. what the motivation or use case is)?

 

On the other hand, I suspect this could also be done in the HTTPCaller, if you knew the proper GetFeatureInfo parameters for your service (which I think can be found in the GetCapabilities docs). Here is a good description / example of how one may build this sort of request: https://www.meteomatics.com/en/api/wms/getfeatureinfo-request-wms-meteomatics/


Hello @billybob​, unfortunately, the WMS Reader doesn't support GetFeatureInfo at this time. May I ask what service you're interested in requesting the GetFeatureInfo from? Alternatively, why would you like this supported (eg. what the motivation or use case is)?

 

On the other hand, I suspect this could also be done in the HTTPCaller, if you knew the proper GetFeatureInfo parameters for your service (which I think can be found in the GetCapabilities docs). Here is a good description / example of how one may build this sort of request: https://www.meteomatics.com/en/api/wms/getfeatureinfo-request-wms-meteomatics/

Hi @kailinatsafe​ ,

Thanks for responding. We are accessing an OGC WMS layer that has attribute values associated with each raster cell, and we're trying to extract these attribute values and assign the vaules to a point fieature. The GetFeatureInfo functionality would seem to be an appropriate method to use.

I'll take a look at the example that you send to see if the HTTpCaller will work. I'm not sure about the parameters, but I'll investigate.

Thanks again for responding.

Regards,

Frank


Hi @kailinatsafe​ ,

Thanks for responding. We are accessing an OGC WMS layer that has attribute values associated with each raster cell, and we're trying to extract these attribute values and assign the vaules to a point fieature. The GetFeatureInfo functionality would seem to be an appropriate method to use.

I'll take a look at the example that you send to see if the HTTpCaller will work. I'm not sure about the parameters, but I'll investigate.

Thanks again for responding.

Regards,

Frank

Hello @billybob​, thank you for explaining. One more thought - you could also try using the WMS Reader, then use a RasterCellCoercer to convert cells to points (this should create attributes on each point from the raster band values). Might be worth a try! Happy to help, Kailin.


Reply