Feature request #12430

GetFeatureInfo with INFO_FORMAT=text/html should only send HTML maptip content when enabled

Added by Nicolas Boisteault almost 9 years ago. Updated almost 7 years ago.

Status:Open
Priority:Normal
Assignee:Marco Hugentobler
Category:QGIS Server
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:20601

Description

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?

History

#1 Updated by Jürgen Fischer almost 9 years ago

  • Tracker changed from Bug report to Feature request

#2 Updated by René-Luc ReLuc almost 9 years ago

  • Target version set to Future Release - Nice to have
  • Assignee set to Marco Hugentobler

Any thoughts about this feature ?

#3 Updated by Nicolas Boisteault almost 8 years ago

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.

#4 Updated by Nicolas Boisteault almost 7 years ago

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.

#5 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No

Also available in: Atom PDF