Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [select-by-location]

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

38 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
0answers
192 views

When using QGIS join by location, how does QGIS determine the first located feature option?

I have used QGIS process 'join attributes by location' in one of the models I have built and I have now been asked to explain in detail exactly how the model is determining the results. I am using it ...
2
votes
0answers
70 views

Method in QGIS to do a select by radius but ignore “islands”

I am looking for a process in QGIS to run a selection from a given point based of a radius that ignores "islands". For example you may have a body of water which acts as a natural barrier past which I ...
2
votes
0answers
45 views

How do I select rows in an attribute table of a vector layer grid which are outside of another vector layer?

So what I am working on is accessibility analysis, I want to know how many percent of the population of a country have access to certain health services within a given driving time. For example is it ...
2
votes
0answers
324 views

Select by location QGIS and PostGIS. Exception: unknown

Are there some limitations in feature number, while making spatial query in QGIS? All my data is in PostGIS format. When testing with a small amount of features, it works perfectly, but with 1032862 ...
2
votes
0answers
427 views

Command line join attributes by location using OGR

I have two overlapping vector files (polygons and sample) and want to do a spatial join from the command line to extract all features in polygons that intersect with sample. Essentially I want to have ...
2
votes
0answers
363 views

QGIS assign multiple points data to closest polygon

I've got two layers: point layer polygon layer I need to add the points attributes to the polygon by location (if the point is on top of polygon add the atribute as a new field. I thought of using "...
2
votes
0answers
795 views

Shapefile From Excel Sheet Crash When Selected Spatialy or By Attributes

Using ArcGIS 10.2, I am receiving an Excel sheet, on a daily basis, which contains 105 columns(Fields) and includes has X and Y values. For whatever reason (which I cannot understand) all data types ...
1
vote
0answers
33 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
96 views

Select by location inside a for loop in Python Terminal at QGis 2.18.17

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 code to be ...
1
vote
0answers
26 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 ...
1
vote
0answers
55 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
vote
1answer
45 views

Earth Engine Cascading selects - redraw/highlight on select

I am trying to create a scenario in Earth Engine where a user has three drop down selects. On each select, the next select will be filtered by spatial intersections of the first select, and the third ...
1
vote
0answers
58 views

Use selected feature in MXD as selector in python?

I am quite new to ArcPy. However, I want to write a script that: uses an existing SELECTED FEATURE of a feature class in a data frame of an existing MXD (on an SDE Server) for a SELECT BY LOCATION ...
1
vote
0answers
70 views

How to select trenches only upstream of a station (select by location)

I have a shape (line) that represents the hydromorphology of watercourses and contains several parameters. This morphological study of watercourses has been done on every 100 meters of surface ...
1
vote
0answers
152 views

'Select by Location' algorithm using Python script in QGIS

Could anyone explain to me how to run the 'select by location' algorithm in a QGIS 3.0 script? I find it really hard to understand the documentation about it. I found a lot of docs about how to write ...
1
vote
0answers
41 views

Iterate rows in polygon, use result to select by location

I'm not overly familiar with iterators but basically I have a polygon with multiple rows. I want to select each row in that polygon feature class and use the selected polygon in a select by location ...
1
vote
0answers
36 views

Model Builder - Selections Add Up at the End

I am creating a model so that I can help colleagues visualize the workflow I used on a problem. My task was find all manholes in a specific area that connect to pipes >= 36". Simple enough, I did ...
1
vote
0answers
63 views

Point data grouping based on location + huge dataset in QGIS

I need community help to solve my puzzle. I have one huge dataset of points that represent places where a set of trucks stopped. Points go to the database if the reported speed of a truck was 0. The ...
1
vote
0answers
672 views

QGIS select by location doesn't use selected features only

I'm using QGIS 2.14.3 - Essen (but have also tried 2.18.12 Las Palmas) Using 2.14.3, if I select one feature in a vector layer, and then use [Vector][Research][Select by Location], I have the option ...
1
vote
0answers
124 views

QGIS 2.14.3 constantly crashing when digitizing

