Skip to main content

Questions tagged [select-by-expression]

The tag has no usage guidance.

3 votes
3 answers
122 views

Deselecting duplicate records in QGIS Attribute table

Several SE-GIS posts describe how to identify duplicate records, such as Identifying duplicate attributes in field using QGIS. I would like to extend this concept by unselecting any duplicate records ...
Stu Smith's user avatar
  • 8,192
0 votes
0 answers
58 views

QGIS select by expression Modeler

I'm trying to build a model which should select polygons based on selected polylines. The polygons share attribute values with the polylines. In this case the field "Outlet" (polygon) ...
user237984's user avatar
2 votes
1 answer
104 views

QGIS: Select by expression on the same layer with condition

What I am trying to achieve is selecting the lines that have the value of the field "Heizlast in kW" = 0 + the lines that touch it (like the selection in the picture above). Using the ...
Denis Crîlov's user avatar
2 votes
0 answers
69 views

Selecting features based on minimum overlap with another layer in QGIS [closed]

I have a "sites" vector layer with 300 polygon features and a "heathland" vector polygon layer, showing the locations of heathland areas. I am looking for a way to select all ...
nn90's user avatar
  • 57
2 votes
2 answers
79 views

How to only select contiguous parcels that have the same ownership AND exclude those owners that have parcels that are non-contiguous (QGIS)

I have a shapefile containing parcel data for multiple counties, and I'm trying to narrow this dataset with the following conditions: 1.) Identify owners with contiguous parcels AND 2.) Exclude owners ...
garfieldapologist's user avatar
2 votes
1 answer
135 views

Selecting duplicate IDs in QGIS

I have a .csv file in QGIS with a list of water meters and their associated property IDs. Some property IDs have >1 water meter. I want to run a selection query to find all the duplicate property ...
Mow's user avatar
  • 175
1 vote
1 answer
117 views

QGIS Model Designer - Select by expression doesn't work

I try to do a simple model with the Model Designer of QGIS and I have an issue with the algorithms Select by expression. And when I want to check the validity of the model the explanation is just : ...
Sof's user avatar
  • 13
5 votes
1 answer
148 views

Selecting top two features with longest length in the line vector file in QGIS

I have a line vector file and I need to select two lines with the longest length using expression. I am familiar with selecting the line with the longest length: length($geometry) = maximum(length($...
unknown123's user avatar
3 votes
1 answer
175 views

Save vector layer features into separate layers, based on combination of two attribute values: correct QGIS expression

I am doing a lab worksheet and I am having a hard time figuring out what to put in in the expression box. GENERAL STEP: You need to identify Aspen and Birch (Select by Expression) and export these ...
Jamie's user avatar
  • 61
5 votes
2 answers
237 views

Selecting Features by Expression in QGIS

I have a set of features in a single layer that have been created during various periods of time. In a layer attribute table, there is a column kreirao_datum which means created on a date I would ...
Igor A.'s user avatar
  • 53
0 votes
0 answers
37 views

How to select by expression multiple rows in attribute table [duplicate]

I have a large number of parcels to select, which id number are in Field Name "numberofparcel". How can I make an expression with group of parcels to select by their id number? I use QGIS 2....
Stevan Stojiljkovic's user avatar
2 votes
0 answers
97 views

Expression writing in QGIS/Select by expression

I'm trying to write formulas/expressions for selecting purposes. I want to create a fixed table in a report layout, and for let's say one particular cell, I'd like to retrieve data from a SELECTED ...
Marius C.'s user avatar
2 votes
1 answer
46 views

Selecting everything of one cell value using PyQGIS

I'm trying to make a selection using PyQGIS. The short snippet I'm working with is hej = iface.addVectorLayer('rs_map_Ale.shp', "", "ogr") hej.selectByExpression("KOMMUNNAMN=...
Tobias Bowley's user avatar
1 vote
1 answer
416 views

How to select multiple values (features) in separate columns (QGIS) [closed]

Two parts to this question. Part 1 I'm trying to select by expression all rows (features) that have a particular value across multiple columns. So, for example, I want to select all features that have ...
greyhug's user avatar
  • 77
0 votes
1 answer
179 views

Select points within a polygon based on attribute value within polygon and point attribute values

I have a two datasets - a polygon dataset of buffers around a point and a point dataset. The polygon dataset has an elevation value (assigned from the point on which the buffer was created) and each ...
DanaAllen's user avatar

15 30 50 per page
1
2 3 4 5