Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ftools: "join attributes by location" tool -> option "take summary of intersecting features" do not work #12573

Closed
qgib opened this issue Mar 7, 2010 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Mar 7, 2010

Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 2513

Redmine category:python_plugins
Assignee: cfarmer -


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.

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2010

Author Name: cfarmer - (cfarmer -)


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


  • resolution was changed from to wontfix
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Mar 8, 2010

Author Name: Giovanni Manghi (@gioman)


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.

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins labels May 24, 2019
@qgib qgib added this to the Version 1.5.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins
Projects
None yet
Development

No branches or pull requests

1 participant