Feature request #5892

Enhance the identify on WMS using GetFeatureInfo

Added by aperi2007 - almost 5 years ago. Updated over 4 years ago.

Status:Closed Start Date:06/28/2012
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:WMS Client
Target version:Future Release - Nice to have
Platform: Resolution:invalid
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

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 10/26/2012
duplicates QGIS Application - Feature request #5887: qgis on a GetFeatureInfo use always text/plain Closed 06/27/2012

History

Updated by aperi2007 - almost 5 years ago

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

Updated by J├╝rgen Fischer almost 5 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

Updated by aperi2007 - over 4 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.

Updated by Paolo Cavallini over 4 years ago

  • Target version set to Version 2.0.0

Updated by Pirmin Kalberer over 4 years ago

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

Updated by aperi2007 - over 4 years ago

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

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

Also available in: Atom