QGIS/python/plugins/processing/tests/testdata/expected/grid_hexagon_overlay.gml

195 lines
13 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
xmlns:ogr="http://ogr.maptools.org/"
xmlns:gml="http://www.opengis.net/gml">
<gml:boundedBy>
<gml:Box>
<gml:coord><gml:X>-1</gml:X><gml:Y>-9</gml:Y></gml:coord>
<gml:coord><gml:X>16.42413778650723</gml:X><gml:Y>6.5</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.0">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>-1,4 0.443375672974065,6.5 3.33012701892219,6.5 4.77350269189626,4.0 3.33012701892219,1.5 0.443375672974065,1.5 -1,4</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>-1.0000000000000000</ogr:left>
<ogr:top>6.5000000000000000</ogr:top>
<ogr:right>4.7735026918962600</ogr:right>
<ogr:bottom>1.5000000000000000</ogr:bottom>
<ogr:id>1</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.1">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>-1,0 0.443375672974065,2.5 3.33012701892219,2.5 4.77350269189626,0.0 3.33012701892219,-2.5 0.443375672974065,-2.5 -1,0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>-1.0000000000000000</ogr:left>
<ogr:top>2.5000000000000000</ogr:top>
<ogr:right>4.7735026918962600</ogr:right>
<ogr:bottom>-2.5000000000000000</ogr:bottom>
<ogr:id>2</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.2">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>-1,-4 0.443375672974065,-1.5 3.33012701892219,-1.5 4.77350269189626,-4.0 3.33012701892219,-6.5 0.443375672974065,-6.5 -1,-4</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>-1.0000000000000000</ogr:left>
<ogr:top>-1.5000000000000000</ogr:top>
<ogr:right>4.7735026918962600</ogr:right>
<ogr:bottom>-6.5000000000000000</ogr:bottom>
<ogr:id>3</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.3">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>1.33012701892219,1.5 2.77350269189626,4.0 5.66025403784439,4.0 7.10362971081845,1.5 5.66025403784439,-1.0 2.77350269189626,-1.0 1.33012701892219,1.5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>1.3301270189221945</ogr:left>
<ogr:top>4.0000000000000000</ogr:top>
<ogr:right>7.1036297108184545</ogr:right>
<ogr:bottom>-1.0000000000000000</ogr:bottom>
<ogr:id>4</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.4">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>1.33012701892219,-2.5 2.77350269189626,0.0 5.66025403784439,0.0 7.10362971081845,-2.5 5.66025403784439,-5.0 2.77350269189626,-5.0 1.33012701892219,-2.5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>1.3301270189221945</ogr:left>
<ogr:top>0.0000000000000000</ogr:top>
<ogr:right>7.1036297108184545</ogr:right>
<ogr:bottom>-5.0000000000000000</ogr:bottom>
<ogr:id>5</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.5">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>1.33012701892219,-6.5 2.77350269189626,-4.0 5.66025403784439,-4.0 7.10362971081845,-6.5 5.66025403784439,-9.0 2.77350269189626,-9.0 1.33012701892219,-6.5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>1.3301270189221945</ogr:left>
<ogr:top>-4.0000000000000000</ogr:top>
<ogr:right>7.1036297108184545</ogr:right>
<ogr:bottom>-9.0000000000000000</ogr:bottom>
<ogr:id>6</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.6">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>3.66025403784439,4.0 5.10362971081845,6.5 7.99038105676658,6.5 9.43375672974065,4.0 7.99038105676658,1.5 5.10362971081845,1.5 3.66025403784439,4.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>3.6602540378443891</ogr:left>
<ogr:top>6.5000000000000000</ogr:top>
<ogr:right>9.4337567297406490</ogr:right>
<ogr:bottom>1.5000000000000000</ogr:bottom>
<ogr:id>7</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.7">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>3.66025403784439,0.0 5.10362971081845,2.5 7.99038105676658,2.5 9.43375672974065,0.0 7.99038105676658,-2.5 5.10362971081845,-2.5 3.66025403784439,0.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>3.6602540378443891</ogr:left>
<ogr:top>2.5000000000000000</ogr:top>
<ogr:right>9.4337567297406490</ogr:right>
<ogr:bottom>-2.5000000000000000</ogr:bottom>
<ogr:id>8</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.8">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>3.66025403784439,-4.0 5.10362971081845,-1.5 7.99038105676658,-1.5 9.43375672974065,-4.0 7.99038105676658,-6.5 5.10362971081845,-6.5 3.66025403784439,-4.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>3.6602540378443891</ogr:left>
<ogr:top>-1.5000000000000000</ogr:top>
<ogr:right>9.4337567297406490</ogr:right>
<ogr:bottom>-6.5000000000000000</ogr:bottom>
<ogr:id>9</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.9">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>5.99038105676658,1.5 7.43375672974065,4.0 10.3205080756888,4.0 11.7638837486628,1.5 10.3205080756888,-1.0 7.43375672974065,-1.0 5.99038105676658,1.5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>5.9903810567665836</ogr:left>
<ogr:top>4.0000000000000000</ogr:top>
<ogr:right>11.7638837486628436</ogr:right>
<ogr:bottom>-1.0000000000000000</ogr:bottom>
<ogr:id>10</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.10">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>5.99038105676658,-2.5 7.43375672974065,0.0 10.3205080756888,0.0 11.7638837486628,-2.5 10.3205080756888,-5.0 7.43375672974065,-5.0 5.99038105676658,-2.5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>5.9903810567665836</ogr:left>
<ogr:top>0.0000000000000000</ogr:top>
<ogr:right>11.7638837486628436</ogr:right>
<ogr:bottom>-5.0000000000000000</ogr:bottom>
<ogr:id>11</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.11">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>5.99038105676658,-6.5 7.43375672974065,-4.0 10.3205080756888,-4.0 11.7638837486628,-6.5 10.3205080756888,-9.0 7.43375672974065,-9.0 5.99038105676658,-6.5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>5.9903810567665836</ogr:left>
<ogr:top>-4.0000000000000000</ogr:top>
<ogr:right>11.7638837486628436</ogr:right>
<ogr:bottom>-9.0000000000000000</ogr:bottom>
<ogr:id>12</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.12">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>8.32050807568878,4.0 9.76388374866284,6.5 12.650635094611,6.5 14.094010767585,4.0 12.650635094611,1.5 9.76388374866284,1.5 8.32050807568878,4.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>8.3205080756887781</ogr:left>
<ogr:top>6.5000000000000000</ogr:top>
<ogr:right>14.0940107675850381</ogr:right>
<ogr:bottom>1.5000000000000000</ogr:bottom>
<ogr:id>13</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.13">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>8.32050807568878,0.0 9.76388374866284,2.5 12.650635094611,2.5 14.094010767585,0.0 12.650635094611,-2.5 9.76388374866284,-2.5 8.32050807568878,0.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>8.3205080756887781</ogr:left>
<ogr:top>2.5000000000000000</ogr:top>
<ogr:right>14.0940107675850381</ogr:right>
<ogr:bottom>-2.5000000000000000</ogr:bottom>
<ogr:id>14</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.14">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>8.32050807568878,-4.0 9.76388374866284,-1.5 12.650635094611,-1.5 14.094010767585,-4.0 12.650635094611,-6.5 9.76388374866284,-6.5 8.32050807568878,-4.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>8.3205080756887781</ogr:left>
<ogr:top>-1.5000000000000000</ogr:top>
<ogr:right>14.0940107675850381</ogr:right>
<ogr:bottom>-6.5000000000000000</ogr:bottom>
<ogr:id>15</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.15">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>10.650635094611,1.5 12.094010767585,4.0 14.9807621135332,4.0 16.4241377865072,1.5 14.9807621135332,-1.0 12.094010767585,-1.0 10.650635094611,1.5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>10.6506350946109727</ogr:left>
<ogr:top>4.0000000000000000</ogr:top>
<ogr:right>16.4241377865072309</ogr:right>
<ogr:bottom>-1.0000000000000000</ogr:bottom>
<ogr:id>16</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.16">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>10.650635094611,-2.5 12.094010767585,0.0 14.9807621135332,0.0 16.4241377865072,-2.5 14.9807621135332,-5.0 12.094010767585,-5.0 10.650635094611,-2.5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>10.6506350946109727</ogr:left>
<ogr:top>0.0000000000000000</ogr:top>
<ogr:right>16.4241377865072309</ogr:right>
<ogr:bottom>-5.0000000000000000</ogr:bottom>
<ogr:id>17</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
<gml:featureMember>
<ogr:grid_hexagon_overlay fid="grid_hexagon_overlay.17">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>10.650635094611,-6.5 12.094010767585,-4.0 14.9807621135332,-4.0 16.4241377865072,-6.5 14.9807621135332,-9.0 12.094010767585,-9.0 10.650635094611,-6.5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:left>10.6506350946109727</ogr:left>
<ogr:top>-4.0000000000000000</ogr:top>
<ogr:right>16.4241377865072309</ogr:right>
<ogr:bottom>-9.0000000000000000</ogr:bottom>
<ogr:id>18</ogr:id>
</ogr:grid_hexagon_overlay>
</gml:featureMember>
</ogr:FeatureCollection>