Questions tagged [fields-attributes]
Fields, also known as attributes, contain information about features.
1,983 questions
1
vote
0
answers
45
views
Copying polygons from one layer to another with only the common attributes in QGIS
In this question Some fields not copying across attribute tables using QGIS
One of the comments says
QGIS will only copy attributes if it finds a matching field. style_description is not the same as ...
0
votes
1
answer
58
views
Spatial Join Attributes by Location in QGIS
IN QGIS - I would like to join 2 layers together by Using Join Attributes by Location but its not playing ball. It usually works in GB.
First image = locations
2nd image = Ireland Admin layer that I ...
1
vote
0
answers
43
views
Comparing ranked text values as numbers to return specific value in QGIS
I have a column which I am trying to populate with values that depend on if two other columns are higher or lower than each other, but those two columns are text (and need to stay that way).
I have a ...
1
vote
0
answers
27
views
Default value with @username_phone is reset to NULL when reopening attribute form in QGIS
On QGIS 3.40.14 (LTR) I have a layer with an attribute field (e.g. "Kartierer"). The field has a default value expression set to: @username_phone
The field is configured as:
NOT NULL ...
1
vote
1
answer
81
views
"builtins.ValueError: year 0 is out of range" error while iterating through features in layer with Fiona
I am getting the error:
builtins.ValueError: year 0 is out of range
while attempting to iterate through a layer's features using Python (3.12) and fiona. GDAL 3.11.4. My searches indicate that this ...
3
votes
2
answers
124
views
Applying get_feature function over CSV layer in QGIS
I want to have the color of the lines defined by ean xpression.
It has to be looked up in a csv-color-table by an Object-Nr
Layer 1 = Line Objects with 'INVENTORY_TYPE_KEY' (= Object-Nr)
Layer 2 = CSV ...
2
votes
2
answers
258
views
Calculating two highest maximum values of field in QGIS
I need an expression in the Field Calculator of QGIS to obtain the two highest maximum values from a field ("distance") grouped by the value of another field ("id") in the same ...
2
votes
1
answer
171
views
Editing the same attribute for multiple selected features from different layers at the same time in QGIS
I have two (or more) features from different layers that share the attribute field "name". I’d like to select these features on the map (e.g. using the Multilayer Select plugin) and then ...
3
votes
1
answer
108
views
Creating new attribute with name of feature with the highest group value using QGIS Expression
In QGIS, I have a point layer. I'd like to create a new attribute that will retrieve the value from the "Name" field for the object that has the highest value in the "he" field in ...
0
votes
0
answers
47
views
QGIS Form // Attached tool / Big performance problem for table opening
I work with Windows with QGIS 3.34.13-Prizren.
I have a Qgis project destined to be shipped on a tablet for the field (Qfield).
The project contains a polygonal layer of 3427 objects (file shp). There ...
1
vote
1
answer
63
views
Creating a Join based on multiple fields [closed]
I'm somewhat a GIS novice and searching for the most efficient way to join a feature class and spreadsheet where the join requires matching two fields. This is an example of the data:
Feature Class:
...
3
votes
1
answer
119
views
Adding object information from "derived" to the QGIS Attribute table
I want o add derived information to the Attribute table is that possible for the whole layer?
0
votes
0
answers
59
views
Selecting multiple features that not exceed certain total area using ArcGIS Pro
I previously created a fishnet grid with a certain size (i.e., 200 m x 500m). Now my next step is, I want to design a planting block where the area total must not exceed around 100 Hectares per year.
...
2
votes
1
answer
156
views
Renaming file geodatabase field alias using QGIS
At QGIS 3.40.9, I can alter a file geodatabase field's name with the following steps:
Layer Properties > Fields
Click the Edit button to start the edit session
Double-click on the field name, type ...
1
vote
1
answer
114
views
Creating field and updating its value for feature using PyQGIS
First,
I'm trying to create a field for a vector layer. This is the one of the most basic actions.
with edit(noViewLayer):
noViewLayer.addAttribute(QgsField('DN',QMetaType.Type.Int))
QgsProject....