[OpenLayers-Users] [WFS] Error insert in geoserver
Patrick Mayrand
Patrick.Mayrand at fadq.qc.ca
Wed Jan 6 16:34:40 EST 2010
Hi,
with OL i use the edition of polygon. A transaction with several operation does not work
GML generate by Openlayers:
<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<wfs:Delete typeName="fadq:SAGR_V3" xmlns:fadq="http://sig.fool.qc/fadq"><ogc:Filter ( 'http://mrsig.fadq.qc/fadq" ) xmlns:ogc="http://www.opengis.net/ogc"><ogc:FeatureId ( 'http://www.opengis.net/ogc" ) fid="SAGR_V3.17"/></ogc:Filter></wfs:Delete>
<wfs:Insert><feature:SAGR_V3 xmlns:feature="http://sig.fool.qc/fadq"><feature:GEOM><gml:MultiSurface ( 'http://sig.fool.qc/fadq" ) xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:32198"><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>-206413.01818846 292765.09570319 -206182.22900389 292089.51281744 -205745.8276367 292269.94799811 -205917.87048338 292479.75634772 -206413.01818846 292765.09570319</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface></feature:GEOM></feature:SAGR_V3></wfs:Insert>
</wfs:Transaction>
The order is:
DELETE - INSERT
but the order should be reversed and it works
INSERT - DELETE
It this normal?? a bug??
regards,
Pat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100106/3867c707/attachment.html
More information about the Users
mailing list