Questions tagged [select-by-location]
Select features based on their geographic position relative to features in another layer
447
questions
0
votes
0
answers
18
views
Trying to delete buildings selectively from a CityGML
I'm currently working on refining my cityGML file by selectively removing certain buildings. My objective is to include specific neighboring buildings within designated building blocks while deleting ...
0
votes
0
answers
16
views
QGIS 3.22.16 Selecting points near lines
I try to select and delete some roads (lines) that have a False value in the attribute table. Along with that, I need to delete all the gullies (points)along these road. I don't have any related Field ...
0
votes
0
answers
21
views
Select by location features that “mostly” don’t overlap with another layer
I have annual polygon layers that for some reason contain polygon features that are supposed to be identical (represent the same plot and contract), but are very slightly different (vertices are often ...
1
vote
1
answer
27
views
ArcGIS Pro: Select By Location with option Intersect returns features which are within the selecting feature
I try to follow the suggestion given in an equal case, however, I do not end up with the desired result. I'd like to select the filled polygons whose boundary crosses the red lined polygon. For this, ...
1
vote
1
answer
30
views
Select points by polygon and update attribute field
For each record in the pointLayer, I'm trying to see where they are located using the polygonLayer. Then, update this location information to the "SWPsubwatersheds" field from the pointLayer ...
0
votes
0
answers
32
views
ArcGIS Pro Python Toolbox: Select by Location not working as expected
I have a custom python toolbox that uses a point and polygon Enterprise Geodatabase Feature Class. I need to select the last 30 days of point data, select the polygons that overlap, then a final ...
1
vote
1
answer
52
views
Select points based on their date & their location (they fall within a radius of another point)
I am studying lions, and their kill sites.
I currently have around 900 historic kill site locations with the record date (with some attribute info). The data is old and I am looking to confirm the ...
0
votes
0
answers
44
views
Select by location only selecting a few of the features within boundary using ArcGIS Pro
So I select my municipal boundary and I want to select all the zoning districts inside it.
This is how I filled out my select by location query
Now it only selects a few of the zoning districts ...
0
votes
2
answers
54
views
How do you add information to a polygon from multiple polygons based on location in QGIS?
I have a couple of points and have made a buffer layer of 1km around each point, which contain information about which point it represents. I have another raster layer (containing information ...
0
votes
0
answers
27
views
QGIS 3.28.7 Split merged line network to surveyed lines network
I need to create a shapefile of unsurvey road section in the network. I am using a surveyed layer (Lines) that does not overlap on the network. It is just parallel. I tried the select by location ...
0
votes
0
answers
27
views
To add locations' name on top of the NDVI map in Google Earth Engine
I have visualized an NDVI map on GEE and added my plant specimens locations on top of that using the "asset" tab.
Now, I need to choose different locations inside and outside the city based ...
0
votes
0
answers
43
views
Dealing with million of points in QGIS
I have the survey data of millions of points (x,y and z) as .txt data (13 files). The distance of each point from one another is 0.15 m. I need to use points at a distance of every 0.9 m in order to ...
3
votes
1
answer
80
views
Iterate extracting a group of all points that intersect each feature in a polygon shp in QGIS
I have a polygon shp with agricultural fields and a point shp representing GPS locations. I would like to create separate point layers for each field the features intersect. Below is a screenshot of ...
0
votes
0
answers
29
views
QGIS 3.22.16 How to join two table with different values
I am using QGIS 2.22 16. Working on a road network shapefile I was asked to add in this layer the road names from another road network shapefile. I thought about using the join tool. Unfortunately, ...
0
votes
1
answer
25
views
How to select features based on layer intersection on QGIS?
At work I have to trace some polygons over some points of a point layer and then select these points by using "Select By Location" feature that comes with ArcGIS - like this:
So, with this ...
0
votes
0
answers
35
views
PyQGIS - importing features selected by location from online GeoJSON file
There is a large GeoJSON file stored online with thousands of geometries and I have created and stored a simple polygon .shp file that is the area of interest.
Is there a way to use PyQGIS to import ...
0
votes
1
answer
34
views
How to extract field values from one layer, add them together, and insert them into a field in a nearby layer? [closed]
I'm working with two different point layers (layer1 and layer2). Layer1 will have a field (field1) that contains four possible values (a, b, c, d) and another field (field2) that contains a given ...
0
votes
1
answer
78
views
Select by attribute and location within a for loop? [closed]
I have dozens of feature classes in a project geodatabase. I have the code that will identify all the misplaced wells in each dataset, but for the life of me I can't figure out how to get the lines of ...
1
vote
0
answers
79
views
Updating only selected features with the QGIS Gaphical Modeller
I want to update selected features (features within a specific buffer or selected with their attributes) with the graphical modeller of QGIS but It doesn't work because I don't find the algorithm in ...
0
votes
2
answers
274
views
"ERROR 000732: Input Features Does Not Exist Or Is Not Supported" when attempting MakeFeatureLayer
I am trying to select features by location, but am running into a problem where the input feature class is not being recognized.
# Import module
import arcpy
# Define workspace and overwrite status
...
2
votes
1
answer
309
views
Filtering points appearing in list of convex hull polygons
I have two DataFrames df & df1:
df: containing latitude, longitude, and binary cluster (0 or 1)
latitude Longitude cluster
30.400091 -100.722830 0
30.500091 -100.762830 0
30.600091 ...
0
votes
1
answer
110
views
Selecting points inside polygon using ArcMap
I have a points layer and a polygon layer. They are overlapping.
How do I select all points within the polygon including those inside but not overlapped (see yellow color in the picture below)?
0
votes
1
answer
18
views
How to Select By Location from Polygons on ArcGIS Desktop but incorporate the attributes from the Polygons used to select the other layer
I am working with two datasets right now. The first dataset is the provincial wetland layer and the second dataset is rare species data. I buffered the species data by 100 m.
What I want is all ...
0
votes
1
answer
66
views
(QGIS desktop 3.2.) Selecting features (polygon) based on radius, using specific distance
I'm a bit of a newbie in coding and geographical systems. At the moment writing my master thesis, so I need some information in terms of distances/neighbouring.
I'm currently working with Swedish data,...
0
votes
1
answer
513
views
Select by rectangle or by click using ArcGIS JavaScript API
I have a small button that has one job, select features on the Map. I am using the SketchViewModel class, to create a rectangle. Then use this rectangle to query features that intersect it. The ...
2
votes
1
answer
81
views
How to parameterize 'Select By Location' in QGIS processing plugin
Can someone help me understand how to properly parameterize the 'Select by Location' geoprocessing tool when implementing it in a QGIS processing plugin. I have been following the tutorial on building ...
1
vote
0
answers
61
views
how to overlap two lines in QGIS 3.10
enter image description here
I am working on QGIS 3.10 and would like to overlap two lines in order to use select by location tool. I tried all the option in this tool and get just a few data selected....
1
vote
3
answers
446
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 ...
1
vote
1
answer
43
views
Select by Location > Assign value from a different layer
Is it possible to identify, for example, a data point that is within ‘X’ distance of a Well, and then “create a field” that would assign the Well ID Value to that data point?
Ideally, this would need ...
0
votes
1
answer
188
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
45
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
315
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
419
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
850
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
47
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
55
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
72
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
156
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
251
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
159
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
185
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
70
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 ...
1
vote
1
answer
153
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 ...
6
votes
3
answers
2k
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
133
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
39
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
552
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
100
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
102
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
108
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 ...