[OpenLayers-Users] RE RE features from multi geometry
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Wed Feb 11 10:00:29 PST 2015
I got it work
Steve Toutant/INSPQ/SSSS
2015-02-11 10:31
A
Steve.Toutant at inspq.qc.ca
cc
openlayers-users at lists.osgeo.org, openlayers-users-bounces at 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.Toutant at inspq.qc.ca@lists.osgeo.org
Envoyé par : openlayers-users-bounces at lists.osgeo.org
2015-02-10 14:26
A
openlayers-users at 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
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20150211/c9148e56/attachment.html>
More information about the Users
mailing list