I'm using QGIS 2.14.3 Essen on Linux Mint 17.2 Rafaela. I'm digitizing either into .OGR vector file or a Spatialite database. Same happens with both. I can be digitizing a string, I complete it with ...
1
vote
0answers
47 views

How to click a line segment when close?

I am looking for help to modify mouse click so that I can click a line segment without having to be directly over it. I have been looking at Leaflet.AlmostOver but have been having difficulty ...
1
vote
0answers
309 views

'Selecting by freehand' tool - selection disappears

I have been trying to select some features of my map on QGIS to create the boundaries of a domain, however when I draw a shape using the 'Select by freehand' tool, the selection disappears as soon as ...
1
vote
0answers
254 views

Summary statistics from feature iterator and select by location - missing selected feature name. Arcmap 10.2

I'm trying to calculate summary statistics for a subset of a point feature, based on selecting by location. I'm using a feature selection iterator to get statistics for each polygon feature in the '...
1
vote
0answers
198 views

Arcpy Select by Location out of memory

I have multiple lines (lines) intersecting points (centroids) from which I want to extract landuse values and then write the extracted values to the lines as 'land1' and 'land2' values. I need to ...
1
vote
0answers
107 views

How to write a loop selection by location and export in QGIS?

I would like to be able to make selections in sequence between buffers and surrounding areas. This would lead to areas (polygons) being selected repeatedly by 2 or more buffers and I want to be able ...
1
vote
0answers
79 views

Finding polygon within polygon using ArcGIS for Desktop?

How do I find two parks (shapefile) that are within a census tract ? If I'm not mistaken you have to use selection by location.. but beyond that quite sure what to do after.
1
vote
0answers
161 views

ArcMap 10.2.1 issues diffferent SQL than 10.0 for “Select by location”?

I have a large point layer and I'm doing a "Select by Location" to select all points that intersect a specific selected polygon from a polygon table. In ArcMap 10.0 the SQL that was executed was ...
1
vote
0answers
74 views

Broadband coverage GIF image layer needs to be selectable (ArcGIS)

I am working on a project on Arcmap where I have 80,000 co-ordinates of postcodes and a broadband coverage map. I need to know which of the co-ordinates intersect with the coverage map. I have added ...
0
votes
0answers
29 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 ...
0
votes
0answers
26 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
15 views

Selecting polygons from file 1 based on their location within file 2 using ArcMap?

I'm working on a project right now where I want to find the census tracts within a particular traffic analysis district. I may just be blanking on it, but I'm working with two files. The first has ...
0
votes
0answers
54 views

Using output layer names from Select By Location

This is kind of from memory as I cannot access my specific code… I am using 10.3.1 and this will be run inside ArcMap. Overall goal: Find which layers in my active dataframe intersect a specific ...
0
votes
1answer
31 views

How to efficiently reference/connect 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 ...
0
votes
2answers
136 views

Select multiple rasters from location

I have a lot of rasters (almost 4000) wich are representing individual glaciers in the Alps. I would like to select only the rasters located within the french border. As I have no information in the ...
0
votes
0answers
72 views

Selecting Points by their Spatial Location to an Attribute of a Layer

I have a large point layer of addresses within a district. Each address point has a field called "Street External Key [SEK]" which is tied (meaning identical to) the corresponding "Street External Key ...
0
votes
0answers
35 views

Selecting features from another shapefile using ArcPy cursors and SelectLayerByLocation?

Having the code below im trying to select all the table features from an school_enroll.shp that are within each bigger zones from the hs_bndy.shpwhen i use the arcpy.SelectLayerByLocation_management ...
0
votes
0answers
274 views

Split Point Layer into even sized cluster

I want to cluster many points (around 1.000) into even sized groups (13 points each group). There is no attribute defining that groups, it should be grouped based on spatial distance. I tried to work ...
0
votes
2answers
46 views

Identifying which lines cross building polygons using ArcMap?

I have the following lines generated from coordinates with XY to Line. I would like to select and delete the lines which cross and are contained within the buildings. I need to do this to find the ...