New answers tagged overlapping-features
3
votes
Accepted
Creating new polygons from intersecting polygon and polylines in QGIS
Use the "Split with lines" geoalgorithm.
Before:
After:
Afterwards the application of the "Remove null geometries" and "Delete duplicate geometries" geoalgorithms is ...
0
votes
Displaying only points within polygon I created in QGIS
Use symbolgy and assign the function 'geometry' as below:
pole_of_inaccissibilty($geometry,1)
or
use the plugin Point sample tools.
1
vote
'union' between spatial polygons and spatial points in R
I found out how to do it.
Two ways:
applying point.in.poly(grid, acled). So x= polygons, y=points.
applying point.in.poly(ACLED, grid) in the right way then merging with the initial grid.
grid....
0
votes
Counting stacked polygons in PostGIS
Let's assume there is a polygon layer called 'poly_test', see image below.
Extending the idea from @geozelot it is possible to count the polygons via grouping by their geometry.
With the following ...
0
votes
Count overlapping features using Geopandas
A better solution based on Parker Devine's answer
def count_overlapping_features(gdf):
#generating all of the split pieces
import shapely
bounds = gdf.geometry.exterior.unary_union
...
1
vote
Filter by bounding box in GeoPandas
A quick solution to this if the shape you want to clip by is a box:
from shapely.geometry import box
bbox = box(*df_sussex.total_bounds)
df_clipped = gpd.mask(df, mask=bbox)
It uses the shapely....
3
votes
Calculating mean value for points within polygon in QGIS
Solution 1
Using the data you provided, I get meaningful results using Join Attributes by Location (Summary), see screenshot below and be sure to make settings accordingly.
Solution 2
Another option ...
4
votes
Calculating mean value for points within polygon in QGIS
There is a possibility using a "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer....
Let's assume there are two layers one with points called 'points_example' (green) ...
1
vote
Looking for QGIS equivalent of ArcMap's "Selection by Location" tool with "Have their centroid in" option
You can use multiple steps:
Create centroids of the layer you want to select from
Extract the centroids within the selection polygon layer
Extract the polygons intersecting the extracted centroids:
9
votes
Accepted
Drawing lines that overlap inside the perimeter using QGIS
Set your border to simple line and check Only draw the line inside the polygone (or something like that)
8
votes
Drawing lines that overlap inside the perimeter using QGIS
One option is to set an offset that is 1/2 the stroke width.
You can adjust this offset if the thin white space between the polygons bother you. You can also change the join style to make the ...
Top 50 recent answers are included
Related Tags
overlapping-features × 724qgis × 299
arcgis-desktop × 189
polygon × 167
intersection × 51
arcmap × 48
line × 46
postgis × 43
spatial-join × 36
shapefile × 35
r × 34
buffer × 32
point-in-polygon × 29
point × 28
clip × 28
merge × 28
qgis-3 × 27
area × 24
arcgis-10.2 × 23
symbology × 23
python × 21
topology × 21
dissolve × 21
arcgis-pro × 17
layers × 17