Skip to content

Commit 155e712

Browse files
author
Bernhard Ströbl
committedMar 16, 2016
[processing] change polygon test input
1 parent 02df48c commit 155e712

File tree

7 files changed

+20
-23
lines changed

7 files changed

+20
-23
lines changed
 
Binary file not shown.

‎python/plugins/processing/tests/testdata/custom/polys.prj

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎python/plugins/processing/tests/testdata/custom/polys.qpj

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
Binary file not shown.

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<GMLFeatureClassList>
22
<GMLFeatureClass>
3-
<Name>polys</Name>
4-
<ElementPath>polys</ElementPath>
5-
<!--POLYGON-->
3+
<Name>polys2</Name>
4+
<ElementPath>polys2</ElementPath>
65
<GeometryType>3</GeometryType>
76
<SRSName>EPSG:4326</SRSName>
87
<DatasetSpecificInfo>
9-
<FeatureCount>5</FeatureCount>
8+
<FeatureCount>6</FeatureCount>
109
<ExtentXMin>-1.00000</ExtentXMin>
1110
<ExtentXMax>10.00000</ExtentXMax>
1211
<ExtentYMin>-3.00000</ExtentYMin>

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,47 +12,47 @@
1212
</gml:boundedBy>
1313

1414
<gml:featureMember>
15-
<ogr:polys fid="polys.0">
15+
<ogr:polys2 fid="polys.0">
1616
<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.123455999999997</ogr:floatval>
20-
</ogr:polys>
19+
<ogr:floatval>44.123456</ogr:floatval>
20+
</ogr:polys2>
2121
</gml:featureMember>
2222
<gml:featureMember>
23-
<ogr:polys fid="polys.1">
23+
<ogr:polys2 fid="polys.1">
2424
<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.000000000000000</ogr:floatval>
28-
</ogr:polys>
27+
<ogr:floatval>0</ogr:floatval>
28+
</ogr:polys2>
2929
</gml:featureMember>
3030
<gml:featureMember>
31-
<ogr:polys fid="polys.2">
31+
<ogr:polys2 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.123000000000000</ogr:floatval>
35-
</ogr:polys>
34+
<ogr:floatval>0.123</ogr:floatval>
35+
</ogr:polys2>
3636
</gml:featureMember>
3737
<gml:featureMember>
38-
<ogr:polys fid="polys.3">
38+
<ogr:polys2 fid="polys.3">
3939
<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>
42-
</ogr:polys>
42+
</ogr:polys2>
4343
</gml:featureMember>
4444
<gml:featureMember>
45-
<ogr:polys fid="polys.4">
45+
<ogr:polys2 fid="polys.4">
4646
<ogr:intval>120</ogr:intval>
47-
<ogr:floatval>-100291.432130000001052</ogr:floatval>
48-
</ogr:polys>
47+
<ogr:floatval>-100291.43213</ogr:floatval>
48+
</ogr:polys2>
4949
</gml:featureMember>
5050
<gml:featureMember>
51-
<ogr:polys fid="polys.5">
51+
<ogr:polys2 fid="polys.5">
5252
<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>
5353
<ogr:name>elim</ogr:name>
5454
<ogr:intval>2</ogr:intval>
55-
<ogr:floatval>3.330000000000000</ogr:floatval>
56-
</ogr:polys>
55+
<ogr:floatval>3.33</ogr:floatval>
56+
</ogr:polys2>
5757
</gml:featureMember>
5858
</ogr:FeatureCollection>

0 commit comments

Comments
 (0)
Please sign in to comment.