Feature request #12430

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

Added by Nicolas Boisteault about 2 years ago. Updated 23 days ago.

Status:Open
Priority:Normal
Assignee:Marco Hugentobler
Category:QGIS Server
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

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 about 2 years ago

  • Tracker changed from Bug report to Feature request

#2 Updated by René-Luc ReLuc about 2 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 about 1 year 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 2 months 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 23 days ago

  • Easy fix? set to No

Also available in: Atom PDF