Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 07fd02f

Browse files
committedMar 31, 2019
[processing] Fix invalid reprojection in join by location (summary)
1 parent edee0ad commit 07fd02f

10 files changed

+1550
-5
lines changed
 

‎python/plugins/processing/algs/qgis/SpatialJoinSummary.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,6 @@ def addField(original, stat, type):
275275
features = source.getFeatures()
276276
total = 100.0 / source.featureCount() if source.featureCount() else 0
277277

278-
# bounding box transform
279-
bbox_transform = QgsCoordinateTransform(source.sourceCrs(), join_source.sourceCrs(), context.project())
280-
281278
for current, f in enumerate(features):
282279
if feedback.isCanceled():
283280
break
@@ -294,12 +291,11 @@ def addField(original, stat, type):
294291
sink.addFeature(f, QgsFeatureSink.FastInsert)
295292
continue
296293

297-
bbox = bbox_transform.transformBoundingBox(f.geometry().boundingBox())
298294
engine = None
299295

300296
values = []
301297

302-
request = QgsFeatureRequest().setFilterRect(bbox).setSubsetOfAttributes(join_field_indexes).setDestinationCrs(source.sourceCrs(), context.transformContext())
298+
request = QgsFeatureRequest().setFilterRect(f.geometry().boundingBox()).setSubsetOfAttributes(join_field_indexes).setDestinationCrs(source.sourceCrs(), context.transformContext())
303299
for test_feat in join_source.getFeatures(request):
304300
if feedback.isCanceled():
305301
break
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<ogr:FeatureCollection
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://ogr.maptools.org/ line_3857.xsd"
5+
xmlns:ogr="http://ogr.maptools.org/"
6+
xmlns:gml="http://www.opengis.net/gml">
7+
<gml:boundedBy>
8+
<gml:Box>
9+
<gml:coord><gml:X>-170142.2790295565</gml:X><gml:Y>-601233.6051123593</gml:Y></gml:coord>
10+
<gml:coord><gml:X>1198122.331412013</gml:X><gml:Y>487793.1282708889</gml:Y></gml:coord>
11+
</gml:Box>
12+
</gml:boundedBy>
13+
14+
<gml:featureMember>
15+
<ogr:line_3857 fid="line_3857.0">
16+
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>193303.008118985,455636.648094066 67700.5927073567,337822.202907407 40976.6745346706,33011.8416339877 -44539.8636179277,-303824.512095835 -170142.279029556,-309175.468327608</gml:coordinates></gml:LineString></ogr:geometryProperty>
17+
<ogr:val>5</ogr:val>
18+
</ogr:line_3857>
19+
</gml:featureMember>
20+
<gml:featureMember>
21+
<ogr:line_3857 fid="line_3857.1">
22+
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>-63246.6063388065,487793.128270889 -33850.2963488532,142591.63526526</gml:coordinates></gml:LineString></ogr:geometryProperty>
23+
<ogr:val>4</ogr:val>
24+
</ogr:line_3857>
25+
</gml:featureMember>
26+
<gml:featureMember>
27+
<ogr:line_3857 fid="line_3857.2">
28+
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>67700.5927073567,-368051.169570389 78390.1599764311,-23108.5844752597 300198.680809733,-47160.4899983067 628902.874333781,254888.031682493</gml:coordinates></gml:LineString></ogr:geometryProperty>
29+
<ogr:val>8</ogr:val>
30+
</ogr:line_3857>
31+
</gml:featureMember>
32+
<gml:featureMember>
33+
<ogr:line_3857 fid="line_3857.3">
34+
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>733126.155207261,57063.981869392 1016399.68783774,54391.4880260408</gml:coordinates></gml:LineString></ogr:geometryProperty>
35+
<ogr:val>7</ogr:val>
36+
</ogr:line_3857>
37+
</gml:featureMember>
38+
<gml:featureMember>
39+
<ogr:line_3857 fid="line_3857.4">
40+
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>992348.161482323,262911.813488384 1198122.33141201,-263698.89064191</gml:coordinates></gml:LineString></ogr:geometryProperty>
41+
<ogr:val>2</ogr:val>
42+
</ogr:line_3857>
43+
</gml:featureMember>
44+
<gml:featureMember>
45+
<ogr:line_3857 fid="line_3857.5">
46+
<ogr:geometryProperty><gml:LineString srsName="EPSG:3857"><gml:coordinates>882780.096974306,-601233.605112359 762522.465197217,-440351.072066794 1024416.86328955,-263698.89064191</gml:coordinates></gml:LineString></ogr:geometryProperty>
47+
<ogr:val>1</ogr:val>
48+
</ogr:line_3857>
49+
</gml:featureMember>
50+
</ogr:FeatureCollection>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xs:schema targetNamespace="http://ogr.maptools.org/" xmlns:ogr="http://ogr.maptools.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="1.0">
3+
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
4+
<xs:element name="FeatureCollection" type="ogr:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection"/>
5+
<xs:complexType name="FeatureCollectionType">
6+
<xs:complexContent>
7+
<xs:extension base="gml:AbstractFeatureCollectionType">
8+
<xs:attribute name="lockId" type="xs:string" use="optional"/>
9+
<xs:attribute name="scope" type="xs:string" use="optional"/>
10+
</xs:extension>
11+
</xs:complexContent>
12+
</xs:complexType>
13+
<xs:element name="line_3857" type="ogr:line_3857_Type" substitutionGroup="gml:_Feature"/>
14+
<xs:complexType name="line_3857_Type">
15+
<xs:complexContent>
16+
<xs:extension base="gml:AbstractFeatureType">
17+
<xs:sequence>
18+
<xs:element name="geometryProperty" type="gml:LineStringPropertyType" nillable="true" minOccurs="0" maxOccurs="1"/>
19+
<xs:element name="val" nillable="true" minOccurs="0" maxOccurs="1">
20+
<xs:simpleType>
21+
<xs:restriction base="xs:integer">
22+
<xs:totalDigits value="10"/>
23+
</xs:restriction>
24+
</xs:simpleType>
25+
</xs:element>
26+
</xs:sequence>
27+
</xs:extension>
28+
</xs:complexContent>
29+
</xs:complexType>
30+
</xs:schema>
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<ogr:FeatureCollection
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://ogr.maptools.org/ points_3857.xsd"
5+
xmlns:ogr="http://ogr.maptools.org/"
6+
xmlns:gml="http://www.opengis.net/gml">
7+
<gml:boundedBy>
8+
<gml:Box>
9+
<gml:coord><gml:X>0</gml:X><gml:Y>-557305.2572745769</gml:Y></gml:coord>
10+
<gml:coord><gml:X>890555.9263461898</gml:X><gml:Y>334111.1714019597</gml:Y></gml:coord>
11+
</gml:Box>
12+
</gml:boundedBy>
13+
14+
<gml:featureMember>
15+
<ogr:points_3857 fid="points.0">
16+
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>111319.490793272,111325.142866385</gml:coordinates></gml:Point></ogr:geometryProperty>
17+
<ogr:id>1</ogr:id>
18+
<ogr:id2>2</ogr:id2>
19+
</ogr:points_3857>
20+
</gml:featureMember>
21+
<gml:featureMember>
22+
<ogr:points_3857 fid="points.1">
23+
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>333958.47237982,334111.17140196</gml:coordinates></gml:Point></ogr:geometryProperty>
24+
<ogr:id>2</ogr:id>
25+
<ogr:id2>1</ogr:id2>
26+
</ogr:points_3857>
27+
</gml:featureMember>
28+
<gml:featureMember>
29+
<ogr:points_3857 fid="points.2">
30+
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>222638.981586547,222684.208505545</gml:coordinates></gml:Point></ogr:geometryProperty>
31+
<ogr:id>3</ogr:id>
32+
<ogr:id2>0</ogr:id2>
33+
</ogr:points_3857>
34+
</gml:featureMember>
35+
<gml:featureMember>
36+
<ogr:points_3857 fid="points.3">
37+
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>556597.453966367,222684.208505545</gml:coordinates></gml:Point></ogr:geometryProperty>
38+
<ogr:id>4</ogr:id>
39+
<ogr:id2>2</ogr:id2>
40+
</ogr:points_3857>
41+
</gml:featureMember>
42+
<gml:featureMember>
43+
<ogr:points_3857 fid="points.4">
44+
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>445277.963173095,111325.142866385</gml:coordinates></gml:Point></ogr:geometryProperty>
45+
<ogr:id>5</ogr:id>
46+
<ogr:id2>1</ogr:id2>
47+
</ogr:points_3857>
48+
</gml:featureMember>
49+
<gml:featureMember>
50+
<ogr:points_3857 fid="points.5">
51+
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>0.0,-557305.257274577</gml:coordinates></gml:Point></ogr:geometryProperty>
52+
<ogr:id>6</ogr:id>
53+
<ogr:id2>0</ogr:id2>
54+
</ogr:points_3857>
55+
</gml:featureMember>
56+
<gml:featureMember>
57+
<ogr:points_3857 fid="points.6">
58+
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>890555.92634619,-111325.142866386</gml:coordinates></gml:Point></ogr:geometryProperty>
59+
<ogr:id>7</ogr:id>
60+
<ogr:id2>0</ogr:id2>
61+
</ogr:points_3857>
62+
</gml:featureMember>
63+
<gml:featureMember>
64+
<ogr:points_3857 fid="points.7">
65+
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>779236.435552915,-111325.142866386</gml:coordinates></gml:Point></ogr:geometryProperty>
66+
<ogr:id>8</ogr:id>
67+
<ogr:id2>0</ogr:id2>
68+
</ogr:points_3857>
69+
</gml:featureMember>
70+
<gml:featureMember>
71+
<ogr:points_3857 fid="points.8">
72+
<ogr:geometryProperty><gml:Point srsName="EPSG:3857"><gml:coordinates>0.0,-111325.142866386</gml:coordinates></gml:Point></ogr:geometryProperty>
73+
<ogr:id>9</ogr:id>
74+
<ogr:id2>0</ogr:id2>
75+
</ogr:points_3857>
76+
</gml:featureMember>
77+
</ogr:FeatureCollection>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xs:schema targetNamespace="http://ogr.maptools.org/" xmlns:ogr="http://ogr.maptools.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="1.0">
3+
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
4+
<xs:element name="FeatureCollection" type="ogr:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection"/>
5+
<xs:complexType name="FeatureCollectionType">
6+
<xs:complexContent>
7+
<xs:extension base="gml:AbstractFeatureCollectionType">
8+
<xs:attribute name="lockId" type="xs:string" use="optional"/>
9+
<xs:attribute name="scope" type="xs:string" use="optional"/>
10+
</xs:extension>
11+
</xs:complexContent>
12+
</xs:complexType>
13+
<xs:element name="points_3857" type="ogr:points_3857_Type" substitutionGroup="gml:_Feature"/>
14+
<xs:complexType name="points_3857_Type">
15+
<xs:complexContent>
16+
<xs:extension base="gml:AbstractFeatureType">
17+
<xs:sequence>
18+
<xs:element name="geometryProperty" type="gml:PointPropertyType" nillable="true" minOccurs="0" maxOccurs="1"/>
19+
<xs:element name="id" nillable="true" minOccurs="0" maxOccurs="1">
20+
<xs:simpleType>
21+
<xs:restriction base="xs:long">
22+
<xs:totalDigits value="10"/>
23+
</xs:restriction>
24+
</xs:simpleType>
25+
</xs:element>
26+
<xs:element name="id2" nillable="true" minOccurs="0" maxOccurs="1">
27+
<xs:simpleType>
28+
<xs:restriction base="xs:long">
29+
<xs:totalDigits value="10"/>
30+
</xs:restriction>
31+
</xs:simpleType>
32+
</xs:element>
33+
</xs:sequence>
34+
</xs:extension>
35+
</xs:complexContent>
36+
</xs:complexType>
37+
</xs:schema>

