WMS GetFeatureInfo
When trying to do an identify on a wms layer, no results are returned. I've tried the options for the query provider in the layer functional settings with no luck and checked the paer supports getfeatureinfo. Also, looking at the fiddler trace I can't see the request is being sent by geocortex. If I try an identify in ArcCatalog it works fine and I can see the request being made in Fiddler. I'm using Essentials 4.6.0 and HTML5 viewer 2.7
Any suggestions
0
-
Hi Miles -
We modified the WMS identify operation for the 2.7.1 version of the HTML5 viewer. This modification will support point identify operations on WMS layers by making a call to the WMS service's GetFeatureInfo operation. To use this feature, you will have to select a WMS query provider (it appears that you are already familiar with setting up a query provider) and enable "Allow Identify Operations" for the WMS service in Essentials Manager.
Please let me know if you have any more questions.
Regards,
Steve0 -
Thanks, I'll look for it when it's released. Just to clarify, only point identifies will be supported, not bounding box (rectangles)? 0 -
Hi Miles -
That's correct. The WMS service's GetFeatureInfo operation takes a geographic point (x,y coordinates) rather than a bounding box as its spatial parameter. Accordingly, we can only support point identify operations for WMS services. As you may be aware, WFS services support a more expansive operation called GetFeature. As the GetFeature operation can take a bounding box as its spatial parameter, it is capable of doing a rectangular identify.
Please try the point identify operation with your WMS layer when GVH 2.7.1 is released, and let me know if you need further assistance.
Regards,
Steve0 -
Miles, Steve,
I'm using GVH 2.8.2, but I can't get this working. I've used severel query providers (WFS & WMS), but I always get the "The requested operation failed. Try again later, or inform your application administrator of the problem." when trying to identify.
When I use WFS, I can build a query and I can select all attribute columns in the query builder, but then I get "an unknown error has occurred".
Is there a way to solve this?
Regards,
Tom0 -
Hi Tom -
These issues are really hard to attack in the abstract. We will probably need to review the specific WFS and WMS services that you are using.
I recommend that you contact our support department to continue troubleshooting this issue.
Regards,
Steve0 -
Tom, make sure you check the box against the map service to allow identify operations. There's an old video from 2015 on wms queries that demonstrates it. 0 -
It seems I messed up the Query Provider, it is OK now. For others that strand here: there is some good info on the query provider here:
https://docs.geocortex.com/essentials/4.9/admin-help/Default.htm#ge/admin/ogc-services.htm;0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
7 kommentarer