Skip to main content

Questions tagged [select]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
42 views

How to buffer a selected point in PyQGIS

I have a few random points that I generated within a polygon. I randomly selected one of the points and would like to buffer that point. In the case below, buffering will be applied to all points and ...
seak23's user avatar
  • 181
0 votes
1 answer
59 views

Select point features within same polygon AND with same field value QGIS

The situation I have a point layer ("Beobachtungen") and a single part polygon layer ("Single parts"). For both layers, every feature has a unique id. As shown in the image, some ...
Hannes's user avatar
  • 129
-1 votes
1 answer
88 views

Seeking "redo selection" or "undo clear selection" in ArcGIS Pro

Is there a "redo selection" or "undo clear selection" in ArcGIS Pro? I'm wanting to be able to basically undo a clear selection, so that a selection that I've cleared comes back. ...
Holden_Schaefer's user avatar
4 votes
1 answer
190 views

How to make the selection color the same in the map and attribute table windows?

At 3.34, the color of selected features in the main map can be changed in either the Settings > Options menu or in the Project > Properties. However, I have not found a way to change the color ...
Stu Smith's user avatar
  • 8,290
0 votes
1 answer
65 views

Selecting roads covered by point features QGIS

I have a layer consisting of roads and another layer of point features (traffic signs). Is there a way in QGIS to choose the area that the traffic signs cover? By this I mean the area within multiple ...
pe5's user avatar
  • 1
1 vote
3 answers
66 views

What function in ArcGIS Pro Python replaces the ArcMap data frame method zoomToSelectedFeatures()?

What function in ArcGIS Pro Python replaces the ArcMap data frame method zoomToSelectedFeatures()? I already tried other solutions (getLayerExtend for Layout), but didn't work. ##SNIPPET CODE arcpy....
dallalana91's user avatar
0 votes
0 answers
48 views

QGIS - How to show only one value when having multiple same values by expression [duplicate]

I wonder how could I show by expression only one labels when having the same values multiple times? Does an "unique" function exists in QGIS? For my column "abrev_county" I would ...
Sarah BOUTARD's user avatar
1 vote
0 answers
54 views

Number of features decreases when saving selected features to new layer in QGIS

I'm selecting features from a dataset using an expression. After selection, the selected features are a total of 6349. I save the selected using export -> save selected features as, and I've tried ...
Laura Riis-Klinkvort's user avatar
2 votes
1 answer
102 views

Highlight polygon in Leaflet

How can I hide(opacity) all polygons, and only show the one with ID 73 [click example code]: https://jsfiddle.net/etrv684u/1/ HTML: <div id="map"></div> <button id="...
user_unknown's user avatar
1 vote
2 answers
90 views

ST_Distance from one location to others

I have a table that contains different city buildings and want to calculate the distance of all the buildings of a type to another with a specific id using the ST_DISTANCE() function
Alm's user avatar
  • 83
0 votes
0 answers
46 views

How to select lines within a distance of a certain point?

I am currently dealing with the following issue: I have a dataset with of the roads of a certain place in The Netherlands. Within this place I added two points. I would like to know all the roads ...
Marius 's user avatar
0 votes
0 answers
40 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 ...
Gülce's user avatar
  • 13
3 votes
2 answers
420 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 ...
Kishor's user avatar
  • 536
1 vote
1 answer
70 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 ...
KodakAsis's user avatar
0 votes
0 answers
25 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 ...
coral's user avatar
  • 81
1 vote
1 answer
49 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 ...
mat.hudak's user avatar
  • 167
0 votes
0 answers
61 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 ...
Mark's user avatar
  • 33
0 votes
0 answers
22 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 ...
Geographos's user avatar
  • 4,109
0 votes
0 answers
43 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 ...
Arthur_Morgan's user avatar
1 vote
1 answer
254 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....
Skel80's user avatar
  • 155
-1 votes
2 answers
122 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 ...
Nadav's user avatar
  • 1
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 ...
user222094's user avatar
5 votes
1 answer
168 views

Selecting N points within each geometry using SQL

I have grid and point tables in my Postgres db. The points are not equally distributed over the grid. The grid table is 100k+ geometries and the points are in the 100's of millions so efficiency ...
RedM's user avatar
  • 1,535
1 vote
1 answer
38 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 ...
Rodrigo Suárez Castaño's user avatar
1 vote
1 answer
52 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 ...
Nick McNamara's user avatar
1 vote
1 answer
163 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 ...
user3072602's user avatar
3 votes
4 answers
555 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 ...
caslumali's user avatar
4 votes
1 answer
70 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 ...
588chm's user avatar
  • 615
0 votes
0 answers
45 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 ...
RogerPickles's user avatar
2 votes
1 answer
313 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 ...
Jouline's user avatar
  • 63
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 ...
Geographos's user avatar
  • 4,109
0 votes
1 answer
226 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 ...
Mas's user avatar
  • 33
3 votes
1 answer
117 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 ...
i.i.k.'s user avatar
  • 1,575
3 votes
1 answer
624 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 ...
Smita Verma's user avatar
1 vote
1 answer
84 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 ...
GIS Noh's user avatar
  • 321
0 votes
1 answer
256 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 ...
AUS85's user avatar
  • 446
4 votes
1 answer
78 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 ...
Parisa's user avatar
  • 43
0 votes
1 answer
111 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. ...
Craig T's user avatar
  • 464
2 votes
1 answer
104 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 ...
Foeke Boersma's user avatar
0 votes
2 answers
502 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 ...
Marco Escalante's user avatar
18 votes
2 answers
745 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 ...
Sytze's user avatar
  • 771
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 ...
nanunga's user avatar
  • 533
4 votes
1 answer
101 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 ...
pepe's user avatar
  • 43
3 votes
1 answer
126 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 ...
dylannickelson's user avatar
1 vote
2 answers
857 views

Selecting layer from the current map using Python on ArcGIS Pro

I'm trying to learn how to use Python notebooks on ArcGIS Pro. I'm trying to add a new field to one of the layers on my Map. I added the layers to my map online. This is the code I have so far: import ...
nrg's user avatar
  • 11
3 votes
3 answers
869 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 ...
Lion's user avatar
  • 85
6 votes
1 answer
275 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....
Lakmal's user avatar
  • 61
1 vote
0 answers
109 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 ...
GIS Noh's user avatar
  • 321
0 votes
0 answers
84 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 ...
Nico's user avatar
  • 1
0 votes
0 answers
77 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 ...
gmeles's user avatar
  • 33

1
2 3 4 5
12