I would like to know if it is possible using ArcGis Pro SDK to identify features in a WMS layer
I have written an addin using VB.Net that performs simple intersect analysis with a site location and range of data layers. This is fine for local vector layers, but some data I want to analyze against is from third party WMS layers.
I have these added into the project and I can use the identify tool to get feature attributes at a click point. However I can't see in the SDK a way to replicate this in my code using the site location to retrieve the attributes
Any pointers in the right direction would be appreciated
Hi,
Look at ArcGIS Pro SDK community samples IdentifyWithSketchTool or IdentifyWindow
Thanks,
These samples don't seem to work with my WMS layers.
They use the GetFeatures method on the active mapview eg. var features = mv.GetFeatures(geometry); - which works with feature layers but not WMS layers
Do you know if there is an equivalent method for WMS layers?
Thanks,
I have worked out a solution for this - just need to compose the GetFeatureInfo URL with the necessary parameters, data layer, query point etc and send the WebRequest to get back the attributes