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
+2 -2
View File
@@ -5,7 +5,7 @@
<gml:MultiPoint xmlns:gml="http://www.opengis.net/gml">
<gml:pointMember>
<gml:Point>
<gml:pos>1 2</gml:pos>
<gml:pos srsDimension="2">1 2</gml:pos>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
@@ -20,7 +20,7 @@
<gml:MultiPoint xmlns:gml="http://www.opengis.net/gml">
<gml:pointMember>
<gml:Point>
<gml:pos>1 2</gml:pos>
<gml:pos srsDimension="2">1 2</gml:pos>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>