Skip to content
Permalink
Browse files

Updated the expected/voronoi_buffer.gml file in testdata to reflect t…

…he new (and hopefully correct behaviour

(cherry-picked from 70b53fb)
  • Loading branch information
havatv authored and nyalldawson committed Jul 30, 2018
1 parent e6ef247 commit 0b6fab6b2169a5624d1e550d2949a1ff8bff341f
Showing with 9 additions and 9 deletions.
  1. +9 −9 python/plugins/processing/tests/testdata/expected/voronoi_buffer.gml
@@ -7,27 +7,27 @@
<gml:boundedBy>
<gml:Box>
<gml:coord><gml:X>-0.8</gml:X><gml:Y>-5.8</gml:Y></gml:coord>
<gml:coord><gml:X>8.800000000000001</gml:X><gml:Y>3.800000000000001</gml:Y></gml:coord>
<gml:coord><gml:X>8.800000000000001</gml:X><gml:Y>3.8</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>

<gml:featureMember>
<ogr:voronoi_buffer fid="points.2">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2.5,0.5 -0.8,3.0 -0.8,3.8 0.703157894736841,3.8 3.16666666666667,1.83333333333333 2.5,0.5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2.5,0.5 -0.8,3.8 1.2,3.8 3.16666666666667,1.83333333333333 2.5,0.5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id>3</ogr:id>
<ogr:id2>0</ogr:id2>
</ogr:voronoi_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:voronoi_buffer fid="points.5">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>-0.8,-5.8 -0.8,-3.0 3.5,-3.0 4.64285714285714,-5.8 -0.8,-5.8</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>-0.8,-5.8 -0.8,-3.0 3.5,-3.0 5.1,-5.8 -0.8,-5.8</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id>6</ogr:id>
<ogr:id2>0</ogr:id2>
</ogr:voronoi_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:voronoi_buffer fid="points.4">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>3.5,-3.0 2.5,-1.0 2.5,0.5 3.16666666666667,1.83333333333333 3.83333333333333,2.16666666666667 5.7,0.3 3.5,-3.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>3.5,-3.0 2.5,-1.0 2.5,0.5 3.16666666666667,1.83333333333333 3.83333333333333,2.16666666666667 5.7,0.3 3.5,-3.0 3.5,-3.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id>5</ogr:id>
<ogr:id2>1</ogr:id2>
</ogr:voronoi_buffer>
@@ -41,28 +41,28 @@
</gml:featureMember>
<gml:featureMember>
<ogr:voronoi_buffer fid="points.1">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>3.16666666666667,1.83333333333333 0.703157894736841,3.8 4.65,3.8 3.83333333333333,2.16666666666667 3.16666666666667,1.83333333333333</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>3.16666666666667,1.83333333333333 1.2,3.8 4.65,3.8 3.83333333333333,2.16666666666667 3.16666666666667,1.83333333333333</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id>2</ogr:id>
<ogr:id2>1</ogr:id2>
</ogr:voronoi_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:voronoi_buffer fid="points.7">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>4.64285714285714,-5.8 3.5,-3.0 5.7,0.3 7.5,1.5 7.5,-5.8 4.64285714285714,-5.8</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>5.1,-5.8 3.5,-3.0 5.7,0.3 7.5,1.5 7.5,-5.8 5.1,-5.8</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id>8</ogr:id>
<ogr:id2>0</ogr:id2>
</ogr:voronoi_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:voronoi_buffer fid="points.0">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2.5,-1.0 -0.8,0.25 -0.8,3.0 2.5,0.5 2.5,-1.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2.5,-1.0 -0.8,0.65 -0.8,3.8 2.5,0.5 2.5,-1.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id>1</ogr:id>
<ogr:id2>2</ogr:id2>
</ogr:voronoi_buffer>
</gml:featureMember>
<gml:featureMember>
<ogr:voronoi_buffer fid="points.8">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>-0.8,-3.0 -0.8,0.25 2.5,-1.0 3.5,-3.0 -0.8,-3.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>-0.8,-3.0 -0.8,0.65 2.5,-1.0 3.5,-3.0 -0.8,-3.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id>9</ogr:id>
<ogr:id2>0</ogr:id2>
</ogr:voronoi_buffer>

0 comments on commit 0b6fab6

Please sign in to comment.
You can’t perform that action at this time.