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 with INFO_FORMAT=text/html should only send HTML maptip content when enabled #20601

Open
qgib opened this issue Mar 23, 2015 · 7 comments
Labels
Feature Request Server Related to QGIS server

Comments

@qgib
Copy link
Contributor

qgib commented Mar 23, 2015

Author Name: Nicolas Boisteault (@nboisteault)
Original Redmine Issue: 12430

Redmine category:qgis_server
Assignee: Marco Hugentobler


GetFeatureInfo requests with INFO_FORMAT=text/html and INFO_FORMAT=text/xml send the same content, only the format is different.
I think when HTML maptip content is defined, we should only get it in GetFeatureInfo response without other attributes.
Also the XML GetFeatureInfo response should not include the maptip?

@qgib
Copy link
Contributor Author

qgib commented Mar 23, 2015

Author Name: Jürgen Fischer (@jef-n)


  • tracker_id was changed from 1 to 2

@qgib
Copy link
Contributor Author

qgib commented May 20, 2015

Author Name: René-Luc ReLuc (@rldhont)


Any thoughts about this feature ?


  • fixed_version_id was configured as Future Release - Nice to have
  • assigned_to_id was configured as Marco Hugentobler

@qgib
Copy link
Contributor Author

qgib commented May 4, 2016

Author Name: Nicolas Boisteault (@nboisteault)


I'm migrating an UMN Mapserver WMS to QGIS Server.
UMN Mapserver sends only HTML content while QGIS Server still sends maptip and other attributes.
I think QGIS server response is wrong and that is a bug not a feature.

@qgib
Copy link
Contributor Author

qgib commented Mar 23, 2017

Author Name: Nicolas Boisteault (@nboisteault)


Could this bug be treated for QGIS 3?
The presence of maptip in XML GetFeatureInfo response is weird and HTML GetFeatureInfo response can't be used as it. You need a QGIS Server plugin to clean it.
Thanks in advance.

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib qgib added Feature Request Server Related to QGIS server labels May 25, 2019
@qgib qgib added this to the Future Release - Nice to have milestone May 25, 2019
Ailurupoda pushed a commit to SIRS-CLS/QGIS that referenced this issue Feb 18, 2020
This is the processing side of the duplicate layer
names bug, while the core part was already fixed,
the processing logic was extended to handle inputs
from models and full-path references.

Fixes qgis#20601
@pathmapper
Copy link
Contributor

With #55823 there's now a parameter to use only the maptip for HTML feature info response.

Issue can be closed now.

@nboisteault
Copy link

Thanks @pathmapper for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Server Related to QGIS server
Projects
None yet
Development

No branches or pull requests

3 participants