[Qgis-developer] QGIS mapserver: Occurrence of <gml:featureMember> elements in WMS GetFeatureInfo response in GML format

rldhont rldhont at gmail.com
Mon Feb 17 06:21:38 PST 2014


Hi Marcel,

It's a bug, you can open an issue on hub.qgis.org with the category 
"mapserver (QGIS-Server)".

Regards,
René-Luc D'Hont
3Liz

Le 17/02/2014 15:15, Marcel Dancak a écrit :
> Hi guys,
>
> Current implementation of QGIS mapserver generates only one 
> <gml:featureMember> element for all features of particular layer. For 
> example, response from GeoServer ( 
> http://demo.opengeo.org/geoserver/wms?LAYERS=topp%3Atasmania_water_bodies&QUERY_LAYERS=topp%3Atasmania_water_bodies&STYLES=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&BBOX=141.5115%2C-43.933%2C150.8015%2C-39.288&FEATURE_COUNT=10&HEIGHT=256&WIDTH=512&FORMAT=application/xml&INFO_FORMAT=application/vnd.ogc.gml&SRS=EPSG%3A4326&X=292&Y=145 
> ) produces
> <gml:featureMember> element for every feature. Also parsing response 
> from QGIS mapserver with OpenLayers (OpenLayers.Format.GML.read 
> method) results in max. 1 feature per layer, even if XML document 
> clearly contains more features.
>
> For me, it seems like bug, but I'm no expert on WMS standard, so maybe 
> there was some good reason to do it this way.
>
>
> Thanks
>
> Marcel Dancak
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140217/4082f2a1/attachment.html>


More information about the Qgis-developer mailing list