Feature #5892

Enhance the identify on WMS using GetFeatureInfo

Added by aperi2007 - 11 months ago. Updated 7 months ago.

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

0%

Category:WMS Client
Target version:Version X - Unplanned
Platform: Resolution:invalid
Platform version: Patch supplied:No
Status info:

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 Quantum GIS Desktop - Feature #6575: Print the contents of identify windows Closed 10/26/2012
duplicates Quantum GIS Desktop - Feature #5887: qgis on a GetFeatureInfo use always text/plain Closed 06/27/2012

History

Updated by aperi2007 - 11 months 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 11 months 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 - 9 months 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 9 months ago

  • Target version set to Version 2.0.0

Updated by Pirmin Kalberer 8 months ago

  • Target version changed from Version 2.0.0 to Version X - Unplanned

Updated by aperi2007 - 7 months ago

  • Status changed from New 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 PDF