‎python/plugins/processing/tests/testdata/expected/join_by_location_line_to_polys_reproj.gml

Lines changed: 326 additions & 0 deletions
Large diffs are not rendered by default.

‎python/plugins/processing/tests/testdata/expected/join_by_location_line_to_polys_reproj.xsd

Lines changed: 378 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 283 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,283 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<ogr:FeatureCollection
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://ogr.maptools.org/ join_by_location_summary_reproject.xsd"
5+
xmlns:ogr="http://ogr.maptools.org/"
6+
xmlns:gml="http://www.opengis.net/gml">
7+
<gml:boundedBy>
8+
<gml:Box>
9+
<gml:coord><gml:X>-1</gml:X><gml:Y>-3</gml:Y></gml:coord>
10+
<gml:coord><gml:X>10</gml:X><gml:Y>6</gml:Y></gml:coord>
11+
</gml:Box>
12+
</gml:boundedBy>
13+
14+
<gml:featureMember>
15+
<ogr:join_by_location_summary_reproject fid="polys.0">
16+
<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>
17+
<ogr:name>aaaaa</ogr:name>
18+
<ogr:intval>33</ogr:intval>
19+
<ogr:floatval>44.123456</ogr:floatval>
20+
<ogr:fid_count>2</ogr:fid_count>
21+
<ogr:fid_unique>2</ogr:fid_unique>
22+
<ogr:fid_empty>0</ogr:fid_empty>
23+
<ogr:fid_filled>2</ogr:fid_filled>
24+
<ogr:fid_min>points.0</ogr:fid_min>
25+
<ogr:fid_max>points.2</ogr:fid_max>
26+
<ogr:fid_min_length>8</ogr:fid_min_length>
27+
<ogr:fid_max_length>8</ogr:fid_max_length>
28+
<ogr:fid_mean_length>8.000000</ogr:fid_mean_length>
29+
<ogr:id_count>2</ogr:id_count>
30+
<ogr:id_unique>2</ogr:id_unique>
31+
<ogr:id_min>1.000000</ogr:id_min>
32+
<ogr:id_max>3.000000</ogr:id_max>
33+
<ogr:id_range>2.000000</ogr:id_range>
34+
<ogr:id_sum>4.000000</ogr:id_sum>
35+
<ogr:id_mean>2.000000</ogr:id_mean>
36+
<ogr:id_median>2.000000</ogr:id_median>
37+
<ogr:id_stddev>1.000000</ogr:id_stddev>
38+
<ogr:id_minority>1.000000</ogr:id_minority>
39+
<ogr:id_majority>1.000000</ogr:id_majority>
40+
<ogr:id_q1>1.000000</ogr:id_q1>
41+
<ogr:id_q3>3.000000</ogr:id_q3>
42+
<ogr:id_iqr>2.000000</ogr:id_iqr>
43+
<ogr:id2_count>2</ogr:id2_count>
44+
<ogr:id2_unique>2</ogr:id2_unique>
45+
<ogr:id2_min>0.000000</ogr:id2_min>
46+
<ogr:id2_max>2.000000</ogr:id2_max>
47+
<ogr:id2_range>2.000000</ogr:id2_range>
48+
<ogr:id2_sum>2.000000</ogr:id2_sum>
49+
<ogr:id2_mean>1.000000</ogr:id2_mean>
50+
<ogr:id2_median>1.000000</ogr:id2_median>
51+
<ogr:id2_stddev>1.000000</ogr:id2_stddev>
52+
<ogr:id2_minority>0.000000</ogr:id2_minority>
53+
<ogr:id2_majority>0.000000</ogr:id2_majority>
54+
<ogr:id2_q1>0.000000</ogr:id2_q1>
55+
<ogr:id2_q3>2.000000</ogr:id2_q3>
56+
<ogr:id2_iqr>2.000000</ogr:id2_iqr>
57+
</ogr:join_by_location_summary_reproject>
58+
</gml:featureMember>
59+
<gml:featureMember>
60+
<ogr:join_by_location_summary_reproject fid="polys.1">
61+
<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>
62+
<ogr:name>Aaaaa</ogr:name>
63+
<ogr:intval>-33</ogr:intval>
64+
<ogr:floatval>0</ogr:floatval>
65+
<ogr:fid_count xsi:nil="true"/>
66+
<ogr:fid_unique xsi:nil="true"/>
67+
<ogr:fid_empty xsi:nil="true"/>
68+
<ogr:fid_filled xsi:nil="true"/>
69+
<ogr:fid_min xsi:nil="true"/>
70+
<ogr:fid_max xsi:nil="true"/>
71+
<ogr:fid_min_length xsi:nil="true"/>
72+
<ogr:fid_max_length xsi:nil="true"/>
73+
<ogr:fid_mean_length xsi:nil="true"/>
74+
<ogr:id_count xsi:nil="true"/>
75+
<ogr:id_unique xsi:nil="true"/>
76+
<ogr:id_min xsi:nil="true"/>
77+
<ogr:id_max xsi:nil="true"/>
78+
<ogr:id_range xsi:nil="true"/>
79+
<ogr:id_sum xsi:nil="true"/>
80+
<ogr:id_mean xsi:nil="true"/>
81+
<ogr:id_median xsi:nil="true"/>
82+
<ogr:id_stddev xsi:nil="true"/>
83+
<ogr:id_minority xsi:nil="true"/>
84+
<ogr:id_majority xsi:nil="true"/>
85+
<ogr:id_q1 xsi:nil="true"/>
86+
<ogr:id_q3 xsi:nil="true"/>
87+
<ogr:id_iqr xsi:nil="true"/>
88+
<ogr:id2_count xsi:nil="true"/>
89+
<ogr:id2_unique xsi:nil="true"/>
90+
<ogr:id2_min xsi:nil="true"/>
91+
<ogr:id2_max xsi:nil="true"/>
92+
<ogr:id2_range xsi:nil="true"/>
93+
<ogr:id2_sum xsi:nil="true"/>
94+
<ogr:id2_mean xsi:nil="true"/>
95+
<ogr:id2_median xsi:nil="true"/>
96+
<ogr:id2_stddev xsi:nil="true"/>
97+
<ogr:id2_minority xsi:nil="true"/>
98+
<ogr:id2_majority xsi:nil="true"/>
99+
<ogr:id2_q1 xsi:nil="true"/>
100+
<ogr:id2_q3 xsi:nil="true"/>
101+
<ogr:id2_iqr xsi:nil="true"/>
102+
</ogr:join_by_location_summary_reproject>
103+
</gml:featureMember>
104+
<gml:featureMember>
105+
<ogr:join_by_location_summary_reproject fid="polys.2">
106+
<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>
107+
<ogr:name>bbaaa</ogr:name>
108+
<ogr:intval xsi:nil="true"/>
109+
<ogr:floatval>0.123</ogr:floatval>
110+
<ogr:fid_count xsi:nil="true"/>
111+
<ogr:fid_unique xsi:nil="true"/>
112+
<ogr:fid_empty xsi:nil="true"/>
113+
<ogr:fid_filled xsi:nil="true"/>
114+
<ogr:fid_min xsi:nil="true"/>
115+
<ogr:fid_max xsi:nil="true"/>
116+
<ogr:fid_min_length xsi:nil="true"/>
117+
<ogr:fid_max_length xsi:nil="true"/>
118+
<ogr:fid_mean_length xsi:nil="true"/>
119+
<ogr:id_count xsi:nil="true"/>
120+
<ogr:id_unique xsi:nil="true"/>
121+
<ogr:id_min xsi:nil="true"/>
122+
<ogr:id_max xsi:nil="true"/>
123+
<ogr:id_range xsi:nil="true"/>
124+
<ogr:id_sum xsi:nil="true"/>
125+
<ogr:id_mean xsi:nil="true"/>
126+
<ogr:id_median xsi:nil="true"/>
127+
<ogr:id_stddev xsi:nil="true"/>
128+
<ogr:id_minority xsi:nil="true"/>
129+
<ogr:id_majority xsi:nil="true"/>
130+
<ogr:id_q1 xsi:nil="true"/>
131+
<ogr:id_q3 xsi:nil="true"/>
132+
<ogr:id_iqr xsi:nil="true"/>
133+
<ogr:id2_count xsi:nil="true"/>
134+
<ogr:id2_unique xsi:nil="true"/>
135+
<ogr:id2_min xsi:nil="true"/>
136+
<ogr:id2_max xsi:nil="true"/>
137+
<ogr:id2_range xsi:nil="true"/>
138+
<ogr:id2_sum xsi:nil="true"/>
139+
<ogr:id2_mean xsi:nil="true"/>
140+
<ogr:id2_median xsi:nil="true"/>
141+
<ogr:id2_stddev xsi:nil="true"/>
142+
<ogr:id2_minority xsi:nil="true"/>
143+
<ogr:id2_majority xsi:nil="true"/>
144+
<ogr:id2_q1 xsi:nil="true"/>
145+
<ogr:id2_q3 xsi:nil="true"/>
146+
<ogr:id2_iqr xsi:nil="true"/>
147+
</ogr:join_by_location_summary_reproject>
148+
</gml:featureMember>
149+
<gml:featureMember>
150+
<ogr:join_by_location_summary_reproject fid="polys.3">
151+
<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>
152+
<ogr:name>ASDF</ogr:name>
153+
<ogr:intval>0</ogr:intval>
154+
<ogr:floatval xsi:nil="true"/>
155+
<ogr:fid_count>1</ogr:fid_count>
156+
<ogr:fid_unique>1</ogr:fid_unique>
157+
<ogr:fid_empty>0</ogr:fid_empty>
158+
<ogr:fid_filled>1</ogr:fid_filled>
159+
<ogr:fid_min>points.7</ogr:fid_min>
160+
<ogr:fid_max>points.7</ogr:fid_max>
161+
<ogr:fid_min_length>8</ogr:fid_min_length>
162+
<ogr:fid_max_length>8</ogr:fid_max_length>
163+
<ogr:fid_mean_length>8.000000</ogr:fid_mean_length>
164+
<ogr:id_count>1</ogr:id_count>
165+
<ogr:id_unique>1</ogr:id_unique>
166+
<ogr:id_min>8.000000</ogr:id_min>
167+
<ogr:id_max>8.000000</ogr:id_max>
168+
<ogr:id_range>0.000000</ogr:id_range>
169+
<ogr:id_sum>8.000000</ogr:id_sum>
170+
<ogr:id_mean>8.000000</ogr:id_mean>
171+
<ogr:id_median>8.000000</ogr:id_median>
172+
<ogr:id_stddev>0.000000</ogr:id_stddev>
173+
<ogr:id_minority>8.000000</ogr:id_minority>
174+
<ogr:id_majority>8.000000</ogr:id_majority>
175+
<ogr:id_q1>8.000000</ogr:id_q1>
176+
<ogr:id_q3>8.000000</ogr:id_q3>
177+
<ogr:id_iqr>0.000000</ogr:id_iqr>
178+
<ogr:id2_count>1</ogr:id2_count>
179+
<ogr:id2_unique>1</ogr:id2_unique>
180+
<ogr:id2_min>0.000000</ogr:id2_min>
181+
<ogr:id2_max>0.000000</ogr:id2_max>
182+
<ogr:id2_range>0.000000</ogr:id2_range>
183+
<ogr:id2_sum>0.000000</ogr:id2_sum>
184+
<ogr:id2_mean>0.000000</ogr:id2_mean>
185+
<ogr:id2_median>0.000000</ogr:id2_median>
186+
<ogr:id2_stddev>0.000000</ogr:id2_stddev>
187+
<ogr:id2_minority>0.000000</ogr:id2_minority>
188+
<ogr:id2_majority>0.000000</ogr:id2_majority>
189+
<ogr:id2_q1>0.000000</ogr:id2_q1>
190+
<ogr:id2_q3>0.000000</ogr:id2_q3>
191+
<ogr:id2_iqr>0.000000</ogr:id2_iqr>
192+
</ogr:join_by_location_summary_reproject>
193+
</gml:featureMember>
194+
<gml:featureMember>
195+
<ogr:join_by_location_summary_reproject fid="polys.4">
196+
<ogr:name xsi:nil="true"/>
197+
<ogr:intval>120</ogr:intval>
198+
<ogr:floatval>-100291.43213</ogr:floatval>
199+
<ogr:fid_count xsi:nil="true"/>
200+
<ogr:fid_unique xsi:nil="true"/>
201+
<ogr:fid_empty xsi:nil="true"/>
202+
<ogr:fid_filled xsi:nil="true"/>
203+
<ogr:fid_min xsi:nil="true"/>
204+
<ogr:fid_max xsi:nil="true"/>
205+
<ogr:fid_min_length xsi:nil="true"/>
206+
<ogr:fid_max_length xsi:nil="true"/>
207+
<ogr:fid_mean_length xsi:nil="true"/>
208+
<ogr:id_count xsi:nil="true"/>
209+
<ogr:id_unique xsi:nil="true"/>
210+
<ogr:id_min xsi:nil="true"/>
211+
<ogr:id_max xsi:nil="true"/>
212+
<ogr:id_range xsi:nil="true"/>
213+
<ogr:id_sum xsi:nil="true"/>
214+
<ogr:id_mean xsi:nil="true"/>
215+
<ogr:id_median xsi:nil="true"/>
216+
<ogr:id_stddev xsi:nil="true"/>
217+
<ogr:id_minority xsi:nil="true"/>
218+
<ogr:id_majority xsi:nil="true"/>
219+
<ogr:id_q1 xsi:nil="true"/>
220+
<ogr:id_q3 xsi:nil="true"/>
221+
<ogr:id_iqr xsi:nil="true"/>
222+
<ogr:id2_count xsi:nil="true"/>
223+
<ogr:id2_unique xsi:nil="true"/>
224+
<ogr:id2_min xsi:nil="true"/>
225+
<ogr:id2_max xsi:nil="true"/>
226+
<ogr:id2_range xsi:nil="true"/>
227+
<ogr:id2_sum xsi:nil="true"/>
228+
<ogr:id2_mean xsi:nil="true"/>
229+
<ogr:id2_median xsi:nil="true"/>
230+
<ogr:id2_stddev xsi:nil="true"/>
231+
<ogr:id2_minority xsi:nil="true"/>
232+
<ogr:id2_majority xsi:nil="true"/>
233+
<ogr:id2_q1 xsi:nil="true"/>
234+
<ogr:id2_q3 xsi:nil="true"/>
235+
<ogr:id2_iqr xsi:nil="true"/>
236+
</ogr:join_by_location_summary_reproject>
237+
</gml:featureMember>
238+
<gml:featureMember>
239+
<ogr:join_by_location_summary_reproject fid="polys.5">
240+
<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>
241+
<ogr:name>elim</ogr:name>
242+
<ogr:intval>2</ogr:intval>
243+
<ogr:floatval>3.33</ogr:floatval>
244+
<ogr:fid_count>1</ogr:fid_count>
245+
<ogr:fid_unique>1</ogr:fid_unique>
246+
<ogr:fid_empty>0</ogr:fid_empty>
247+
<ogr:fid_filled>1</ogr:fid_filled>
248+
<ogr:fid_min>points.4</ogr:fid_min>
249+
<ogr:fid_max>points.4</ogr:fid_max>
250+
<ogr:fid_min_length>8</ogr:fid_min_length>
251+
<ogr:fid_max_length>8</ogr:fid_max_length>
252+
<ogr:fid_mean_length>8.000000</ogr:fid_mean_length>
253+
<ogr:id_count>1</ogr:id_count>
254+
<ogr:id_unique>1</ogr:id_unique>
255+
<ogr:id_min>5.000000</ogr:id_min>
256+
<ogr:id_max>5.000000</ogr:id_max>
257+
<ogr:id_range>0.000000</ogr:id_range>
258+
<ogr:id_sum>5.000000</ogr:id_sum>
259+
<ogr:id_mean>5.000000</ogr:id_mean>
260+
<ogr:id_median>5.000000</ogr:id_median>
261+
<ogr:id_stddev>0.000000</ogr:id_stddev>
262+
<ogr:id_minority>5.000000</ogr:id_minority>
263+
<ogr:id_majority>5.000000</ogr:id_majority>
264+
<ogr:id_q1>5.000000</ogr:id_q1>
265+
<ogr:id_q3>5.000000</ogr:id_q3>
266+
<ogr:id_iqr>0.000000</ogr:id_iqr>
267+
<ogr:id2_count>1</ogr:id2_count>
268+
<ogr:id2_unique>1</ogr:id2_unique>
269+
<ogr:id2_min>1.000000</ogr:id2_min>
270+
<ogr:id2_max>1.000000</ogr:id2_max>
271+
<ogr:id2_range>0.000000</ogr:id2_range>
272+
<ogr:id2_sum>1.000000</ogr:id2_sum>
273+
<ogr:id2_mean>1.000000</ogr:id2_mean>
274+
<ogr:id2_median>1.000000</ogr:id2_median>
275+
<ogr:id2_stddev>0.000000</ogr:id2_stddev>
276+
<ogr:id2_minority>1.000000</ogr:id2_minority>
277+
<ogr:id2_majority>1.000000</ogr:id2_majority>
278+
<ogr:id2_q1>1.000000</ogr:id2_q1>
279+
<ogr:id2_q3>1.000000</ogr:id2_q3>
280+
<ogr:id2_iqr>0.000000</ogr:id2_iqr>
281+
</ogr:join_by_location_summary_reproject>
282+
</gml:featureMember>
283+
</ogr:FeatureCollection>
Lines changed: 327 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,327 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xs:schema targetNamespace="http://ogr.maptools.org/" xmlns:ogr="http://ogr.maptools.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="1.0">
3+
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
4+
<xs:element name="FeatureCollection" type="ogr:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection"/>
5+
<xs:complexType name="FeatureCollectionType">
6+
<xs:complexContent>
7+
<xs:extension base="gml:AbstractFeatureCollectionType">
8+
<xs:attribute name="lockId" type="xs:string" use="optional"/>
9+
<xs:attribute name="scope" type="xs:string" use="optional"/>
10+
</xs:extension>
11+
</xs:complexContent>
12+
</xs:complexType>
13+
<xs:element name="join_by_location_summary_reproject" type="ogr:join_by_location_summary_reproject_Type" substitutionGroup="gml:_Feature"/>
14+
<xs:complexType name="join_by_location_summary_reproject_Type">
15+
<xs:complexContent>
16+
<xs:extension base="gml:AbstractFeatureType">
17+
<xs:sequence>
18+
<xs:element name="geometryProperty" type="gml:PolygonPropertyType" nillable="true" minOccurs="0" maxOccurs="1"/>
19+
<xs:element name="name" nillable="true" minOccurs="0" maxOccurs="1">
20+
<xs:simpleType>
21+
<xs:restriction base="xs:string">
22+
<xs:maxLength value="5"/>
23+
</xs:restriction>
24+
</xs:simpleType>
25+
</xs:element>
26+
<xs:element name="intval" nillable="true" minOccurs="0" maxOccurs="1">
27+
<xs:simpleType>
28+
<xs:restriction base="xs:integer">
29+
<xs:totalDigits value="10"/>
30+
</xs:restriction>
31+
</xs:simpleType>
32+
</xs:element>
33+
<xs:element name="floatval" nillable="true" minOccurs="0" maxOccurs="1">
34+
<xs:simpleType>
35+
<xs:restriction base="xs:decimal">
36+
</xs:restriction>
37+
</xs:simpleType>
38+
</xs:element>
39+
<xs:element name="fid_count" nillable="true" minOccurs="0" maxOccurs="1">
40+
<xs:simpleType>
41+
<xs:restriction base="xs:integer">
42+
<xs:totalDigits value="10"/>
43+
</xs:restriction>
44+
</xs:simpleType>
45+
</xs:element>
46+
<xs:element name="fid_unique" nillable="true" minOccurs="0" maxOccurs="1">
47+
<xs:simpleType>
48+
<xs:restriction base="xs:integer">
49+
<xs:totalDigits value="10"/>
50+
</xs:restriction>
51+
</xs:simpleType>
52+
</xs:element>
53+
<xs:element name="fid_empty" nillable="true" minOccurs="0" maxOccurs="1">
54+
<xs:simpleType>
55+
<xs:restriction base="xs:integer">
56+
<xs:totalDigits value="10"/>
57+
</xs:restriction>
58+
</xs:simpleType>
59+
</xs:element>
60+
<xs:element name="fid_filled" nillable="true" minOccurs="0" maxOccurs="1">
61+
<xs:simpleType>
62+
<xs:restriction base="xs:integer">
63+
<xs:totalDigits value="10"/>
64+
</xs:restriction>
65+
</xs:simpleType>
66+
</xs:element>
67+
<xs:element name="fid_min" nillable="true" minOccurs="0" maxOccurs="1">
68+
<xs:simpleType>
69+
<xs:restriction base="xs:string">
70+
<xs:maxLength value="255"/>
71+
</xs:restriction>
72+
</xs:simpleType>
73+
</xs:element>
74+
<xs:element name="fid_max" nillable="true" minOccurs="0" maxOccurs="1">
75+
<xs:simpleType>
76+
<xs:restriction base="xs:string">
77+
<xs:maxLength value="255"/>
78+
</xs:restriction>
79+
</xs:simpleType>
80+
</xs:element>
81+
<xs:element name="fid_min_length" nillable="true" minOccurs="0" maxOccurs="1">
82+
<xs:simpleType>
83+
<xs:restriction base="xs:integer">
84+
<xs:totalDigits value="10"/>
85+
</xs:restriction>
86+
</xs:simpleType>
87+
</xs:element>
88+
<xs:element name="fid_max_length" nillable="true" minOccurs="0" maxOccurs="1">
89+
<xs:simpleType>
90+
<xs:restriction base="xs:integer">
91+
<xs:totalDigits value="10"/>
92+
</xs:restriction>
93+
</xs:simpleType>
94+
</xs:element>
95+
<xs:element name="fid_mean_length" nillable="true" minOccurs="0" maxOccurs="1">
96+
<xs:simpleType>
97+
<xs:restriction base="xs:decimal">
98+
<xs:totalDigits value="21"/>
99+
<xs:fractionDigits value="6"/>
100+
</xs:restriction>
101+
</xs:simpleType>
102+
</xs:element>
103+
<xs:element name="id_count" nillable="true" minOccurs="0" maxOccurs="1">
104+
<xs:simpleType>
105+
<xs:restriction base="xs:integer">
106+
<xs:totalDigits value="10"/>
107+
</xs:restriction>
108+
</xs:simpleType>
109+
</xs:element>
110+
<xs:element name="id_unique" nillable="true" minOccurs="0" maxOccurs="1">
111+
<xs:simpleType>
112+
<xs:restriction base="xs:integer">
113+
<xs:totalDigits value="10"/>
114+
</xs:restriction>
115+
</xs:simpleType>
116+
</xs:element>
117+
<xs:element name="id_min" nillable="true" minOccurs="0" maxOccurs="1">
118+
<xs:simpleType>
119+
<xs:restriction base="xs:decimal">
120+
<xs:totalDigits value="21"/>
121+
<xs:fractionDigits value="6"/>
122+
</xs:restriction>
123+
</xs:simpleType>
124+
</xs:element>
125+
<xs:element name="id_max" nillable="true" minOccurs="0" maxOccurs="1">
126+
<xs:simpleType>
127+
<xs:restriction base="xs:decimal">
128+
<xs:totalDigits value="21"/>
129+
<xs:fractionDigits value="6"/>
130+
</xs:restriction>
131+
</xs:simpleType>
132+
</xs:element>
133+
<xs:element name="id_range" nillable="true" minOccurs="0" maxOccurs="1">
134+
<xs:simpleType>
135+
<xs:restriction base="xs:decimal">
136+
<xs:totalDigits value="21"/>
137+
<xs:fractionDigits value="6"/>
138+
</xs:restriction>
139+
</xs:simpleType>
140+
</xs:element>
141+
<xs:element name="id_sum" nillable="true" minOccurs="0" maxOccurs="1">
142+
<xs:simpleType>
143+
<xs:restriction base="xs:decimal">
144+
<xs:totalDigits value="21"/>
145+
<xs:fractionDigits value="6"/>
146+
</xs:restriction>
147+
</xs:simpleType>
148+
</xs:element>
149+
<xs:element name="id_mean" nillable="true" minOccurs="0" maxOccurs="1">
150+
<xs:simpleType>
151+
<xs:restriction base="xs:decimal">
152+
<xs:totalDigits value="21"/>
153+
<xs:fractionDigits value="6"/>
154+
</xs:restriction>
155+
</xs:simpleType>
156+
</xs:element>
157+
<xs:element name="id_median" nillable="true" minOccurs="0" maxOccurs="1">
158+
<xs:simpleType>
159+
<xs:restriction base="xs:decimal">
160+
<xs:totalDigits value="21"/>
161+
<xs:fractionDigits value="6"/>
162+
</xs:restriction>
163+
</xs:simpleType>
164+
</xs:element>
165+
<xs:element name="id_stddev" nillable="true" minOccurs="0" maxOccurs="1">
166+
<xs:simpleType>
167+
<xs:restriction base="xs:decimal">
168+
<xs:totalDigits value="21"/>
169+
<xs:fractionDigits value="6"/>
170+
</xs:restriction>
171+
</xs:simpleType>
172+
</xs:element>
173+
<xs:element name="id_minority" nillable="true" minOccurs="0" maxOccurs="1">
174+
<xs:simpleType>
175+
<xs:restriction base="xs:decimal">
176+
<xs:totalDigits value="21"/>
177+
<xs:fractionDigits value="6"/>
178+
</xs:restriction>
179+
</xs:simpleType>
180+
</xs:element>
181+
<xs:element name="id_majority" nillable="true" minOccurs="0" maxOccurs="1">
182+
<xs:simpleType>
183+
<xs:restriction base="xs:decimal">
184+
<xs:totalDigits value="21"/>
185+
<xs:fractionDigits value="6"/>
186+
</xs:restriction>
187+
</xs:simpleType>
188+
</xs:element>
189+
<xs:element name="id_q1" nillable="true" minOccurs="0" maxOccurs="1">
190+
<xs:simpleType>
191+
<xs:restriction base="xs:decimal">
192+
<xs:totalDigits value="21"/>
193+
<xs:fractionDigits value="6"/>
194+
</xs:restriction>
195+
</xs:simpleType>
196+
</xs:element>
197+
<xs:element name="id_q3" nillable="true" minOccurs="0" maxOccurs="1">
198+
<xs:simpleType>
199+
<xs:restriction base="xs:decimal">
200+
<xs:totalDigits value="21"/>
201+
<xs:fractionDigits value="6"/>
202+
</xs:restriction>
203+
</xs:simpleType>
204+
</xs:element>
205+
<xs:element name="id_iqr" nillable="true" minOccurs="0" maxOccurs="1">
206+
<xs:simpleType>
207+
<xs:restriction base="xs:decimal">
208+
<xs:totalDigits value="21"/>
209+
<xs:fractionDigits value="6"/>
210+
</xs:restriction>
211+
</xs:simpleType>
212+
</xs:element>
213+
<xs:element name="id2_count" nillable="true" minOccurs="0" maxOccurs="1">
214+
<xs:simpleType>
215+
<xs:restriction base="xs:integer">
216+
<xs:totalDigits value="10"/>
217+
</xs:restriction>
218+
</xs:simpleType>
219+
</xs:element>
220+
<xs:element name="id2_unique" nillable="true" minOccurs="0" maxOccurs="1">
221+
<xs:simpleType>
222+
<xs:restriction base="xs:integer">
223+
<xs:totalDigits value="10"/>
224+
</xs:restriction>
225+
</xs:simpleType>
226+
</xs:element>
227+
<xs:element name="id2_min" nillable="true" minOccurs="0" maxOccurs="1">
228+
<xs:simpleType>
229+
<xs:restriction base="xs:decimal">
230+
<xs:totalDigits value="21"/>
231+
<xs:fractionDigits value="6"/>
232+
</xs:restriction>
233+
</xs:simpleType>
234+
</xs:element>
235+
<xs:element name="id2_max" nillable="true" minOccurs="0" maxOccurs="1">
236+
<xs:simpleType>
237+
<xs:restriction base="xs:decimal">
238+
<xs:totalDigits value="21"/>
239+
<xs:fractionDigits value="6"/>
240+
</xs:restriction>
241+
</xs:simpleType>
242+
</xs:element>
243+
<xs:element name="id2_range" nillable="true" minOccurs="0" maxOccurs="1">
244+
<xs:simpleType>
245+
<xs:restriction base="xs:decimal">
246+
<xs:totalDigits value="21"/>
247+
<xs:fractionDigits value="6"/>
248+
</xs:restriction>
249+
</xs:simpleType>
250+
</xs:element>
251+
<xs:element name="id2_sum" nillable="true" minOccurs="0" maxOccurs="1">
252+
<xs:simpleType>
253+
<xs:restriction base="xs:decimal">
254+
<xs:totalDigits value="21"/>
255+
<xs:fractionDigits value="6"/>
256+
</xs:restriction>
257+
</xs:simpleType>
258+
</xs:element>
259+
<xs:element name="id2_mean" nillable="true" minOccurs="0" maxOccurs="1">
260+
<xs:simpleType>
261+
<xs:restriction base="xs:decimal">
262+
<xs:totalDigits value="21"/>
263+
<xs:fractionDigits value="6"/>
264+
</xs:restriction>
265+
</xs:simpleType>
266+
</xs:element>
267+
<xs:element name="id2_median" nillable="true" minOccurs="0" maxOccurs="1">
268+
<xs:simpleType>
269+
<xs:restriction base="xs:decimal">
270+
<xs:totalDigits value="21"/>
271+
<xs:fractionDigits value="6"/>
272+
</xs:restriction>
273+
</xs:simpleType>
274+
</xs:element>
275+
<xs:element name="id2_stddev" nillable="true" minOccurs="0" maxOccurs="1">
276+
<xs:simpleType>
277+
<xs:restriction base="xs:decimal">
278+
<xs:totalDigits value="21"/>
279+
<xs:fractionDigits value="6"/>
280+
</xs:restriction>
281+
</xs:simpleType>
282+
</xs:element>
283+
<xs:element name="id2_minority" nillable="true" minOccurs="0" maxOccurs="1">
284+
<xs:simpleType>
285+
<xs:restriction base="xs:decimal">
286+
<xs:totalDigits value="21"/>
287+
<xs:fractionDigits value="6"/>
288+
</xs:restriction>
289+
</xs:simpleType>
290+
</xs:element>
291+
<xs:element name="id2_majority" nillable="true" minOccurs="0" maxOccurs="1">
292+
<xs:simpleType>
293+
<xs:restriction base="xs:decimal">
294+
<xs:totalDigits value="21"/>
295+
<xs:fractionDigits value="6"/>
296+
</xs:restriction>
297+
</xs:simpleType>
298+
</xs:element>
299+
<xs:element name="id2_q1" nillable="true" minOccurs="0" maxOccurs="1">
300+
<xs:simpleType>
301+
<xs:restriction base="xs:decimal">
302+
<xs:totalDigits value="21"/>
303+
<xs:fractionDigits value="6"/>
304+
</xs:restriction>
305+
</xs:simpleType>
306+
</xs:element>
307+
<xs:element name="id2_q3" nillable="true" minOccurs="0" maxOccurs="1">
308+
<xs:simpleType>
309+
<xs:restriction base="xs:decimal">
310+
<xs:totalDigits value="21"/>
311+
<xs:fractionDigits value="6"/>
312+
</xs:restriction>
313+
</xs:simpleType>
314+
</xs:element>
315+
<xs:element name="id2_iqr" nillable="true" minOccurs="0" maxOccurs="1">
316+
<xs:simpleType>
317+
<xs:restriction base="xs:decimal">
318+
<xs:totalDigits value="21"/>
319+
<xs:fractionDigits value="6"/>
320+
</xs:restriction>
321+
</xs:simpleType>
322+
</xs:element>
323+
</xs:sequence>
324+
</xs:extension>
325+
</xs:complexContent>
326+
</xs:complexType>
327+
</xs:schema>

