Skip to content
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

GetFeatureInfo to layers from QGIS Server needs some click tollerance #852

Closed
jacobwod opened this issue Aug 25, 2021 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@jacobwod
Copy link
Member

It seems like GeoServer and QGIS Server implementations of GetFeatureInfo differ in a slight way (or, it may be a setting in the WMS options that we haven't found in QGIS project files). Currently, it's almost impossible to click on a WMS layer, served from QGIS Server, and get a hit, due to (what seems to be) zero tolerance.

Fortunately, there's a custom QGIS Server option, documented here, that allows us to send 3 additional parameters that increase the click tolerance. In our case it solves the problem:
bild

My solution will add these parameters to all feature info requests that are sent to a WMS layer where serverType==='qgis'. This will not affect any other layers.

@jacobwod jacobwod added the bug label Aug 25, 2021
@jacobwod jacobwod added this to the 3.7 milestone Aug 25, 2021
@jacobwod jacobwod self-assigned this Aug 25, 2021
jacobwod added a commit that referenced this issue Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant