Files
openlayers/test/spec/ol/format/wfs/TransactionUpdate.xml
Joao Gouveia 5fce1b0351 Adds srsDimension to the pos and posList nodes when writing a WFS transaction
The WFS transaction failed if the srsDimension was not present on the
geometries.
Unit tests have been changed to accomodate the srsDimension attribute.
2017-08-17 10:04:16 +02:00

24 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Transaction xmlns="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">
<Update typeName="foo:FAULTS" xmlns:foo="http://foo">
<Property>
<Name>the_geom</Name>
<Value><MultiLineString xmlns="http://www.opengis.net/gml" srsName="EPSG:900913">
<lineStringMember>
<LineString srsName="EPSG:900913">
<posList srsDimension="2">-12279454 6741885 -12064207
6732101 -11941908 6595126
-12240318 6507071 -12416429
6604910</posList>
</LineString>
</lineStringMember>
</MultiLineString></Value>
</Property>
<Filter xmlns="http://www.opengis.net/ogc">
<FeatureId fid="FAULTS.4455"/>
</Filter>
</Update>
</Transaction>