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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [select]

The selection of data from a database based on some criteria.

-2
votes
1answer
55 views

How to select a point from existing points within each grid in QGIS

How to select a point from existing points within each grid cell in QGIS? Each grid cell has multiple points and these points have 3 possible values for the "Status" attribute (Status: A, B or C). ...
2
votes
0answers
25 views

How to export a single feature (line) from multiple layers and export to individual layers?

I have multiple vector layers representing a time series. Each layer contains many lines each. I want to select a single specific line from each of these these layers and save it to another layer. ...
0
votes
1answer
16 views

Selecting features in layer by attribute in field and exporting them in another shapefile using ModelBuilder?

I need to export some features inside a shapefile according to an attribute (e.g. field_value = 20). I know how to do it without ModelBuilder. I need it to do it in ModelBuilder because a have many ...
1
vote
2answers
46 views

Selecting/tracing part of line feature using QGIS?

I have a shapefile which comprises a number of lines, each representing a bus route. I'm wanting to create a new bus route which is the same as an existing line to a certain point, but then branches ...
0
votes
1answer
26 views

Google Earth Engine -hourly timestep

Does anybody know how to select 3-hourly time steps in a dataset on Google Earth Engine? Here is what I have tried // A function to compute CF_solar for every time step at which irradiation and ...
1
vote
1answer
35 views

Run processing only in layers with selection

First of all, I am really begginer with PyQGis... I am trying to run a random point algorithm in different vector layers of a folder. But I dont want to do it for every polygon, only for selected ...
1
vote
0answers
42 views

QGIS Select Features by Expression

I am trying to figure out what the expression is to find all the roads in a TIGER street layer for a county that are the same as roads in a small selection of roads. The small selection of roads are ...
0
votes
1answer
26 views

Select by attributes appears to not work correctly

This table: ca ca1 12333 123330 doing this query in Select_analysis: in the where parameter. ca = 'substring(ca1,1,5)' gives empty feature layer and this: ca <> 'substring(ca1,1,5)' ...
0
votes
1answer
39 views

Using %Name% variable dynamically with selection tool in ArcGIS ModelBuilder?

In ArcGIS ModelBuilder is it possible to use a %Name% field value from iterated features in a query and, if so, what syntax should I use?
0
votes
1answer
49 views

Select_analysis in ArcPy gives ERROR 000358?

