Skip to main content
Question

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


billybob
Contributor
Forum|alt.badge.img+6
Are there plans to add the GetFeatureInfo capability to the OGC WMS Reader?

3 replies

kailinatsafe
Safer
Forum|alt.badge.img+21

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/


billybob
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • June 27, 2023
kailinatsafe wrote:

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


kailinatsafe
Safer
Forum|alt.badge.img+21
billybob wrote:

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings