Questions tagged [select-by-location]
Select features based on their geographic position relative to features in another layer
422
questions
0
votes
1
answer
18
views
Select points by number of unique values by group - ArcGIS Pro
Similar to this question,
I have two datasets that consist of points and polygons, where all the points are inside the polygons. The polygon IDs (called cluster IDs) were previously joined with the ...
1
vote
0
answers
13
views
Finding out corner PLOTS (street corner plots) on 2 or 3 roads (ArcMap GIS)
Finding out corner PLOTS (street corner plots) on 2 or 3 roads (ArcMap GIS)....
I want to define the corner segments on the streets, taking into account the segments that cut on two identical streets, ...
3
votes
2
answers
150
views
Selecting the maximum value from series of polygons that intersect with line in QGIS
Is there a way to select the cell (single) with the maximum value in a polygon layer using the intersection of a line? The first image is the grid (polygon) layer with the attribute field "VALUE&...
1
vote
1
answer
61
views
Selecting Features By Rectangle in PyQGIS standalone
I want to select features by a rectangle in QGIS standalone using Python but the function iface.actionSelectRectangle().trigger() is not available in a standalone application.
How to code iface....
6
votes
6
answers
485
views
Selecting only one point in polygon using QGIS
I have two shapefiles: polygon(buffer) and point.
How can I select only one point in each buffer in QGIS?
If I use the "Select by Location", I will get all points inside the polygons, ...
0
votes
1
answer
24
views
Select same point features from two different datasets
I am completing an update to an address database and have 76 point features that I would like to cross-reference with the old database to perform a quality check on. What would be the most efficient ...
1
vote
1
answer
36
views
PyQGIS standalone app processing with selectbylocation not working
I'm trying to run processing with selectbylocation in standalone app, everything seems to run fine but the output I'm getting is the main layer always, so it's not really working. And I have no idea ...
0
votes
0
answers
43
views
Improving PyQGIS processing time when using "Select by location"
When running PyQGIS processing with "qgis:selectbylocation" it takes a lot of time (sometimes it get to an hour).
Is there is a way to make it work faster?
parameters = {
"INPUT&...
4
votes
1
answer
63
views
Setting selected features in list without specifying their layer using PyQGIS
To get selected features I usually do: layer.selectedFeatures().
Is there a method to retrieve selected features in a list without specifying the layer they belong to ?
I selected features with the &...
3
votes
1
answer
43
views
How to remove Topology Checker red dots?
How do I remove red dots created by topology checker?
I was trying to check for overlapping lines within one layer by using the topology checker --> Must not have Dangles. This didn't work, I'm ...
5
votes
3
answers
148
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
1
answer
36
views
Selecting All Features within Feature Dataset in ArcSDE Database using ArcPy
I'm trying to create a script tool to select all the features within a user-specified area of interest then run the Data Reviewer extension. I've encountered an issue trying to select features from a ...
0
votes
0
answers
33
views
Python script only works after saving and closing MXD then re-opening ArcMap
I'm very new to using Python scripts in ArcMap (10.8). I've got a script that exports a suite of maps for our clients, but it always gives me an error
ExecuteError: ERROR 000229: Cannot open Counties ...
0
votes
0
answers
29
views
Select lines by what their starting and ending vertices intersect
I have a set of polylines representing storm drains and I want to select every line that is originating from a structure (a catch basin or a manhole) with field DATASOURCE=GPS, AND terminating at a ...
1
vote
1
answer
72
views
ArcPy - Select by Location and Copy Features - Error 000732: Invalid Features
I've been reading through some of the other answers but I haven't found a solution to my problem yet. I'm working with ArcMap in Python 2.7 in a standalone script.
I'm trying to select some features ...
5
votes
3
answers
418
views
QGIS Select points within ONE polygon in a different layer
I have a set of points, which are located in the same area where the other, polygon layer is located.
I would like to have all the points selected, but ONLY within the one polygon belonging to the ...
1
vote
1
answer
38
views
Clip a vector without losing geometries - QGIS 3.22
I experienced a lot of issues trying to keep only a German region from the vector I have of Europe. I've tried everything, using mask+clip with my shapefile of the German region, using "Select by ...
1
vote
0
answers
27
views
Detect the point that cuts the line using arcpy.SelectLayerByLocation_management
I have two layers, a linear one which represents cables, the second one is a layer of points representing optical connection points. My problem is that the points cut the cables in two during their ...
6
votes
1
answer
153
views
Selecting features that do not touch other features in same layer in QGIS
In QGIS I have a polygon layer where there are some isolated objects which do not touch other objects in the same layer. They are isolated and therefore I do not need them.
How can I select these ones?...
0
votes
0
answers
29
views
How to find optimal store location considering road availability and road condition using ArcGIS Pro
Recently, I am struggling with how to find optimal store location considering road availability and road condition using ArcGIS Pro. I have tried the location-allocation function in ArcGIS Pro. But I ...
0
votes
1
answer
21
views
Reverse features of Select by Location for "Have their center in"?
I have a feature class of large boundary polygons and a feature class of small polygons. Some of these small polygons the boundary of two larger polygons by a very small amount. I'm trying to ...
1
vote
2
answers
57
views
Subset features of shapefile based on position of features of another shapefile and save all subsets into separate files on QGIS
I have a shapefile with thousands of polygons and a shapefile with 28 polygons that completely overlay the first shapefile.
I'm trying to split the first shapefile features into 28 smaller shapefiles ...
0
votes
1
answer
138
views
Filtering attributes of selected features to new feature class using ArcPy with ArcGIS Pro
I have a gdb of point features. I want to iterate through the gdb, select the point features that are within a polygon shapefile, and export the selected feature results to a new gdb. However, I only ...
0
votes
0
answers
33
views
Joined attributes by location ERROR not find some attributes
I have two layers to join attributes by location: a. road map (attributes=segments of roads) b. fastest path (with shortest path from layer to point plugin going over "road map") to identify ...
5
votes
1
answer
110
views
What CRS is select by location performed on in QGIS?
What CRS is Select by location performed on in QGIS? I didn't find it in the documentation.
Is it performed on:
a) the project CRS
b) CRS of the select features from layer
c) CRS of the By comparing ...
1
vote
0
answers
275
views
Calculate field on the fly with field values from another overlapping layer [closed]
I am really new to ArcGIS Online and the first steps in coding.
I created a webmapp app: users can create clinics (as points) and each time they create a new point they have to choose in a list the ...
6
votes
1
answer
102
views
Using "Select by location" with percentage
I have two layers, one layer with isochrones with representing driving times from certain locations and one layer with postal code area's.
What I want to know is which postal code area can be reached ...
8
votes
3
answers
555
views
Selecting and exporting points inside specific polygon using QGIS
I have a problem that is similar to Get Points in a selected polygon.
I have a polygon layer (with +200 features) that represents a road (subdivided by every 100m) and a point layer of a GPS survey ...
5
votes
2
answers
150
views
Looking for equivalent of ST_ContainsProperly for selecting features in PyQGIS
I'm looking for a solution to select islands (non-black polygons) in polygon A (black).
I think, in PostGIS ST_ContainsProperly() will do this task. But I'm looking for an equivalent solution in ...
0
votes
0
answers
58
views
QGIS crashing when runing a loop to perfom select by location with PyQGIS
I have written a script to divide United States into a grid of 200 km, then in each grid will contain a certain number of mobile towers with (lat and long). The script must then select each grid and ...
1
vote
0
answers
30
views
Selecting within feature which are in one polygon in QGIS [duplicate]
I have a polygon which has features within it (inside it). It want to select these within features so that I can delete it. These are all in a single polygon layer.
I have tried QGIS's "Select by ...
3
votes
1
answer
253
views
QGIS: Select polygons that are touching another polygon on all it's sides (not contain but engulfed?)
Given this polygon:
I'm trying to select the inner one, but can't find a simple way using either selection by location or selection by expression
Any idea?
5
votes
2
answers
190
views
Selecting only polygons that contain another polygon with Select by Location in QGIS
In QGIS 3.16.11 on Windows 10 I have a layer with single polygons.
Given this polygon layer with, I'm trying to select only the polygons that that contain at least one other polygon (A & B)
My ...
0
votes
1
answer
75
views
Select by location (add to selection) is removing previous selection using ArcPy with ArcGIS Pro [closed]
I am trying to select multiple times from the same layer with different overlapping layers by location using the 'Add to selection' method. However only the last selection on that layer is kept after ...
0
votes
2
answers
157
views
Deleting sliver parts of single polygon using QGIS
The polygon highlighted in red is a single polygon that has slivers directly attached to it.
I used the Difference tool on two polygon layers which lead to slivers / fuzzy polygon parts (see picture). ...
0
votes
0
answers
145
views
QGIS 3 Select by Location - How to get map results as a list?
Can I and if so how can I get a list of QGIS 3 "Select by location" results in a list?
For example, I did an "Intersect" "Select by location"query of two data sets (about ...
2
votes
1
answer
76
views
Select by location (Within) using separate features iteratively (PyQGIS)
I am new to QGIS, but familiar with Python.
I have one .csv file (Towers_US.csv" ) that contains latitude and longitude of mobile towers of United States (US), and a folder (vectors) with ...
0
votes
1
answer
114
views
Cannot set input into parameter search distance ERROR
I am trying to create a script with Arcpy that buffers a feature layer point of Salt Lake City.I have been having trouble getting my select by location function to run. I don't know if it's from my ...
1
vote
1
answer
94
views
Computation of a point location in QGIS
I created grids (A1, A2....,B1,B2,...etc.) in print layout (main properties-grids). I also use atlas. I display many points and I need to calculate location of every point within a page of atlas and a ...
1
vote
1
answer
102
views
Point on a Line in ArcGIS Pro
I have multiple points and some of these points are sitting directly on a line which I do not want. You can see the image below. What I need is "to identify the points sitting on the line" I ...
0
votes
1
answer
100
views
Highlight all features associated with selected feature via relationship in ArcObjects C#
I am trying to highlight those features which are associated (via Relationship) to the selected feature in ArcObjects C#.
public void IRelationship_Example(IFeature feature)
{
//assumes that only ...
6
votes
2
answers
118
views
Extracting polygons that overlay other polygons in different layer in QGIS
I have two polygon layers that have multiple polygons in them. One layer is an administrative boundary layer and the other is a layer showing crop cover types. I would like to extract only ...
0
votes
1
answer
59
views
Select layer by location in ArcPy ERROR 000368 [duplicate]
I am trying to create a scrip that create a list of all features in my GDB, then select objects that intersect with a user given shapefile, and finally copy selected features to a new location. After ...
2
votes
1
answer
26
views
QGIS: No values in field after creating spatial index
I want to join a vectorlayer with a grid using the algorithm "join attributes by location (summary)". It took hours to execute, but it worked. Then I found This thread which told me I have ...
2
votes
3
answers
141
views
Selecting point features on the outside of line curves - QGIS 3
I need to select points that fall on the outside of line curves using QGIS3.
I have evaluated the curvature of the road and used that to select points that are within 20m of a "curved road" (...
1
vote
1
answer
116
views
Select Widget not selecting all features inside polygon ArcGIS WebApp
AGOL version 8.4 - ArcGIS Web AppBuilder - Select Widget
I am trying to select a large number of point features using the Select Widget inside an ArcGIS web app. The number of features returned is ...
4
votes
1
answer
171
views
Selecting features that intersect features of another polygon with spatial index
Based on the answer of @mgri here: https://gis.stackexchange.com/a/224954/164953 I tried to select the features of a multilines layer intersecting less or more than 2 features of a multipoints layer.
...
1
vote
1
answer
136
views
Output of a value at a given date and location in Google Earth Engine
I calculated the Albedo of a Greenland and would like to code it in a way that GEE gives out the value of the Albedo for a given date and location or to have an overview in a table. So far I was only ...
0
votes
0
answers
31
views
Intersection of all layers of different feature classes using ArcMap
I have 20 different layers where a few of the layers are lines ( rivers) some are points and a few are polygons. I need to find all the single polygons where all 20 layers intersect as describe:
...
1
vote
1
answer
169
views
Selecting not overlapping polygons using QGIS
I have a shapefile with 1000 points and a layer with 30 000 polygons. Not all of the points overlap with the polygons. For all of these points, which are not overlapping with a polygons, I need to ...