Feature request #5892

Enhance the identify on WMS using GetFeatureInfo

Added by aperi2007 - almost 12 years ago. Updated over 11 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Web Services clients/WMS
Pull Request or Patch supplied:No Resolution:invalid
Easy fix?:No Copied to github as #:15342

Description

(see also ticket #5887)
Actually qgis always call an identify on WMS using
INFO_FORMAT=text/plain
An useful enhanced should be add a properties at wms-layer-level settable from user to choose the format for the getfeatureinfo request.
The available values should be:

text/plain
text/xml
text/html


Related issues

Related to QGIS Application - Feature request #6575: Print the contents of identify windows Closed 2012-10-26
Duplicates QGIS Application - Feature request #5887: qgis on a GetFeatureInfo use always text/plain Closed 2012-06-27

History

#1 Updated by aperi2007 - almost 12 years ago

I guess it should better if the choose was based on list of formats available from getcapabilities for that layer.

#2 Updated by Jürgen Fischer almost 12 years ago

  • Subject changed from Enhance che identify on WMS using GetFeatureInfo to Enhance the identify on WMS using GetFeatureInfo

aperi2007 - wrote:

I guess it should better if the choose was based on list of formats available from getcapabilities for that layer.

sure. joining with #5887

#3 Updated by aperi2007 - over 11 years ago

After some tests on getFeatureInfo.
Another good and useful format is GML.

It is useful because it allow to retrieve the geometry in a standard mode.

Also seem all the wms servers allow a GML output.

this is an example for an output GML.

http://web.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmscatasto&language=ita&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&BBOX=1617043.371614,4810657.326353,1617576.552829,4810931.280957&CRS=EPSG:3003&WIDTH=581&HEIGHT=437&LAYERS=rt_cat.idcatbdfog.rt&STYLES=&FORMAT=image/png&QUERY_LAYERS=rt_cat.idcatbdfog.rt&FEATURE_COUNT=10&INFO_FORMAT=text/gml&I=240&J=200

Please notice it return a multipart http response where the first part is the XSD schema and the second part is the GML data.

So with an unique response it return the two files.

#4 Updated by Paolo Cavallini over 11 years ago

  • Target version set to Version 2.0.0

#5 Updated by Pirmin Kalberer over 11 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

#6 Updated by aperi2007 - over 11 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

I close this ticket to open a new ticket with better explanation of what need.

Also available in: Atom PDF