Questions tagged [point-in-polygon]
A common GIS operation. Used to determine whether a point lies within a polygon's bounds.
508 questions
1
vote
1
answer
111
views
Reduce memory-footprint of point-in-polygon lookups in GeoPandas
Context:
I’m using a polygon layer as a makeshift gazetteer to find approximate addresses for point locations. My current workflow uses geopandas to:
Load the polygon dataset into memory
Use the ...
1
vote
1
answer
99
views
Calculate max number of points within a geographic area with a minimum distance
I read the similar question/answers: Seeking algorithm to place maximum number of points within constrained area at minimum spacing?
However, it is more than a decade old, maybe something new evolved ...
1
vote
0
answers
109
views
Counting points within a polygon
I have species occurrence points, to preprocess for my analysis I must
count the number of points (total samples) that fall within each polygon of the fishnet layer
calculate species richness by ...
2
votes
1
answer
86
views
Counting points in polygons in QGIS
I would like to get this kind of final result extract from counting points in polygons. Generally I do export from with CSV file
This is what I have 4 rows are doing one plot. So I was doing 2 grid ...
0
votes
0
answers
50
views
Clustering of points within distance & criteria of max number of points within cluster & max cluster size
I am using QGIS and I have a cluster of say 1000 points. I want to cluster these points such that all points which are within 200 m of each other will be part of the cluster but with the constraints ...
1
vote
1
answer
102
views
Knowing what points (id code of points) are inside buffer in QGIS
If I made a buffer around points and I am uniting those buffers that are in contact with each other.
Now I want to make an attribute column in those united buffers that tells me what points are inside ...
1
vote
1
answer
124
views
Colouring polygons based on point layer in QGIS
I have the following layers:
One Vector Polygon Layer with Protected Areas (several variables, e.g. "NAME" of the Protected Area)
One Vector Point Layer with coordinates, pesticide names ...
2
votes
2
answers
108
views
Finding majority land use class within polygon in QGIS
I have a polygon layer containing the wards (neighborhoods) of an area. It has only one column in the attribute table, called "WD21CD" which is a string with the unique code for every ward (...
1
vote
0
answers
118
views
Grouping data points based on proximity and minimal count of attribute in QGIS
I am using QGIS to map animal counts on farms in the Midwest US and using a circle polygon to show where there are more than 30,000 animals between all the farms in that specific area. Each data point ...
1
vote
1
answer
77
views
Connect points to the nearest point that is not inside the same polygon
I am trying to connect points in a vector layer. Each point should be connected to its nearest neighbour that is not inside the same polygon. I am using the ProcessX "nearest point to path" ...
2
votes
2
answers
830
views
Selecting points which are not in polygons using GeoPandas
I have got two geodataframes: df1 which has got points as geometry type and has around 2.5 million rows, df2 has got polygons/multipolgyons as geometry type and has over 2.6 million rows. I want to ...
0
votes
1
answer
125
views
Select By Location tools (intersect the source layer)
I want to find points are in the boundaries of polygons so I use Select By Location tools in a large area as country so I have many polygons (in shapefile) and the points (in shapefile) that is ...
0
votes
1
answer
328
views
Extracting GPS Coordinates for Grid Square Centers
I'm relatively new to GIS, and I'm currently using QGIS version 3.32.3 Lima. I'm encountering some challenges as I don't have a solid foundation in using GIS, so I'm reaching out for your help and ...
3
votes
3
answers
2k
views
Building the shortest path between two points inside polygon using QGIS
With QGIS I need to build the shortest route between two points inside a polygon. I have a vector polygon layer and I need to build a path inside it from the starting point to the ending point. How ...
1
vote
1
answer
71
views
Displaying name of point with shapely [closed]
I want to display the names of points on my polygon with shapely.
Polygon([(0, 0), (0, 2), (2, 2), (2, 0), (0, 0)])
and
Names = [A, B, C, D, A]
How can I do it simply?