Hi, i get some issues with WFS request with qgis sserver 1.9. The following request: * http://192.168.1.93/cgi-bin/qgis_mapserv.fcgi?map=/var/www/jq-webclient/projects/polygon.qgs&SERVICE=WFS&VERSION=1.1.1&TYPENAME=a020101&REQUEST=GetFeature&MAXFEATURES=5000&OUTPUTFORMAT=GML3&SRS=EPSG%3A32632 * returns geometry like this: * ......... ......... <qgs:geometry> <gml:Polygon srsName="EPSG:32632"> <gml:outerBoundaryIs> <gml:LinearRing> <gml:posList srsDimension="2"> 521800.71998283 5041615.03997583 521798.88998283 5041612.09997583 521798.52998283 5041611.40997583 521794.87998283 5041613.36997583 521794.67998283 5041614.20997583 521796.89998283 5041617.96997583 521800.80998283 5041615.84997583 521800.43998283 5041615.17997583 521800.71998283 5041615.03997583 </gml:posList> </gml:LinearRing> </gml:outerBoundaryIs> </gml:Polygon> </qgs:geometry> ....... ....... * Same request on qgis server 1.8: *http://192.168.1.95/cgi-bin/qgis_mapserv.fcgi?map=/var/www/jq-webclient/projects/polygon2.qgs&SERVICE=WFS&VERSION=1.1.1&TYPENAME=A020101&REQUEST=GetFeature&MAXFEATURES=5000&OUTPUTFORMAT=GML3&SRS=EPSG%3A32632 * returns: *...... ...... <qgs:geometry> <gml:Polygon srsName="EPSG:32632"> <outerBoundaryIs xmlns="http://www.opengis.net/gml"> <gml:LinearRing> <gml:coordinates cs="," ts=" ">508718.84000000,5051938.85000000 508717.45000000,5051928.09000000 508695.89000000,5051930.87000000 508697.28000000,5051941.64000000 508718.84000000,5051938.85000000</gml:coordinates> </gml:LinearRing> </outerBoundaryIs> </gml:Polygon> </qgs:geometry> ..... ..... * In second response there is "coordinates" tag and after all i can see Y coordinates: geometry appears in the coorect format (but not with qgis 1.9).
If i change GML3 to GML2 this is the response: *...... ...... <qgs:geometry> <gml:Polygon srsName="EPSG:32632"> <gml:outerBoundaryIs> <gml:LinearRing> <gml:coordinates cs="," ts=" "> 511230.59 5047313.68,511212.58 5047311.94,511212.16 5047316.72,511211.99 5047318.7,511212.76 5047318.77,511229.99 5047320.33,511230.81 5047320.41,511231.36 5047313.75,511230.59 5047313.68 </gml:coordinates> </gml:LinearRing> </gml:outerBoundaryIs> </gml:Polygon> </qgs:geometry> ...... ...... * I can see tag coordinates and Y coordinate, but not in the proper format like this: *x,y x2,y2 ....* but *x y, x2 y2 ...* For this reason the feature i get after WFS request is with no geometry (null geometry) in GML3 format and with not null geometry but without Y coordinate in GML2 format. Do i use a wrong format for qgis server 1.9 ? Do i need to use a different one? Thanks Regards -- View this message in context: http://osgeo-org.1560.n6.nabble.com/qgis-server-1-9-returns-wrong-geometry-with-WFS-request-tp5045033.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
