Hi devs<br><br>René-Luc D'Hont (my colleague) has just asked me to add a redmine issue with his patch :<br><a href="http://hub.qgis.org/issues/5094">http://hub.qgis.org/issues/5094</a><br><br>Description<br><br>Adding the Web Feature Service capabilities Version 1.0.0 to QGIS Server.<br>
The WFS service will then be able to answer the following requests :<br> GetCapabilities, which provides the WFS Service capabilities<br> DescribeFeatureType, which provides the XML features schema<br> GetFeature, which provides the features<br>
<br>The request GetFeature accepts parameters to filter features :<br> BBOX, a bounding box in the features SRS<br> FEATUREID, a feature id<br> FILTER, a filter in Filter Encoding 1.0<br><br>The request GetFeature provides the feature in an XML format, GML2.<br>
<br>The WFS service (GetCapapbilities and GetFeature) has been tested with QGIS. The GetFeature output formats have been tested with OpenLayers (GML2 and GeoJSON).<br>2 patches are proposed in this redmine issue :<br> one for the trunk and branch 1.8<br>
one for the 1.7<br><br>Each patch<br> adds a public method to get QgsGeometry in GeoJSON format<br> adds WFS 1.0.0 service capabilities to QGIS Server<br> extends WFS 1.0.0 service capabilities with GeoJSON output format.<br>
<br><br>Feel free to test and report.<br><br>Michael<br>