Trying to learn how to use Select_analysis but the queries cause the ERROR 000358: Invalid expression. Piece of code: arcpy.Select_analysis(in_features='test1', out_feature_class=...
3
votes
1answer
101 views

Select only lines that touch both sides of polygon - PostGIS

I want to select lines that only touch both sides of a polygon. Is there a function in postgis that can do this? See image below. I only want to select lines from the circle on the left where the line ...
1
vote
1answer
23 views

Random selection of polygons in ArcMap? [duplicate]

I have thousands of buildings blocks in ArcGIS. I want to select a half of this blocks randomly. How can I do it?
0
votes
1answer
31 views

Syntax error in Where Clause using .format in arcpy.Select_analysis

I'm having a little trouble understanding the syntax for a Where Clause; e.g., for use in arcpy.Select_analysis(inSHP, clipSHP, where). input is polygon shapefile; Zone_ID field is short integer ...
3
votes
1answer
78 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 "...
6
votes
2answers
223 views

Selecting connected lines between start and end point in QGIS?

Is there a method in QGIS to select all connected lines that are between a start and end feature (point or selected lines)? I imagine a workflow going something like this: Choose the starting line ...
2
votes
1answer
118 views

In Vertex Tool (QGIS 3.2.2) How can I select the next (or previous) vertex?

I want to correct a duplicate vertex by deleting one. However, if I use click and drag, I select both and delete both. To select only one, I could select the previous (or next) vertex and navigate ...
1
vote
0answers
30 views

ArcMap 10.3 Attribute Table Showing Wrong Information?

I have some parcel data with addresses that I am trying to export as a selection. Every time I open the attribute table with a new selection of parcels, the information is incorrect after a certain ...
5
votes
1answer
94 views

Select point by number of overlapping features

I have this polygon layer converted to lines, and had the line nodes extracted using Extract nodes. The resulting point layer has several overlapping points because of common borders with adjacent ...
1
vote
1answer
27 views

Select/export point features where the value change in two fields within the layer is less than a 5% change

I have a point layer that has two fields representing the distance (in feet) of a point feature to coastline (old distance vs. new distance). I want to crosscheck both fields to see the accuracy of my ...
1
vote
1answer
73 views

Randomly selecting single point from within multiple fishnet grid-squares?

Using ArcGIS, I have a large data set of occurrence data many of which are in similar places. I have created a fishnet around the total area and want to select a single random point from within each ...
0
votes
1answer
32 views

Using If Then Else statement against selected records in ArcPy?

I am working on a Python script that will count how many selected features there are and if there are it will make a feature layer from them. If the script runs and finds there are 0 selected records ...
0
votes
1answer
31 views

Calculating area of .shp polygon that intersects with feature of another shapefile

I am using ArcMap 10.6. I created a polygon (red). Some of it overlaps with a feature that delineates a city (green). The brown is where they overlap. In case it makes a difference that the shapefiles ...
4
votes
1answer
113 views

Selecting an amount of features that together sum up to a certain value?

I am looking for a way in QGIS to randomly select features within my shapefile. The selected features together need to sum up to more or less 2000m2. So, it is not selecting 10% of the features, but ...
0
votes
1answer
32 views

Using where clause to select minimum value in Select_analysis tool of ArcPy? [closed]

I am trying to use the Select_analysis tool to select the minimum value from the input geodatabase feature class and export that to a new feature class via a where clause. I think I'm getting tripped ...
2
votes
1answer
36 views

Problems filtering using multiple parenthetical expressions in QGIS 2.18 OSX Yosemite

I'm not a QGIS power user but I've been using it for simple things for quite a while. I just updated from QGIS 2.14 to 2.18 yesterday in order to be able to edit field names. I'm now having some ...
1
vote
1answer
265 views

How to make the selection transparent in QGIS 3.0?

Despite setting the layer or the symbology of the features to semi-transparent, when performing a selection, the features become solid. I want to edit those features based on properties of the ...
1
vote
3answers
124 views

Selecting by attributes in ArcMap?

Using ArcMap 10.6 I am trying to 'select by attribute' data that is separated by a comma. For example: passive, football, soccer or passive, playground and so on with the objective to calculate the ...
1
vote
1answer
32 views

Select Entrys by Time

I want to select entries of my GPS-Point data only recorded from 7 a.m. to 7 p.m. and close out all others. Right now, its in a String format (00:00:06). I tried "time": >= '07:00:00' and "time": &...
1
vote
1answer
172 views

Randomly selecting points within polygons in ArcGIS Desktop? [duplicate]

I have 131 polygons (point buffers) and need to randomly select a point within each buffer. Seems like it should be easy but can't find any solutions online. Running 10.5
0
votes
1answer
215 views

Using ArcPy to check for duplicates AND Latest date? [closed]

I am stumped (and new to Python). I have a feature class with a field that contains a centroid in MGRS. That field is called MGRS. I also have another field called ED_Date that is the production date ...
0
votes
0answers
41 views

Selecting .las points based on intersection with polygon in ArcGis

I'm trying to select all .las points that fall within a selected polygon. So basically like select by location, but with a .las file and a feature layer file instead of two feature layer files. I ...
0
votes
1answer
256 views

Selecting Polygon Feature using ArcGIS API for JavaScript?

I used ArcGIS JavaScript API 3.25 for developing. I want to select polygons within 1km radius. so I used a sample code that esri provides. But it works only for point features. I want to use that ...
3
votes
3answers
115 views

Deleting selected rows in ArcPy?

I am new to ArcPy and I am trying to write a code to select specific rows from a shapefile. I wrote this code, which gives back: Parsing error SyntaxError: invalid syntax (line 3) Any suggestions ...
3
votes
1answer
108 views

Cannot write a subset of features back to the source Geopackage or File Geodatabase

At QGIS 2.18.16, I have a Geopackage point layer with a selection subset. I need to write the selected records to the same Geopackage as a new layer, with a new name. When I attempt to Save As... ...
0
votes
0answers
39 views

ArcMap - wrong/no features selected when using select tools

All of a sudden my features aren't selecting properly when using the "select by rectangle" tool. Previously, I could click on an individual point feature and that feature would be selected. If I ...
0
votes
1answer
59 views

Automating select polygons by distance within same layer using QGIS?

I have say, 6,000 polygons roughly 25 acres each, all touching one another, basically a grid but with irregular shapes. Using QGIS, how do I start with one shape then in an automated process, select ...
0
votes
1answer
30 views

Selecting or identifying coastal census tract using ArcMap? [closed]

I have census tract level population data for all the U.S. I want to compare the population of coastal census tract (those adjacent to the ocean) and non-coastal census tract. What tool should I use ...
1
vote
0answers
67 views

Select by Map Content

I have a QGIS project of species presence/absence in European countries (TDWG data). That's 84 species against 63 countries. For each species I've used the exact same map layer, used Categorize to ...
3
votes
0answers
89 views

Selecting features from one layer into new layer based on IDs using PyQGIS? [closed]

I'm completely new to PYQGIS. I'm pretty handy with MapBasic in MapInfo and was wondering how I would 'translate' this command from SQL select into Python (hope that makes sense) Essentially, I have ...
0
votes
2answers
96 views

Selecting points from QGIS when button is greyed out?

I am new to QGIS. I added mailing addresses from arcgis map server url https://gis.nccde.org/agsserver/rest/services/BaseMaps/Addresses/MapServer. I want to select some points here and move them to a ...
2
votes
1answer
66 views

Modelbuilder - iterate consecutive workspaces and select specific rasters from each

This is probably easiest explained with a picture, I'm trying to iteratively perform a calculation using specific rasters from each two consecutive folders in a folder. For example from above picture,...
1
vote
1answer
25 views

“Selected” button on the attributes window

I'm following some old instructions that are not up to date with the current version of ArcMap. I'm working on a table that is a layer. When I open it the instructions state that I have to click the '...
2
votes
1answer
56 views

Changing selection color in exporting ArcMap layout with ArcPy?

I use ArcMap and am looking for a way to change the selection color that would be respected when exporting map layouts programmatically using arcpy.mapping.ExportToPNG(). Currently, it is always the ...
1
vote
0answers
115 views

Selecting features in order using python in QGIS [closed]

I am building a plugin in QGIS 2.14 that takes a selection of lines and creates one followong the path of those lines already selected. My issue is that the traditional selection does not respect the ...
2
votes
1answer
55 views

See highlighting when an overlapped point is selected?

I have two points with the same location (with the same geometry point). It seems that I'm dealing with a overlapped selection bug because having those two points when I choose the second (the one on ...
0
votes
1answer
353 views

Cannot select polygon using QGIS

I've created a polygon from lines in a couple of cases where I'm unable to select the polygon using the standard Select Features button. I am able to select the feature using the Attributes Table, but ...
1
vote
1answer
126 views

Extracting individual images from gridded map

I am using QGIS (2.8.6-Wien) and I would like to do the following: Load a GeoTIFF, add a grid-layer (with cell size specified in pixels), select some cells and save each cell content as an individual ...
0
votes
1answer
41 views

Select specific polygon intersecting another polygon

I have lots of building polygons in my parcels. Each with individual attributes. I want to select for each parcel the building polygon with the highest value from one field. How can I accomplish this ...
3
votes
0answers
48 views

Very peculiar feature selection issue [closed]

One of our ArcMap users is having a feature selection issue that I haven't run into before. I think the issues are all related, but when the user selects one feature, multiple features are being ...
3
votes
0answers
120 views

Randomly limiting number of features QGIS displays for specific point layer?

I have a map with various point layers (e. g. shops, bars, hotels). Some of these contain many features and the map is overcrowded – particularly in urban areas. Hence, I would like to (randomly) ...