Questions tagged [select]
The selection of data from a database based on some criteria.
576
questions
0
votes
0
answers
18
views
Trying to delete buildings selectively from a CityGML
I'm currently working on refining my cityGML file by selectively removing certain buildings. My objective is to include specific neighboring buildings within designated building blocks while deleting ...
2
votes
2
answers
66
views
Create wider selection area to select lines on map using LeafletJS
When there are thin lines on the map, it is very difficult to click them with the mouse cursor. So is there any option to wider the selection area for lines in LeafletJS, without increasing the line ...
1
vote
1
answer
43
views
Select several layers by name using an expression
I'm am new to using PyQGIS and this question has been answered in various forms already, however not specifically the way I need it; I have a big QGIS project with several layers with similar, but not ...
0
votes
0
answers
23
views
Setting distance range in spatial join using ArcMap
I have many city polygons and I want to select some of them with distance range condition from boundary of other polygons. I use WITHIN_A_DISTANCE in spatial join but this item selects even ...
1
vote
1
answer
26
views
Selecting two adjecent line strings with select interaction in OpenLayers?
I have a map displaying various paths, separated to the segments, which are of type Feature<LineString>. We have a request to implement functionality allowing users to merge two neighboring ...
0
votes
0
answers
58
views
Selection of elements considering features
Still here to propose you a new problem. In the image is shown my situation. In yellow are reperented the streets, in green the buildings and in red is represented the area of the building if they ...
0
votes
0
answers
21
views
QGIS 3 - applying the same selection polygon to other layer
I have selected my large layer by using the "Select by polygon" option.
Unfortunately, I don't know how I could apply exactly the same polygon to another layer, which applies pretty much to ...
0
votes
0
answers
24
views
Select by Location from multiple point feature classes
So let's say I create a buffer around a point feature class.
Now I want to select buffers that "contains" points from "three other/different/separate" point feature classes. It's ...
1
vote
1
answer
63
views
Select by date in attribute table using ArcPy
I want to select attributes by date, but ignore the minutes, seconds, etc. I've commented out some of the lines below and am just experimenting with hard-coded values.
The arcpy.management....
0
votes
2
answers
41
views
Selecting points based on spatial and numerical criteria using ArcGIS Pro
I have a layer of 1,000 points in ArcGIS Pro. Each point has a 'rank' value in the attribute table between 1 and 5. I want to randomly select 5 points from each 'rank' (25 total points) where no ...
1
vote
0
answers
35
views
Select points within a distance of each other in QGIS [duplicate]
I want to select and remove 'duplicate' points that are within 200' of each other in QGIS. Meaning I want to leave 1 point and remove any others that are within 200' of it. I tried to buffer and ...
1
vote
1
answer
20
views
Make this the only selectable layer keyboard shortcut not working
I've build in a shortcut for the "make this the only selectable layer" command (Ctrl+Alt+Z) on ArcMap, but when I try to use it, I can't seem to get it to work. I have my layer highlighted ...
1
vote
1
answer
48
views
Iterate through entire database, detect null or 0 values in Shape Area or Shape Length field and report them - ArcPy
I would like some code that goes through a database and reports any and all feature classes that have a 0 or a null value in an shape area or shape length attribute. If it could all get somehow put ...
1
vote
1
answer
64
views
Highlight marker when click and remove previous highlight in Leaflet
This is a follow up question to "Error changing marker icon when clicked in Leaflet".
I want to highlight a marker when clicked but at the same time reset previously highlighted marker. I ...
3
votes
4
answers
195
views
Selection by location with distance parameter using QGIS
I want to perform a selection by locatin in QGIS using "intersection." However, I want to add a distance parameter so that it disregards polygons that are exactly adjacent and retrieves only ...
4
votes
1
answer
59
views
How to select objects by their offset location in QGIS?
I have a line layer where I have lines that have lines that have the "same" geometry, only reversed. I would like to select only one direction at a time. In the symbology I set an offset and ...
0
votes
0
answers
29
views
(QGIS) Stop the Select Feature(s) tool from selecting features from a layer that have no symbology and are not visible
I am trying to select only the features that have a symbology but the Select Feature(s) tool is selecting everything contained within the layer, even if it is not visible on the map. Is there a way to ...
2
votes
1
answer
164
views
Selecting features and save them as a new polygon while removing the selected features from input polygon in QGIS
I have a shapefile with ~ 50.000 features.
I would like to manually extract ~ 10.000 features to test my model after its training.
Is it possible to make a manual selection like you see here, save the ...
1
vote
1
answer
34
views
QGIS select features by number of snaps
I have a situation such as this:
downloaded OS map vector lines, which represent the lowest possible scale of 1:1250.
all of them have exactly the same attributes as they come straight from the ...
0
votes
1
answer
109
views
How do you extract a time series of daily evapotranspiration in Google Earth Engine?
I would like to extract daily evapotranspiration for a specific date range, for example, 10/1/2012 to 9/30/2022. How can I specify the date range in the code?
And then how can I get either the time ...
3
votes
1
answer
69
views
Activating two layers at the same time with PyQGIS
I want to copy-paste values from one feature in a layer to another feature in another layer, for this, I like to have both layers activated to be able to select features from both layers.
Just as an ...
3
votes
1
answer
184
views
Get style of selected feature in select interaction OpenLayers
I'm trying to add a select interaction on a vector layer and get the stroke color of the selected feature returned. I am able to set the style for the selected feature, but getStyle does not return ...
1
vote
1
answer
78
views
QGIS 3.22.16 Bialowieza. Selecting matching value in 2 fields
I am using QGIS 3.22.16, I try to select similar 'null' value in 2 different field. I tried the solutions suggested from one this exchange.
Selecting features with equal values in different fields in ...
1
vote
0
answers
39
views
QGIS 3.22 Select by rectangle in canvas and add entity to current selection
I'm beginner and I am developing a little plug-in.
I want to put a hit on button and begin to select some data (polygon) by clicking on Canvas or by drawing a rectangle on canvas. When it's done I ...
0
votes
0
answers
66
views
Select all layers in QGIS
In the previous versions of QGIS, to select all layers in the 'layer panel' and then remove them, I used 'CTRL + A'.
In QGIS 3.22 this is not possible and to delete multiple layers I have to select ...
2
votes
1
answer
56
views
Navigate the selection by keyboard in QGIS
I have a polygon layer with several instances (like a grid). I want to be able to change the selection with the up and down arrows. I made this code, and it worked for a while on a test polygon, but ...
0
votes
0
answers
17
views
Selected vector in map canvas as final output of graphical modeler of QGIS
I have created a model and a vector that is obtained from "Result_to_be_selected". The vector of Result_to_be_selected is shown in map canvas.
The problem: I want that the vector is selected ...
0
votes
1
answer
54
views
Add to current selection where a field has the same attribute
I have a selection set on a feature class. I'd like to add to that selection set where the additional rows I'm selecting have an attribute that is the same as an attribute for already selected rows.
...
2
votes
1
answer
64
views
Select features based on distance and threshold value - ArcGIS Pro
Imagine that I have two point feature datasets, being zero_point and points. I would like use zero_point as my input feature to create a selection of points that are 1) as close as possible to ...
0
votes
2
answers
316
views
ArcGIS Pro: Definition Query > Create new definition query in SQL
I have one point type feature class and another feature class with a polygon.
Using ArcGIS Pro, in the feature class type point > Definition Query > create new definition query in SQL.
I want as ...
16
votes
2
answers
526
views
Showing the number of currently selected layers in QGIS
Although this should seem to be very straightforward, I cannot find out how to see the number of layers I have currently selected in QGIS. For example, in the example below I want to see somewhere in ...
0
votes
0
answers
19
views
Avoiding selection symbology when export map in ArcGIS Desktop 10.6
I have to export the layout of my map to jpg while iterating and zooming to selected features by means of a Python script.
How do I avoid the cyan to be included in the exported image without clearing ...
4
votes
1
answer
97
views
Deactivating one script in PyQGIS
I tried the following script in QGIS:
from qgis.gui import QgsMapToolEmitPoint
class ClickedPoint(QgsMapToolEmitPoint):
global pp
def __init__(self, canvas):
self.canvas = canvas
...
3
votes
1
answer
115
views
Selecting highest value ID of two overlapping buffered points using QGIS
I have a set of points in a QGIS layer.
These are trees that have been removed over time.
Often the same location has had multiple trees planted and removed.
The co-ordinates for these locations are ...
3
votes
3
answers
516
views
QGIS: fill a simple line polygon with color when selected
I have a polygon vector layer with Simple line symbology.
When I select one from Attribute table, QGIS change the boundary color in yellow, but I have difficulties to find it easily between many ...
6
votes
1
answer
225
views
Finding the shortest distance between two selected polygons using PyQGIS
I'm researching the shortest distance between two selected polygons among the number of polygons in a shapefile using PyQGIS. Coding as follows>
layer = iface.activeLayer()
sFeat1 = layer....
1
vote
0
answers
66
views
Removing automatic filter using QGIS [closed]
I opened a layer on QGIS 3.10.3 and got an automatic filter. I checked the Query builder, and nothing appears in the Query window. My colleague checked the attribute table on ArcMap. There is no ...
0
votes
0
answers
63
views
QField buffer on select geometry point
On my QGIS project i have a lots of points. I create a personal rule when I select a geometry (point), the selection create a view of a buffer area for a single point. I use this command on my ...
0
votes
0
answers
60
views
QGIS select one by one feature in a layer
I'm trying to select features one by one on a layer.
I have a line layer, I've created a buffer layer from this, and then what I want to do is to select one by one feature on the buffer layer, do what ...
-1
votes
1
answer
112
views
Python action to find out if selection made in one layer is inside polygon in another layer [closed]
Here is my beginning of code but it is not working.
layer1 = iface.activeLayer()
for feature in layer.getFeatures():
if feature.geometry().within(layer2.geometry):
print ('yes')
My goal ...
0
votes
0
answers
75
views
ArcGIS-Pro 3 Select Layer By Date and Time
I have a dataset which has a Time column similar to the sample data below. I am using the Select Layer by Date and Time to filter daytime records and then export that selection as a separate layer.
...
1
vote
1
answer
162
views
How to only select contiguous parcels that have same ownership (QGIS)
I have a shapefile of a county wide parcel dataset that I'm trying to identify only contiguous parcels that have the same ownership.
In other words, if "Bob Smith" owns a group of contiguous ...
0
votes
0
answers
889
views
Export a selection consisting of multiple layers in ArcGIS Pro
In ArcGIS Pro, I am trying to export a selection consisting of many layers (see image), but am having trouble doing so. I know there is no way to directly export such an item, so I have to do some ...
0
votes
1
answer
18
views
Selecting features within joined attribute table that show intersection between street type and range of average traffic flows using ArcMap
I am trying to do a data analysis of traffic streets that would show the amount of Average Daily Traffic (ADT) as it corresponds to streets with 2 lanes. I have a feature class that shows ADT and ...
0
votes
0
answers
29
views
Select values from noise contours across one road stretch
I have a map of noise contours across a city and am using ArcGIS Pro.
I want to select one road (not straight) and export the noise values along that road to a table but I'm having trouble selecting ...
0
votes
1
answer
29
views
Select values of noise contours along one road
I have a map of noise contours across a city and am using ArcGIS Pro.
I want to select one road (not straight) and export the noise values along that road to a table but I'm having trouble selecting ...
0
votes
1
answer
126
views
Random selection of XY% of points within fishnet cells in ArcGIS Pro
I am using ArcGIS Pro and have a feature class of approx. 30.000 points and a polygon grid. Within each grid cell I want to select XY% (50, 70 or any other percentage) of the points (see picture).
I ...
1
vote
0
answers
84
views
Apply fix value difference in selected pixels of a raster file in Qgis
I am using the serval plugin in QGIS to spot edit a DEM in raster format. Besides the built in tools that I use, I have realized that in some cases I can achieve the desired results by applying a ...
3
votes
2
answers
231
views
Deselecting layer using PyQGIS
I can select a layer using:
lyr = QgsProject.instance().mapLayersByName( "lyr_name" )[0]
iface.setActiveLayer(lyr)
This selects and highlights the layer in the table of contents.
How can I ...
3
votes
1
answer
317
views
Delete any polygon that overlaps polygons on another layer in QGIS
I'm new to GIS software and I couldn't find an answer here for QGIS specifically.
I have layer A with a few thousand polygons that have the attribute "Field". I have layer B which is a ...