Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] change polygon test input
  • Loading branch information
Bernhard Ströbl committed Mar 16, 2016
1 parent 02df48c commit 155e712
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 23 deletions.
Binary file not shown.
1 change: 0 additions & 1 deletion python/plugins/processing/tests/testdata/custom/polys.prj

This file was deleted.

1 change: 0 additions & 1 deletion python/plugins/processing/tests/testdata/custom/polys.qpj

This file was deleted.

Binary file not shown.
Binary file not shown.
7 changes: 3 additions & 4 deletions python/plugins/processing/tests/testdata/polys.gfs
@@ -1,12 +1,11 @@
<GMLFeatureClassList>
<GMLFeatureClass>
<Name>polys</Name>
<ElementPath>polys</ElementPath>
<!--POLYGON-->
<Name>polys2</Name>
<ElementPath>polys2</ElementPath>
<GeometryType>3</GeometryType>
<SRSName>EPSG:4326</SRSName>
<DatasetSpecificInfo>
<FeatureCount>5</FeatureCount>
<FeatureCount>6</FeatureCount>
<ExtentXMin>-1.00000</ExtentXMin>
<ExtentXMax>10.00000</ExtentXMax>
<ExtentYMin>-3.00000</ExtentYMin>
Expand Down
34 changes: 17 additions & 17 deletions python/plugins/processing/tests/testdata/polys.gml
Expand Up @@ -12,47 +12,47 @@
</gml:boundedBy>

<gml:featureMember>
<ogr:polys fid="polys.0">
<ogr:polys2 fid="polys.0">
<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>
<ogr:name>aaaaa</ogr:name>
<ogr:intval>33</ogr:intval>
<ogr:floatval>44.123455999999997</ogr:floatval>
</ogr:polys>
<ogr:floatval>44.123456</ogr:floatval>
</ogr:polys2>
</gml:featureMember>
<gml:featureMember>
<ogr:polys fid="polys.1">
<ogr:polys2 fid="polys.1">
<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>
<ogr:name>Aaaaa</ogr:name>
<ogr:intval>-33</ogr:intval>
<ogr:floatval>0.000000000000000</ogr:floatval>
</ogr:polys>
<ogr:floatval>0</ogr:floatval>
</ogr:polys2>
</gml:featureMember>
<gml:featureMember>
<ogr:polys fid="polys.2">
<ogr:polys2 fid="polys.2">
<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>
<ogr:name>bbaaa</ogr:name>
<ogr:floatval>0.123000000000000</ogr:floatval>
</ogr:polys>
<ogr:floatval>0.123</ogr:floatval>
</ogr:polys2>
</gml:featureMember>
<gml:featureMember>
<ogr:polys fid="polys.3">
<ogr:polys2 fid="polys.3">
<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>
<ogr:name>ASDF</ogr:name>
<ogr:intval>0</ogr:intval>
</ogr:polys>
</ogr:polys2>
</gml:featureMember>
<gml:featureMember>
<ogr:polys fid="polys.4">
<ogr:polys2 fid="polys.4">
<ogr:intval>120</ogr:intval>
<ogr:floatval>-100291.432130000001052</ogr:floatval>
</ogr:polys>
<ogr:floatval>-100291.43213</ogr:floatval>
</ogr:polys2>
</gml:featureMember>
<gml:featureMember>
<ogr:polys fid="polys.5">
<ogr:polys2 fid="polys.5">
<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>
<ogr:name>elim</ogr:name>
<ogr:intval>2</ogr:intval>
<ogr:floatval>3.330000000000000</ogr:floatval>
</ogr:polys>
<ogr:floatval>3.33</ogr:floatval>
</ogr:polys2>
</gml:featureMember>
</ogr:FeatureCollection>

0 comments on commit 155e712

Please sign in to comment.