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.
This commit is contained in:
Joao Gouveia
2017-08-16 10:20:22 +02:00
parent 44558b7c89
commit 5fce1b0351
9 changed files with 97 additions and 62 deletions
@@ -8,7 +8,7 @@
<MultiLineString xmlns="http://www.opengis.net/gml" srsName="EPSG:900913">
<lineStringMember>
<LineString srsName="EPSG:900913">
<posList>-12279454 6741885 -12064207
<posList srsDimension="2">-12279454 6741885 -12064207
6732101 -11941908 6595126
-12240318 6507071 -12416429
6604910</posList>
@@ -20,7 +20,7 @@
<MultiLineString xmlns="http://www.opengis.net/gml" srsName="EPSG:900913">
<lineStringMember>
<LineString srsName="EPSG:900913">
<posList>-12000000 6700000 -12000001 6700001 -12000002 6700002</posList>
<posList srsDimension="2">-12000000 6700000 -12000001 6700001 -12000002 6700002</posList>
</LineString>
</lineStringMember>
</MultiLineString>