Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [select-by-location]

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

0
votes
1answer
32 views

Getting points inside selected feature in ArcGIS Desktop?

I have incorporated district map of India and excel table contents(which consist latitude, longitude and fire data)using add data feature in ArcGIS Desktop. I have attached the picture below to show ...
1
vote
1answer
74 views

Using Field Value as Search Distance Parameter in Select by Location in ArcPy? [closed]

I've been trying to use the select layer by location tool in a loop to select features that are within a specific distance to one feature class for each feature in a different feature class (each ...
2
votes
1answer
43 views

Rule based styling with select-by-intersection syntax

I want to do rule based styling for a selection of gridded polygons dependent on their position relating to another layer. I want to show the polygon that a point feature based in an atlas falls ...
2
votes
2answers
61 views

Calculating point layer values aggregated by sub-polygons in QGIS 2

I simply have a polygon layer BereichBerechnung with a field "Are_Number" a point layer EW2017 with a field "EWjeAdr" In QGIS with a Virtual Layer, I want to calculate the sum of the field "EWjeAdr" ...
0
votes
2answers
47 views

Automating Select by location using ArcPy and where_clause?

I have used the code in Coding python loop to select features of polygon layer than are completely contained in group of 11 layers using ArcPy? to automate select by location analysis using ArcPy. I ...
2
votes
1answer
52 views

Select layer by location in PostgreSQL

I have a footprint of some buildings (see the picture). The selected buildings have an area below 30 sqm. As you can in the picture see some buildings share almost borders with a building bigger ...
1
vote
1answer
24 views

Selecting features with same geometry within one shapefile

I am working on a public transport network in one shapefile (polyline type). Certain bus routes share the same path, means that one line-part can repeat more than once. For instance, if I select a ...
1
vote
1answer
26 views

Selecting points not on end of line

I have a data set of points from which I'm trying to make a selection of the points whose location is between two line segments. What would the way to do it? Here's a picture to illustrate what I'm ...
2
votes
0answers
22 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
1answer
29 views

Combining information of two layers in one

I'm working on population data by catchment area in Albania. I'd like to know how many people are living inside one precise catchment area and in every catchment area. For example in the first ...
0
votes
1answer
65 views

ArcMap 10.6 Select Layer by Location ERROR 000732: Selecting Features: Dataset does not exist or is not supported

I'm trying to calculate the accumulative street length in various jurisdictions in a county. To do this I'm using a search cursor in the city layer and then using the current feature to select streets ...
1
vote
1answer
39 views

Sorting by row already pre-selected polygons by location by line? [duplicate]

I have two layers. One with small Polygons and one with a line. I want to select all Polygons which intersect with the line. Additionally the selected Polygons should be sorted by the order of the ...
2
votes
3answers
40 views

Select Random Point Based on Proximity of Other Points [closed]

I want to randomly select 50 points from a point layer of 3,000, but no two points can be within 100 miles of each other. Having difficulty moving beyond a theoretical framework into something ...
0
votes
1answer
52 views

Selecting only portion of shapefile using ArcMap?

I have two layers: One of the Misissippi River Basin and one of the USA counties within the 48 states. I'm having no trouble selecting the counties within the Basin, but I also need to select the ...
1
vote
1answer
99 views

Random selection of points in SpatialPointsDataFrame R object with distance constraint

I need to select points randomly (without replacement) from a SpatialPointsDataFrame (input object) in R with a minimum distance of 3,000 meters between them. I want to get random 50% of all points. I ...
1
vote
2answers
128 views

Polygons not containing other polygons

I have two large polygon data-sets, one highlights the building footprints and one indicating parcel outlines. I want to find all parcels without a building on them. Essentially all parcel A's which ...
1
vote
1answer
40 views

Using SelectLayerByLocation and GetCount to Populate a new Field using Python

I'm attempting to create a script which assesses the intersect between a layer "BldgFootprints" and several polygons "FireBoxMap_1"-"FireBoxMap_44". And from this intersects performs a getCount on a ...
0
votes
2answers
65 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 ...
1
vote
0answers
44 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
1answer
52 views

Comparing geometry between layers using QGIS?

I'm using QGIS 3.2.3. I have: a shapefile layer of town outlines (about 600 features) a spatialite layer of points (about 20000 features) I would like to filter the points layer to show only those ...
3
votes
1answer
87 views

Select Layer By Location gives ERROR 000840 ({select_features} as arcpy.Polygon)

I tried to select SC27060054 point object using polygon. r"Project\project.DBO.Qo" is a point layer. import arcpy p1 = arcpy.Point(254426.380, 4664270.258) p2 = arcpy.Point(254432.730, 4664270.258)...
3
votes
1answer
77 views

Select features in a polygon that covered the most by features of another polygon layer QGIS

I am working in QGIS. I have 2 polygon layers, One layer is the parcel polygons layer for a county called "Parcel" The other layer is the building footprints polygon layer for the same county called "...
2
votes
1answer
211 views

Join attributes of polygons to another polygon feature based on location QGIS

I have two large polygon data-sets. One highlights the building footprints for a county and the other highlights the parcel boundaries for the same county. Some parcel polygon features have multiple ...
1
vote
3answers
92 views

Delete ONLY selected features in ArcMap / ArcPy