‎python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5152,6 +5152,47 @@ tests:
51525152
fields:
51535153
fid: skip
51545154

5155+
- algorithm: qgis:joinbylocationsummary
5156+
name: Join by summary polys to points, reprojected
5157+
params:
5158+
DISCARD_NONMATCHING: false
5159+
INPUT:
5160+
name: polys.gml|layername=polys2
5161+
type: vector
5162+
JOIN:
5163+
name: custom/points_3857.gml|layername=points_3857
5164+
type: vector
5165+
PREDICATE:
5166+
- 0
5167+
SUMMARIES: []
5168+
results:
5169+
OUTPUT:
5170+
name: expected/join_by_location_summary_reproject.gml
5171+
type: vector
5172+
pk:
5173+
- name
5174+
compare:
5175+
fields:
5176+
fid: skip
5177+
5178+
- algorithm: qgis:joinbylocationsummary
5179+
name: Join by location, lines to reprojected polygons
5180+
params:
5181+
DISCARD_NONMATCHING: false
5182+
INPUT:
5183+
name: custom/line_3857.gml|layername=line_3857
5184+
type: vector
5185+
JOIN:
5186+
name: polys.gml|layername=polys2
5187+
type: vector
5188+
PREDICATE:
5189+
- 0
5190+
SUMMARIES: []
5191+
results:
5192+
OUTPUT:
5193+
name: expected/join_by_location_line_to_polys_reproj.gml
5194+
type: vector
5195+
51555196
- algorithm: native:extractbyextent
51565197
name: Extract by extent
51575198
params:

0 commit comments

Comments
 (0)
Please sign in to comment.