Questions tagged [select-by-location]

Select features based on their geographic position relative to features in another layer

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

How to Select Layer by Location of Feature in PYQGIS?

I'm tried to select layer by location with processing tool in QGIS python. its working Layer to layer but how to do with feature? Code: for area in AreaLayer.getFeatures(): ...
-1
votes
0answers
31 views

Extracting GPS points inside region boundary in QGIS

I have 2 layers, one containing GPS points within a large area and another layer is a smaller area of polygon shapefile. I want to filter the data points within the smaller area and extract them. ...
0
votes
0answers
21 views

QGIS3.x using processing algorithms outside of python console (when writing a plugin)

For a school assignment I need to write a QGIS plugin. Part of the plugin that i'm writing needs to use the 'select by location' processing tool on a previously created buffer. The codelines that I ...
0
votes
1answer
21 views

How to “Select By Location” in ArcGIS Server JavaScript API

Is it possible to perform the equivalent of "select by location" in the ArcGIS Server JavaScript API v4.x? The use-case is "find features in Layer 1 which are within x kilometres of ...
2
votes
1answer
48 views

Assigning values of points inside buffer to origin of buffer using QGIS

I have created a map with several bike routes. At each bike ride we have collected meteorological data and now I want to analyze and compare the collected data. My problem is that the GPS tracker wasn'...
2
votes
2answers
33 views

QGIS Select by location QGIS 3.10.3 no precision parameter

I have two layers, one polygon of output areas in the UK and a point layer of retail centers. I want to use select by location to find out how many output areas are within 1 km from a retail center. ...
0
votes
0answers
15 views

Selecting points on surface using ArcScene

I have a 3D surface and tons of points, and I want to only select points on the surface. How can I select these points?
0
votes
0answers
47 views

QGIS - graphical modeler aka. processing toolbox - update only selected fields

I have two layers: point layer representing some house addresses. polygon layer representing some kind of territory. What I'm trying to do is, create a model where I select the points inside the ...
2
votes
2answers
96 views

Selection/Extraction of features based on location AND attribute

My data consists of a point layer (iceberg positions containing their acquisition date as attributes) and a polygon layer (areal extends of DEMs also containing the acquisition date). My aim is to ...
1
vote
1answer
94 views

“Select by location” fails for points touching/intersecting on lines

