-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlight of geometry when using infoclick not working for QGIS Server #879
Comments
The fix is ready for testing in |
Great! I tested this out and it seems to work. |
Thanks, you're absolutely right @eri-blan. I'm looking into this. We could retrieve the feature's projection from the layer's (by assuming that all features in a given layer are in the same projection). |
…onse lacks projection code. Closes #879.
Fix pushed to |
Tested, and seems to work 👍 |
Great, closing. |
Describe the bug
When getting a GetFeatureInfo hit on a QGIS Server WMS-layer, the returned feature object/s does not contain any geometry information. Thus, no highlight of the object is shown on the map. The resulting null geometry/ies is likely due to the parameter WITH_GEOMETRY=TRUE not being sent with the request.
See Link to QGIS Server documentation concerning extra parameters
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Highlight should be shown on the map of the selected object's geometry.
Desktop (please complete the following information):
Tested on
But applicable to any environment.
Additional context
There is also a setting within the QGIS project called "Add geometry to feature response" that needs to be checked in order for the function to possibly work.
The text was updated successfully, but these errors were encountered: