[Qgis-user] Help in Field Calculator
Daniel Alejandro Montecinos Rubilar
daniel.montecinos.r at gmail.com
Wed Apr 4 11:39:18 PDT 2018
I can’t find a solution to my problem, could someone help me?
De: Andreas Neumann <a.neumann at carto.net>
Fecha: miércoles, 4 de abril de 2018, 10:52
Para: Daniel Alejandro Montecinos Rubilar <daniel.montecinos.r at gmail.com>
CC: <qgis-user at lists.osgeo.org>
Asunto: Re: [Qgis-user] Help in Field Calculator
Hi Daniel,
One alternative way to do this, without field calculator, is to use the "Processing Toolbox" (see menu processing) and use the "Count opints in polygon (weighted)" algorithm. This should do what you want, but the downside to this approach is that you end up with a new layer.
If you want to use the field calculator (without creating a new layer) you will have to look at aggregates and spatial relationship functions. I am not 100% sure if this would work - I currently don't have the time to test it - but might be worth a try.
Good luck!
Andreas
On 2018-04-04 14:27, Daniel Alejandro Montecinos Rubilar wrote:
Hi. I have a question urgent. What I try to do is then updated columns in a data layer with another layer. For example , I have two layers A = Poligono , B = Points . The layer B contains real values. Then would do two things. 1. Count how many points of the layers B are within the layer A. 2. From the points of the layer B that are within the polygon layer A, I need the sum of their values and paste this sum in a column of created layer A. I tried to make the crossing with the "field calculator" function, using the functions: "geomwithim", "geomintersects" and "intersecting_geom_sum", but without results.
I hope I have been able to explain.
Greetings and thanks for your support.
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180404/b20ff283/attachment.html>
More information about the Qgis-user
mailing list