#2513 closed bug (wontfix)
ftools: "join attributes by location" tool -> option "take summary of intersecting features" do not work
Reported by: | lutra | Owned by: | cfarmer |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.5.0 |
Component: | Python plugins and bindings | Version: | Trunk |
Keywords: | Cc: | gislab | |
Must Fix for Release: | Yes | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
In the table of attributes of the resulting vector the "summary of intersecting features" (mean, min, max, sum) are always the values of the "join vector layer".
Tested on qgis trunk under ubuntu 9.10.
Change History (2)
comment:1 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
Platform: | Debian → All |
---|
Hi Carson, thanks for the feedback.
I am probably the one missing something, but please then help me understand how this option works because I'm probably get it all wrong.
Let's do an example.
Take a polygon with a column called "valor" and its actual value is 5
Then take a point inside the above polygon with a column called "valor" and its actual value is 10.
Looking at the "Join attributes by location" tool and at the option "take summary of intersecting features" I would expect to obtain (using as "target" the point and "join" the polygon) in the output:
valor SUMValor MEANValor MINValor MAXValor COUNT 10 15 7.5 5 10 1
instead I always get
valor SUMValor MEANValor MINValor MAXValor COUNT 10 5 5 5 5 1
but then I see that the output has also the SUM*,MEAN*, MIN*,MAX* columns for fields that are not in common between "target" and "join" (and COUNT is always 1), so I'm actually lost.
Any feedback will be much appreciated.
This is the intended behaviour, unless I am missing something here? Think of this tool as similar to the 'join attributes' tool. The idea is to append additional information to the attribute table of the input layer. e.g.: If I wanted a summary of all the points intersecting with each polygon in my polygon layer.
Note: If I have misunderstood the problem, please reopen this ticket.
-Carson