Skip to content

Commit 51bf08c

Browse files
author
Bernhard Ströbl
committedMar 16, 2016
[processing] change test input to have adjacent polygons
1 parent 62a4db8 commit 51bf08c

File tree

1 file changed

+16
-8
lines changed
  • python/plugins/processing/tests/testdata

1 file changed

+16
-8
lines changed
 

‎python/plugins/processing/tests/testdata/polys.gml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,41 +10,49 @@
1010
<gml:coord><gml:X>10</gml:X><gml:Y>6</gml:Y></gml:coord>
1111
</gml:Box>
1212
</gml:boundedBy>
13-
13+
1414
<gml:featureMember>
1515
<ogr:polys fid="polys.0">
16-
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>-1,-1 2,-1 2,2 3,2 3,3 -1,3 -1,-1</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
16+
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>-1,-1 -1,3 3,3 3,2 2,2 2,-1 -1,-1</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
1717
<ogr:name>aaaaa</ogr:name>
1818
<ogr:intval>33</ogr:intval>
19-
<ogr:floatval>44.123456</ogr:floatval>
19+
<ogr:floatval>44.123455999999997</ogr:floatval>
2020
</ogr:polys>
2121
</gml:featureMember>
2222
<gml:featureMember>
2323
<ogr:polys fid="polys.1">
24-
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>5,5 4,4 6,4 5,5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
24+
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>5,5 6,4 4,4 5,5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
2525
<ogr:name>Aaaaa</ogr:name>
2626
<ogr:intval>-33</ogr:intval>
27-
<ogr:floatval>0</ogr:floatval>
27+
<ogr:floatval>0.000000000000000</ogr:floatval>
2828
</ogr:polys>
2929
</gml:featureMember>
3030
<gml:featureMember>
3131
<ogr:polys fid="polys.2">
3232
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2,5 2,6 3,6 3,5 2,5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
3333
<ogr:name>bbaaa</ogr:name>
34-
<ogr:floatval>0.123</ogr:floatval>
34+
<ogr:floatval>0.123000000000000</ogr:floatval>
3535
</ogr:polys>
3636
</gml:featureMember>
3737
<gml:featureMember>
3838
<ogr:polys fid="polys.3">
39-
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>6,1 10,1 10,-3 6,-3 6,1</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs><gml:innerBoundaryIs><gml:LinearRing><gml:coordinates>7,0 9,0 9,-2 7,-2 7,0</gml:coordinates></gml:LinearRing></gml:innerBoundaryIs></gml:Polygon></ogr:geometryProperty>
39+
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>6,1 10,1 10,-3 6,-3 6,1</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs><gml:innerBoundaryIs><gml:LinearRing><gml:coordinates>7,0 7,-2 9,-2 9,0 7,0</gml:coordinates></gml:LinearRing></gml:innerBoundaryIs></gml:Polygon></ogr:geometryProperty>
4040
<ogr:name>ASDF</ogr:name>
4141
<ogr:intval>0</ogr:intval>
4242
</ogr:polys>
4343
</gml:featureMember>
4444
<gml:featureMember>
4545
<ogr:polys fid="polys.4">
4646
<ogr:intval>120</ogr:intval>
47-
<ogr:floatval>-100291.43213</ogr:floatval>
47+
<ogr:floatval>-100291.432130000001052</ogr:floatval>
48+
</ogr:polys>
49+
</gml:featureMember>
50+
<gml:featureMember>
51+
<ogr:polys fid="polys.5">
52+
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>3,2 6,1 6,-3 2,-1 2,2 3,2</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
53+
<ogr:name>elim</ogr:name>
54+
<ogr:intval>2</ogr:intval>
55+
<ogr:floatval>3.330000000000000</ogr:floatval>
4856
</ogr:polys>
4957
</gml:featureMember>
5058
</ogr:FeatureCollection>

0 commit comments

Comments
 (0)
Please sign in to comment.