I have a layer where features are selected by location in relation to one or more other layers (selection_type is ADD_SELECTION) in a loop. After that, zero, one, some or all features are selected. I ...
0
votes
0answers
34 views

How to get pixel position of a location, given latitude and longitude, in Python 3? [duplicate]

I have a sentinel-1 GRD product, downloaded from Copernicus. I have used a shapefile created in QGIS and used 'gdalwarp' to crop it. Now, I'd like to open that file in Python using gdal or some other ...
2
votes
1answer
115 views

Choosing LiDAR tiles with vector data using LAStools?

So the problem is that I have a huge amount of LiDAR tiles (in .laz format), but need only part of them that are within the borders of the city. When I load all the tiles to LASTools, I have ...
1
vote
0answers
57 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 ...
0
votes
0answers
13 views

Finding STW easements with no features in STW polygon in ArcGIS Pro?

I have county data for Storm Water Management easements and then have county data regarding STW features. I am trying to figure out how to create a layer of the STW easements within the county that DO ...
1
vote
1answer
99 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
1answer
29 views

Only output points near borders, excluding points near coast

I would have liked to ask for help, being confronted to a problem with ArcGis. I have in fact a shapefile of countries and a bunch of points. I would have liked to keep only the points that are ...
2
votes
1answer
47 views

Selecting polygon features that are not fully contained against neighbors in QGIS?

In QGIS what would be the best method to select features that are not fully contained against it's neighbours? For example I want to select local authorities that have a coastline so in the example ...
3
votes
1answer
97 views

QGIS Tool/Script to run that highlights location point features within their respective polygon feature based on the same parcel ID [closed]

Software: QGIS Desktop 3.0.3 Data Type: Vector Point and Polygon feature layers Action: Select based on particular field matching and return/highlight based on geographic location according ...
1
vote
1answer
55 views

How to only select lines (geometry features) going through a polygon? [closed]

I'm currently trying to select bridges (line features), from a shapefile containing roads, which go across water (a polygon). The problem is when i try to select features crossing or intersecting the ...
1
vote
1answer
218 views

QGIS Select By Location geometric predicates explanations? [duplicate]

Im trying to test if a polygon either a) touches or b) is only semi-contained by another polygon. The first is self-explanatory i guess, but the second could be many of the different predicates ...
1
vote
0answers
56 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
1answer
88 views

How to select features which overlap one geometry but are disjoint from another?

Given a point layer and a polygon layer (P1) in GeoServer, the following CQL Filter selects points which intersect the polygon P1: CQL_FILTER = "Within(geom,POLYGON((P1_coordinates)))"; The ...
-1
votes
1answer
36 views

Selecting from currently selected features using ArcPy?

When using ArcMap there is an option of selecting from currently selected features. What is the equivalent of that when i want to automate the process? Below is some sample code but its not showing ...
1
vote
1answer
58 views

Counting only data points which are within a specified radius of other data points?

I wanted to know if I am on the right track here with what I am trying to do. I have two shapefiles, the first contains point data for all the businesses in DC and the other contains point data all ...
1
vote
0answers
34 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 ...
0
votes
0answers
70 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
1answer
1k views

Set my Home location on Google Maps, if it does not have an official/registered address?

The answer to "Adding new address to Google Maps?" does not include a case for non-business addresses. I want to add my home address, which is not a register address. Ideally, I should have been able ...
1
vote
2answers
89 views

Point data location to be set by Polygon ID

This might be stupid but I am trying to put points collected on the field to match the location from where they were originally collected. AS the X and Y coordinate of the point might not match the ...
1
vote
1answer
434 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 ...
3
votes
1answer
75 views

Cursor to update feature class by location?

I am trying to update an existing field in a polygon fc with an existing field in a point fc. There is only ever one point fc located within each polygon fc. The field names in the polygon fc can not ...
1
vote
0answers
41 views

Automatically selecting street segments from address list? [closed]

I browsed around this site and a couples of other QGIS sites, and couldn't find solutions to my problems. However, I'm quite new to QGIS, so my question is possibly pretty naive. I need to create ...
0
votes
1answer
31 views

Build arcpy query to select features containing one OR another one string value?

I have a table. Based of field name "TYP", I would like to select rows which contains string values "a" or "b". I need to specify the query to my arcpy code. fc = "C:\\Users\\type_jan18.shp" field = "...
0
votes
1answer
90 views

how to identify cross streets for points that are not at intersections? [closed]

I have points that fall in the middle of city streets (so not at an intersection). I would like to automate (ideally, with python) a way to identify the cross streets that these points are between. ...
0
votes
1answer
51 views

Creating a layer from a selection, when I try to symbolize or label the layer, it brings back all the non-selected features

I'm trying to create a layer from a selection in another layer in ArcMap 10.5.1 like so... Doing Right Click Layer - > Selection - > Create Feature from Selected Features after doing my Select by ...
0
votes
1answer
345 views

Get value from an input select with getBounds

I have an input select (or select box, whatever), with some values, examples: 72, 73, 74... Where each value is an area on a map. I need that value for each option selected, so as to zoom in on the ...
1
vote
1answer
2k views

Join Attributes by Location - Precision

What does "Precision" do within "Join Attributes by Location"? Also, what's the difference between the "Geometric Predicates"?