I got it work
Steve Toutant/INSPQ/SSSS 2015-02-11 10:31 A steve.tout...@inspq.qc.ca cc openlayers-users@lists.osgeo.org, openlayers-users-boun...@lists.osgeo.org Objet RE [OpenLayers-Users] features from multi geometry I have the same problem with MultiLineString. From a WFS with Mapserver it works but not from geoserver, with the same datasource (postgis) DescribeFeatureType with Mapserver: type="gml:GeometryPropertyType with Geoserver: type="gml:MultiLineStringPropertyType the response >From geoserver <gml:MultiLineString srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:3857"><gml:lineStringMember><gml:LineString srsDimension="2"><gml:posList>-8095778.279048707 6023213.302597357 ..... >From mapserver <ms:msGeometry> <gml:LineString srsName="EPSG:3857"> <gml:posList srsDimension="2">-8105935.433199 6009506.227083 ....... Is it possible to add gml:Multi... features to a vector layer? An example would be appreciated thank you! steve.tout...@inspq.qc.ca@lists.osgeo.org Envoyé par : openlayers-users-boun...@lists.osgeo.org 2015-02-10 14:26 A openlayers-users@lists.osgeo.org cc Objet [OpenLayers-Users] features from multicurve With OL 2.13.1, I send a WFS GetFeature request and I add the features to a vector layer. It works but I have trouble with a layer that is a MultiCurve. Here is a snippet of the response <wfs:FeatureCollection ... <gml:MultiCurve> <gml:curveMember> <gml:LineString> <gml:posList> -7903140.5994000006 5884323.7800000012 ...... </gml:LineString> </gml:curveMember> </gml:MultiCurve> I don't have any error in the console but the features are not added. Can we add features in a OpenLayers.Layer.Vector layer that come from a GML: MultiCurve? Thanks _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users