Questions tagged [within]
The within tag has no summary.
58 questions
2 votes
1 answer
140 views
ArcGIS Arcade Script - No Value Returned when using multiple intersect methods
In this original Arcade script below, room IDs are successfully pulled and populated in the 'room_id' field of a point asset based on the floor level polygon of the intersecting layer. In virtually ...
4 votes
3 answers
298 views
Point within polygon in a certain distance of "point on surface"
I'm seeking for a random point pr in a certain distance r of a polygons "point on surface" (point guaranteed to lie within the interior of a surface) as illustrated by this figure (parts of ...
0 votes
2 answers
359 views
Clipping with added "buffer"
i want to Clip my Point data (Bus Stations) through a Polygon (the City area, highlighted in the picture) but if possible include any Point data which is e.g. 500 meters around the city boundary. So ...
1 vote
2 answers
129 views
Count of points in shape
I have mapped the population (1km x 1km grid) of my country and I have used travel time to create driving distance polygons (i.e. 15 minutes). I have reprojected all the layers to the same EPSG (3857) ...
1 vote
0 answers
146 views
Creating line inside polygon using QGIS
I do have polygons in different shapes, most of them squeezed. How can I create one line inside each polygon, along? I have checked it in QGIS but could not find a way to do it. I have tried to create ...
-1 votes
1 answer
173 views
known contained polygons on geopandas return everything False for "contain" and "within" when dissolving one layer
I have two geodataframes: gdf1= 1000 polygons gdf2= 26 polygons that are bounding box of 26 polygons from gdf1. I would like to get the all the polygons from gdf1 that are not within gdf2. I decided ...
1 vote
3 answers
1k views
QGIS: Extract by location/within distance - add location to output
I have polygons with points inside (see Fig 1). You can find an example here: https://drive.google.com/drive/folders/1VccEmv-EtjZ9tG6J_ozp3E37bBRbtvNn?usp=sharing I want to know the locations of all ...
0 votes
2 answers
75 views
Unable to join data from another layer
I have two polygon layers, I want to join the data based on the location from one layer to another layer. But only field is joining not the data. In image green is one layer and red is another layer. ...
5 votes
3 answers
211 views
Selecting all electoral division within local electoral area in QGIS
I have two vector layers: electoral divisions (blue)(similar to counties) local electoral areas (green outline) (similar to states). I'd like to select all EDs 'within' a state using 'Select by ...
0 votes
2 answers
245 views
Equivalent or workaround for .within() method for arcpy.Point class that tests if point is within feature class
I am using ArcGIS Pro 2.6. I am looking for a quick and dirty test that returns a Boolean to see if any ArcPy Point that I create is within a feature class. Unfortunately, it seems that feature ...
2 votes
0 answers
146 views
Merging two layers and assign ID of bigger polygons to smaller polygons within bigger
I am basically new to QGIS and want to use spatial data to get the state identifiers for small polygons (say counties/zip areas) which are geographically inside the bigger polygons (states/cities). ...
1 vote
1 answer
243 views
ST_Within to find containing polygon (but same table?)
I have nested polygons and would like to set a parent_zone field to describe the polygon it is within. There will only ever be one to choose from (ensured by the 'type' filter). I am trying: UPDATE ...
3 votes
0 answers
413 views
Checking if one point from sf object falls within a specific polygon from different sf object in R [closed]
I have one sf object in R that consists of millions of GPS points of different persons (each point includes ID for each user). I have another sf object that consists of polygons that correspond to 100-...
9 votes
1 answer
3k views
How does GeoPandas' representative_point() work?
I need to compute points that, unlike centroids, are assured to be within a geometry. GeoPandas offers the method geopandas.GeoDataFrame.representative_point(), but I cannot find how it works. ...
6 votes
1 answer
961 views
NULL values when using overlay_within function in Field Calculator
I have two layers, a point layer and a polygon layer ('Sektorplan'). The polygon layer attribute table has a "Sektor" column ('1','2', ...). The Goal I want to add a new column ("Sector&...