Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A common GIS operation. Used to determine whether a point lies within a polygon's bounds.
3
votes
Accepted
Automatically output joined fields in input layer while using spatial join
There is a possibility using a "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer...
With the following Query, it is possible to know the total 'parking lot size' for each 'city block' …
3
votes
Accepted
Count points in polygon (weighted) in QGIS 3
I think the weight just become optional and hidden inside the "Count points in polygon", see
2
votes
Counting points in polygons by weight and class in QGIS
Let's assume there two layers "cells" and "points" with its corresponding attribute tables, see image below.
With the following query, it is possible to receive one column for each group with the sum …
1
vote
Accepted
Counting points in polygons by weight and class in QGIS
Another solution using only native QGIS 3 tools.
Let's assume there two layers "cells" and "points" with its corresponding attribute tables, see image below.
Step 1. Use a 'Join attributes by locatio …
5
votes
Accepted
Calculating point layer values within polygon features in QGIS 2
With a bit of luck and suggestions from @Kazuhito, I ended up with
SELECT ST_UNION(B.geometry), B."Are_Number", SUM(D."EWjeAdr")
FROM "BereichBerechnung" AS B
JOIN "EW_Data" AS D ON contains(B.geometr …
1
vote
Assigning each point name of polygon in which it lies using QGIS?
Tested on QGIS 2.18
I can suggest using a "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer...
1. Simply Drag and Drop your CSV-file in QGIS and then proceed with the following …
3
votes
Creating perpendicular line between two points inside polygon using PyQGIS
If it is still necessary to use the code adapted from QGISPolygonSplitting.py, there are several suggestions to make it work:
The holder for output is missing i.e. outputs = {} at the beginning
para …
4
votes
Selecting features within polygon from another layer using QGIS
I can suggest using the Select Within Plugin.
Centroid within, point of surface within, pole of inaccessibility
within, percentage within, and mostly within selection. Works best
with lines and polyg …
5
votes
2
answers
764
views
Calculating point layer values within polygon features in QGIS 2
There are two layers
polygon 'BereichBerechnung' with a field "Are_Number"
points 'EW2017' with a field "EWjeAdr"
In QGIS with a Virtual Layer, I want to calculate the sum of the field "EWjeAdr" fo …
4
votes
Accepted
Calculating nearest neighbor within each polygon using QGIS
I can suggest using a "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer....
Let's assume we have seven features in 'cities' (yellow), nine in 'conflicts' (red), and three in 'countrie …
1
vote
Determining how many of my coordinates overlap with layer in QGIS
Let's assume that there is a CSV-file (in UTF-8) 'animals.csv', see image below
Step 1. In QGIS create a new QGIS Project. Then proceed with Layer > Add Layer > Add Delimited Text Layer ....
Step 2. …
2
votes
Accepted
Calculating minimum distance between two point layers within polygons in QGIS
Additionally to my answer here, I may suggest the following workflow with less work with "Virtual Layer".
Let's assume there are two point layers "poi"(pink) and "end"(dark green), and one polygon lay …
0
votes
Determining how many of my coordinates overlap with layer in QGIS
A PyQGIS solution.
Let's assume there is a project folder with two files: 'test_points.csv' and 'test_polygons.shp', see image below.
In QGIS they will look like:
Proceed with Plugins > Python Conso …
6
votes
Counting points in polygon to analyze data using QGIS
There is a possibility of using a "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer...
Let's assume there are two layers, a point layer called 'points' and a polygon layer called 'pol …
5
votes
Accepted
Creating perpendicular line between two points inside polygon using PyQGIS
In this solution, none of the algorithms from the processing was used.
Let's assume there is a polygon layer called 'polygon' (five features) and a point layer called 'points_in_polygon' (12 features) …