Nyall Dawson 8ef960442d [processing] Use lists, not maps in overlap analysis algorithm
Ensures consistent field ordering and that fields are always matched
to input layer order
2019-07-26 10:21:20 +10:00

231 lines
17 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ogr.maptools.org/ overlap_analysis_3.xsd"
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>1</gml:Y></gml:coord>
<gml:coord><gml:X>10</gml:X><gml:Y>16</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.0">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>1,1 5,1 5,5 1,5 1,1</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A1</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>5.46318091048328</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>34.3750000042063</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>3.9732224830741</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>25.0000000201901</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>3.9732224787957</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>24.99999999327</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>2.97991685909677</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>18.7499999949525</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>2.97991685909677</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>18.7499999949525</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>2.97991685909677</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>18.7499999949525</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.1">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2,2 4,2 4,4 2,4 2,2</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A2</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>0.993305619698925</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>25</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>0</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>0</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>0.993305619698925</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>25</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>0</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>0</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>0.993305619698925</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>25</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>1.98661123939785</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>50</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.2">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>7,2 9,2 9,4 7,4 7,2</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A3</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>1.98661123939785</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>50</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>1.98661123939785</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>50</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>0</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>0</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>0</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>0</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>0</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>0</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>0</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>0</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.3">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>6,1 10,1 10,5 6,5 6,1</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A4</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>2.97991686016637</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>18.7500000016825</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>4.96652810063382</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>31.2500000050475</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>0</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>0</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>0.993305619698925</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>6.24999999831749</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>0</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>0</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>0.993305619698925</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>6.24999999831749</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.4">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>1,6 3,6 3,10 1,10 1,6</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A5</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>0</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>0</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>0</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>0</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>0</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>0</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>0</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>0</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>3.9732224798653</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>50</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>0</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>0</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.5">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>3,6 5,6 5,10 3,10 3,6</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A6</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>0</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>0</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>1.98661123939785</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>24.99999999327</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>1.98661123939785</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>24.99999999327</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>0</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>0</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>0</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>0</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>0</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>0</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.6">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>6,6 10,6 10,10 6,10 6,6</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A7</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>0</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>0</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>2.97991685909677</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>18.7499999949525</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>0</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>0</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>0</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>0</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>2.97991685909677</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>18.7499999949525</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>0</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>0</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.7">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>1,11 4,11 4,14 1,14 1,11</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A8</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>0</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>0</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>0</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>0</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>0</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>0</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>0</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>0</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>0</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>0</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>0</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>0</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.8">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>1,13 4,13 4,16 1,16 1,13</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A9</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>0</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>0</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>0</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>0</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>0</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>0</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>0</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>0</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>0</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>0</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>0</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>0</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.9">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>2,12 5,12 5,15 2,15 2,12</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A10</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>0</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>0</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>0</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>0</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>0</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>0</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>0</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>0</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>0</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>0</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>0</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>0</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.10">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>6,11 10,11 10,12 7,12 7,15 6,15 6,11</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A11</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>0</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>0</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>0</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>0</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>0</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>0</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>0</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>0</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>0</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>0</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>0</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>0</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
<gml:featureMember>
<ogr:overlap_analysis_3 fid="overlap_analysis_3.11">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:3857"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>8,13 10,13 10,15 8,15 8,13</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id_a>A12</ogr:id_a>
<ogr:custom_overlay3_b.geojson_area>0</ogr:custom_overlay3_b.geojson_area>
<ogr:custom_overlay3_b.geojson_pc>0</ogr:custom_overlay3_b.geojson_pc>
<ogr:custom_overlay1_b.geojson_area>0</ogr:custom_overlay1_b.geojson_area>
<ogr:custom_overlay1_b.geojson_pc>0</ogr:custom_overlay1_b.geojson_pc>
<ogr:custom_overlay2_a.geojson_area>0</ogr:custom_overlay2_a.geojson_area>
<ogr:custom_overlay2_a.geojson_pc>0</ogr:custom_overlay2_a.geojson_pc>
<ogr:custom_overlay2_b.geojson_area>0</ogr:custom_overlay2_b.geojson_area>
<ogr:custom_overlay2_b.geojson_pc>0</ogr:custom_overlay2_b.geojson_pc>
<ogr:custom_overlay1_a.geojson_area>0</ogr:custom_overlay1_a.geojson_area>
<ogr:custom_overlay1_a.geojson_pc>0</ogr:custom_overlay1_a.geojson_pc>
<ogr:custom_overlay3_a.geojson_area>0</ogr:custom_overlay3_a.geojson_area>
<ogr:custom_overlay3_a.geojson_pc>0</ogr:custom_overlay3_a.geojson_pc>
</ogr:overlap_analysis_3>
</gml:featureMember>
</ogr:FeatureCollection>