Questions tagged [select-by-location]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
350 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 ...
0
votes
0answers
37 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 ...
7
votes
2answers
119 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
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
32 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 ...
2
votes
1answer
206 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
1answer
44 views

Efficiently referencing/connecting data without overlap

I am doing an analysis that places a buffer around X property, then identifies all the parcels within that buffer to store in a database and perform analysis on later. Currently, I have two separate ...
1
vote
0answers
12 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
0answers
44 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?
3
votes
4answers
465 views

Selecting features with same geometry in same shapefile

I am working on a public transport network in one shapefile (polyline type) in QGIS 2.18. Certain bus routes share the same paths, means that one line-part can repeat more than once. It always has ...
1
vote
1answer
56 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
86 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
41 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
67 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 ...
2
votes
1answer
11k views

How to get polyline latitude and longitude by click on polyline android?

I have set Polyline click listener like this : map.setOnPolylineClickListener(new GoogleMap.OnPolylineClickListener() { public void onPolylineClick(Polyline polyline) { int ...
1
vote
1answer
2k views

Selecting features intersecting a selection from another layer in QGIS

I have two large WFS layers in QGIS (2.16.3): one with polygons and the other with points. I've selected some of the features from the polygon layer and now I'd like to select all the features from ...
1
vote
1answer
78 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
165 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
44 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 ...
1
vote
2answers
326 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
40 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 ...
2
votes
2answers
155 views

Select by location using for-loop in Python Terminal

I have two shapefiles ('drenagem' and 'rio_pri'). I need to loop through every feature from 'rio_pri' and save all those features from 'drenagem' that intersect 'rio_pri'. So I wrote the following ...
1
vote
1answer
122 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
32 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 ...
4
votes
1answer
1k 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
128 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
78 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. ...
2
votes
1answer
122 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. ...
2
votes
1answer
322 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 ...
2
votes
1answer
2k views

Selecting n-random points within polygon as single feature in Google Earth Engine?

IMPORTS: var geometry = /* color: #98ff00 */ee.Geometry.Polygon( [[[73.85016678395664, 14.304113379426035], [73.85016583974448, 14.048667693939866], [74.0477686190103, 14....
1
vote
2answers
98 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
82 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 ...
1
vote
1answer
35 views

Select or export features within layer that intersect one another, and also within distance in ArcMap

As shown in the image, I would like to select or export features within a layer that intersect one another, and also within a specified distance. I am trying to use the "Select Layer by Location" ...
4
votes
2answers
1k views

Selecting set number of points within polygon grid cells using QGIS?

I have a polygon grid with 1 square kilometer area cells, and over it a set of points, like so: What i need to do is select and extract only a single random point per grid cell. I could do that ...
3
votes
1answer
844 views

Importing OSM/Google Maps to QGIS but removing/excluding extraneous areas to limit geographically use of OSM?

I am looking to place an OpenStreetMap/Google Maps layer underneath the rest of my shapefiles for referencing purposes. Let's say for instance, that I am looking at the Swiss Cantons and cities, and ...
1
vote
1answer
287 views

Saving only selected features after doing a selection by location in QGIS using Python Terminal?

I wrote the following script to save only the selected features after have a selection by location done. But I have got an error when the saving line is executed. I don't want to load these layers in ...
2
votes
1answer
129 views

Retrieving lines radiating from point with v.select in GRASS GIS 7.6

I am attempting to select lines that radiate from a point using v.select in GRASS GIS 7.6 (also tested with 7.4.4) in Windows 10. I start out with 48 lines radiating from a point every 7.5 degrees. ...
2
votes
1answer
2k views

Selecting cells within polygon layer without extracting them using ArcGIS Desktop? [closed]

I know how to use the tool, Spatial Analyst Tools > Extraction > Extract by mask for cells that lie within a polygon shapefile, but is there anyway to just select those cells without having to ...
1
vote
1answer
76 views

Getting rid of warning messages when selecting by location using PyQGIS?

I am running a Python script in QGIS 2.18.26 and I have a select by location with a code like that: indir = "C:/Infolder/" outdir = "C:/Outfolder/" os.chdir(indir) for fname in glob.glob("*....
0
votes
0answers
113 views

Selecting grid squares (polygons) that intersect with a raster

I have a raster dataset that I have exported a subset from using attribute values (so the extract has areas where there are no pixels). I also have a fishnet grid (polygons) and I want to select the ...
1
vote
0answers
33 views

Classifying coordinates on land/on water using QGIS very slow processing issue

I'm very new to QGIS. I have a problem related to the "select by location" tool of QGIS. I have loaded 10 different layers into my map containing data of waters (rivers, canals etc.). Now, I want to ...
2
votes
1answer
349 views

Selecting polygons over raster extent using QGIS?

I would like to select all the polygons that are within my raster extent. Is there a tool in QGIS to do it ? Such as the select by location tool but instead of comparing the features from another ...
1
vote
0answers
425 views

Selecting only parallel lines along center line? [closed]

I have read through how to find close and parallel lines but I am still looking for a simpler solution. Found several ArcGIS forums post on the topic but no answers there either. Does a tool exist in ...
1
vote
1answer
142 views

Batch updating point attributes based on values of underlying polygon using ArcGIS Desktop?

I have a points shapefile with a blank field. I want to populate this field with an attribute obtained from another underlying (polygon) shapefile. I can do this for a single record easily using ...
0
votes
1answer
52 views

UpdateCursor with SelectByLocation for multi polygon

At the end of this script, I have an UpdateCursor that updates the PLOTS field in the Timber_Type_Polygon with the amount of plots that are within the Timber_Type_Polygon. There's 3 polygons within ...
7
votes
2answers
8k views

Finding polygons within polygon using ArcGIS Desktop?

I am new to GIS and ArcGIS. I have a set of polygons, some of which enclose other polygons. They are lake polygons, and within lake polygons, are smaller island polygons. If I have a given lake ...
0
votes
0answers
31 views

Selecting only polygons with certain variable in them using ArcMap?

I have green space polygons for London and also illegal pollution areas in polygons in ArcMap. How would I go about selecting only the green space polygons that have pollution areas in them (so the ...
0
votes
1answer
320 views

Trying to use layer saved as .lyr file with arcpy.mapping.Layer function results in error?

I am fairly new to the ArcGIS development world. I am attempting to write a script that will have an end result of selecting features by proximity to a selected portion of a different feature. So far, ...
3
votes
1answer
113 views

For a specific point in space, get the pixel in which that point lies (in R)

I am a bit new to the spatial packages of R. I have a hdf file from which I can get a data.frame with the latitude and longitude of the corners of the pixels, and the latitude and longitude of the ...
1
vote
0answers
67 views

Selecting by location: Line to Line

I am trying to select line features from an OSM road shapefile layer (Layer 1) based on the features of a line layer (Layer 2). Layer 2 is selected road segments from Layer 1 produced using a routing ...

1
2
3 4 5
8