I try to use the "Select by Location" tool in QGIS 3.10 to: Select points in one layer located on lines of another layer (I am using "intersect" option but I have also tried the ...
1
vote
1answer
36 views

Selecting features by location in QGIS (boundaries_touches)

Is there a tool or function in QGIS which can select features of one layer which are located on the boundaries of another layers features? In ArcGIS it's the "select features by location" ...
1
vote
1answer
29 views

Intersecting with then without a buffer in ModelBuilder [closed]

I'm pretty new to ModelBuilder and trying to create a model in which I take a point layer and intersect it with a polygon layer. Basically, I need the model to first run an intersect with no Search ...
1
vote
1answer
21 views

ArcGIS: Selecting features from a grid layer which are on the edge of another feature by location

I have two layers which come from the same data source. The first one is a vector grid layer which contains 1km x 1km features and looks like this: The second one is the grid layer dissolved into Sub-...
0
votes
0answers
36 views

Mongo geoWithin problems reading from collection

I have a data set with geo points. { _id ...other fields... location: { type: "Point", coordinates: [0,0]}} What I have been attempting to do is filter out and delete any documents that ...
0
votes
1answer
18 views

Selecting feature (point) based on specific attribute value(s) of another layer using ArcGIS Pro

How do i select a feature (point) based on a specific attribute value(s) of another layer? Scenario: One layer (map) polygons representing disease risk across a continent, with several columns ...
1
vote
1answer
76 views

Select By Location and Calculate Field in ArcPy

I have a point shapefile and a polygon shapefile and want to set the field "Present" to 1 if it intersects with the polygon in ArcPy, but I am having trouble with the SQL syntax for select ...
1
vote
0answers
18 views

How can I identify points that share similar attribute with polygon features based on the attribute & distance between the two?

For Example; if both the point & polygon features have an ID field, I need to flag the points if they share the same ID as a neighboring polygon & are w/in 2000ft of each other. I have tried ...
3
votes
4answers
104 views

Grid Selections in QGIS

I am using QGIS 3.10.2-A Coruña. I have a UK County Boundaries shapefile layer and a custom Grid (gpkg) layer with a fixed distance of 1.5 miles between intersections in both planes (eastings & ...
1
vote
2answers
38 views

QGIS - Can't select Inputs for Select by Location algorithm in Graphical Modeler?

All the other questions I've seen so far are a step ahead of me. I've defined an Input for a vector layer, and am trying to use the Select by Location Algorithm. I typed the name of my Input, but the ...
0
votes
1answer
35 views

Calculate field: expression is not defined [duplicate]

I'm tyring to write a script the allow me to select a layer by location, then calculate a field of the selected feature. But I'm having issue with CalculateField_management. Here part of the script: ...
0
votes
0answers
24 views

Using multiple selection queries to calculate fields in ArcMap ModelBuilder

I am trying to calculate two fields based on a combination of select by attribute and select by location in model builder for road center lines. In my current model I have it set up so that I ...
1
vote
1answer
178 views

Export current user location from locate control using button in Leaflet

I am preparing a mobile application, to determine the location of natural and cultural goods along a route that I have previously uploaded on Leaflet maps. I use the "leaflet locate control" plugin to ...
7
votes
2answers
116 views

Analysing point attributes within polygons

I'm using QGIS 3.4.4. I have a polygon layer and a points layer. The points have the attributes district and streetname. How can a check if all the points within a polygon have the same district and ...
0
votes
1answer
41 views

Selection by location: select what is at the left of another layer

I would like to know if there is a way to select the part of a layer that is located at the left (or at the west) of another layer. I thought it would work with select by location, but I don't know ...
0
votes
1answer
16 views

Select features using a selected feature in ArcGIS Pro

Using a selected feature is it possible to select from a separate file to then extract? In this case I'm trying to extract points from within a given parish using a whole country parish layer.
0
votes
0answers
28 views

Impossible to access to select-layer-by-location result in an ArcGIS Pro script

I'm using ArcGIS Pro 2.5 with basic licence. I'm trying to select some polylines with another set of polylines recursively, if they're close enough. For this purpose, I use Select_layer_by_location ...
0
votes
1answer
101 views

Extract by location works improperly in PyQGIS standalone script

I have been trying to extract polygons from one layer that intersect a polygon in another layer, and another extract that is disjointed, and looping this over several files organized by date. When ...
1
vote
0answers
10 views

Summary Within tool not matching Select by Location results

This seems like it should be simple but having trouble. Using ArcGIS Pro 2.4. What I would like to do: count the number of polygons from one layer intersecting polygons in another. In this case, I'm ...
0
votes
1answer
103 views

Creating multi-ring buffers around points in a single layer and for each point selecting neighbors within a specified radius in R

I have a CSV file of data on a set of 3000 points (locations) with respective coordinates and a number of attributes. I want to perform a regression analysis that takes cognizance of any spatial ...
2
votes
1answer
121 views

Select By location QGIS 3.12 Not Selecting all Features within

I'm using QGIS 3.12, trying to do a simple select by location between two polygon layers. However, once complete it never brings back correct results (does not select all polygons within selected ...
0
votes
0answers
43 views

Find lines not related to any other lines

I have a pipes layer. I need query all dangling pipes, it isn't relationship any other pipes. I have attach image. Is there any method to do this?
1
vote
1answer
47 views

Output of an algorithm in QGIS Graphic Modeler

I use two Processing tools in a graphic Model in QGIS: 1-Select by Location 2-Select by Attribute The problem is that I can't get the output of the selection by location so that I can't use it as ...
2
votes
1answer
64 views

Select by Location multiple layers using ArcPy

Using ArcMap 10.3, I would like to Select By Location multiple layers using ArcPy. The error message states line 7 is not correct. I can't find the error though. "Water_Body_Boundary" is my source ...
2
votes
0answers
36 views

Selecting a line segment with an azimuth value closest to the azimuth value of another line segment in QGIS

I have a road network dataset and a dataset that consists of multiple disconnected lines of varying lengths in QGIS. Most of these lines are (largely) parallel to the road network, but their shape ...
0
votes
0answers
30 views

Using Select by Location in ArcGIS Pro

ArcGIS Pro 2.4.0 (trial version), up to date. Win 10, up to date. I'm new to GIS. I thought my task would be simple as I only have two layers: a shp file with many thousands of census tracts along ...
1
vote
1answer
63 views

Find features based on total overlap of another feature class

I have 2 polygon feature class's (A and B) that overlap each other. I want to select all the polygons of feature class A where the total overlapping area of feature class B polygons is less than 10m2 ...
0
votes
2answers
112 views

Automate saving features by results of join attributes by location

In QGIS v3.8.3 I have one shapefile of all US Census Tracts and another of ~1,000 US Counties. There are multiple tracts in a county. So I did a many-to-one join in Join attributes by location to add ...
1
vote
1answer
42 views

Spatial join based on by location and by attribute

I have tried to solve my problem using previous similar issues but I didn't find anything. I want to get direction for a shp (shapefile) with routes (polylines) and then to join this information in ...
0
votes
0answers
29 views

QGIS Channel Network - Merging all polylines

In QGIS I have created a Channel Network using the SAGA Channel Network Tool. I would like to select all the Channels and their upstream network which intersect the blue polygon. Of course the Select ...
1
vote
2answers
239 views

Select by location using separate features iteratively (pyqgis)

I am looking for a way to run select by location, specific to the features of the 'INTERSECT' layer. I have got bus locations and bus stops and want to figure out when the bus has entered and left ...
1
vote
0answers
37 views

Creating automatic sum column in ArcMap

Using ArcGIS 10.3 I have a table with different categories and would like to summarise each of them. I want it to work as well when these data are selected inside a polygon. Below is an example of ...
1
vote
1answer
97 views

Select by location tool Vs layer.getFeatures(QgsRectangle(xmin,ymin…)))

I can't make sense of the difference between: QGIS Select by location tool (Vector->Research tools->Select by Location") which gives the correct result :7 records match the extent: Creating a ...
0
votes
1answer
26 views

Finding what intersects feature without join in ArcGIS Pro

I am new to ArcGIS Pro. Which Geoprocessing tool do I use to find the Features in FeatureA that intersect FeatureB without prerforming a join? I just want a selection of FeatureA - not clipped to ...
2
votes
1answer
90 views

QGIS - Extract by location, what does Cross do?

I don't understand what Cross does when extracting by location, and how it differs from Overlap- the definition on the user guide is very confusing - it says: Cross: Returns 1 (true) if the ...
0
votes
1answer
70 views

Iterating through geodatabase and assigning field value based on spatial location using ArcPy

This is very similar to Python script to iterate through geodatabase and assign field value based on spatial location and Assigning field value based on location without join just different data. ...
3
votes
1answer
923 views

Spatial subsetting SpatialPolygonsDataFrames completely within selecting area using R

I am trying to spatially subset in R: the forest stand data (many small polygons) by the watershed data (one polygon) My datasets are both in SpatialPolygonDataFrame format. I don't want to ...
2
votes
1answer
207 views

Select raster tiles within vector polygons

I have a shapefile with polygons of all the countries of the world. I also have a raster .tiff (250m square pixels) of average wind speed per pixel. I want to select all the tiles which lie within ...
1
vote
2answers
77 views

ArcPy Iterative Select by Location

I have a very large dataset with line features that represent a utility, and lines that come off of those utility lines showing connections to buildings. (example shown below - utility line in black ...
1
vote
0answers
65 views

Selecting features enclosed by another layer using QGIS?

I have 2 layers selected layers as shown in the figure below, hotosm_glp_rpads_lines (Layer 1) and LaSoufriere_Imapact_Zones(Layer 2). I want to select all the polylines in layer 1 which is bounded by ...
2
votes
1answer
75 views

Finding location of specific value in spatial TIFF file using R?

I want to find location of specific value in one spatial GIS TIFF file and then compare location to main file in order to find some information. for example consider this image which is my main image. ...

1
2 3 4 5
8