Questions tagged [fields-attributes]

Fields, also known as attributes, contain information about features.

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

Can't merge two layers because of field length in QGIS 3.16

I'm trying a model which did work with QGIS 3.12 but don't in QGIS 3.16. In this model, two vector layers are merged by the algorithm native:mergevectorlayers. In the new version if a field of ...
0
votes
1answer
21 views

Update an admin_date field across multiple feature classes in the same database

I am putting together a database focused on land management and to track changes would like to have an admin_date field populated in each of the feature classes in the database with the same date. Is ...
0
votes
0answers
26 views

Calculate field from Colour values of bivariate symbology using ArcGIS Pro

I am using ArcGIS Pro. I made a Bivariate Symbology (3X3 Grid) for a map. Therefore, I have 9 color values now. I want to assign those colour values or an alias, in the attribute table. For example. ...
7
votes
1answer
74 views

Why time field type is not visible in QGIS?

I have a roads.shp file which represents the highway map of Istanbul. By using Random Extract tool, I generated 2000 random routes on the existing map. Then, I needed to add uniform generated points ...
3
votes
2answers
63 views

Getting not NULL values from three columns in one column in QGIS

As you can see, I have three columns with the important features for me (a, b, c, d, e, f) - no matter of size. I want to copy them into new column "name". The problem is when I try to copy ...
3
votes
1answer
29 views

QGIS constraint not null depending on another field value

Does anyone know it is possible in QGIS to add a constraint to a field not to be null, only when another field has a certain value. For example I have a field A that can be with value 'foo' or 'bar' ...
0
votes
0answers
31 views

ListFields in Feature Classes in Multiple Feature Datasets in Oracle SDE

I need to create individual reports for feature classes that contain the field "FACILITY_STATE" AND "FACILITY_STATE = 'PPC'". These feature classes span multiple feature datasets ...
0
votes
1answer
20 views

Show selection of point in relation of a vector field?

I have two files, vector "streets" a series of point "civic numers" or "address" I want to select a random street and have the field selection of the relative civic ...
0
votes
1answer
37 views

Adding name of FeatureClasses to names of joined fields using ArcPy

Using ArcPy, how do I add the name of FeatureClasses to the names of the joined fields? This is my code which I think helps explain what I am looking for. ----------------------------------------------...
6
votes
4answers
192 views

Removing duplicate features based on a condition on another attribute column in QGIS

I want to remove duplicate features (from a polygons shapefile) based on a condition on another attribute column in QGIS. For example, if I have the following attribute table of a polygon shapefile: ...
2
votes
2answers
56 views

Syntax for specifying a parameter input from an attribute field in QGIS model designer

If I have a layer with an azimuth field, I can easily use that field to define the direction of the wedge buffer by clicking on the button next to the azimuth value and specifying the field type and ...
4
votes
1answer
69 views

Auto-filling when adding new value in attribute table in QGIS [closed]

I am trying to set up QGIS to work on gathering bird data. I have my attributes set up so that the common name, Latin name, quantity, date and other information is recorded. Is there a way to get the ...
3
votes
2answers
116 views

Summarizing fields with same ID in QGIS Field Calculator

I am looking for a command, that sums the value of the field "Baulast" if they have the same "ogc_fid" and if there is a Number in the field "WEA". If there is no number ...
0
votes
2answers
28 views

Extract numbers from mixed string (numbers & text) in QGIS

In QGIS 3.18. There are several similar questions such as this one which do not address my exact problem. I have an attribute of comma-concatenated values containing text and numbers. I would like to ...
3
votes
1answer
39 views

Exclude aliases from attribute table in QGIS

This is related to this unanswered question which is broader; my hope is that this narrower, more specific question may get an answer. In QGIS 3.18, I would like to assign aliases to certain fields (...
2
votes
3answers
142 views

Removing the time zone from datetime field in QGIS

How can I get rid of the time zone in the date/time field? So I have a GeoPackage with the following data: and want to get just 2021-06-07 16:25:40
1
vote
0answers
23 views

File type for value relation widget in a shapefile (QGIS)

In QGIS 3.18. This question is related to this one which has not been answered; my hope is that a broader question will help solve my problem. I have a shapefile layer for which I want some attributes ...
1
vote
1answer
40 views

Joining CSV tables by multiple attributes

I am using QGIS 3.16 I have a shapefile with an attribute table containing regions, district-numbers and building-numbers and I have an additional table (CSV) that (besides other relevant information) ...
0
votes
1answer
31 views

Filtering attributes of selected features to new feature class using ArcPy with ArcGIS Pro

I have a gdb of point features. I want to iterate through the gdb, select the point features that are within a polygon shapefile, and export the selected feature results to a new gdb. However, I only ...
0
votes
0answers
54 views

Can you edit existing attributes in QField?

Can you edit existing attributes in QField? I've researched and tried various options in QGIS/QField but no luck.
0
votes
1answer
20 views

Joining field of multiple tables into one shapefile using ArcMap

I have one shapefile containing several zones (polygons), which are several agricultural parcels. Each parcel has its own FID. I also have five tables containing the crop type of each parcel for five ...
5
votes
1answer
105 views

Why highlighting duplicates does not work in QGIS?

I have used the formula from this query Identifying duplicate attributes in field using QGIS: count(1, "FieldWithDuplicates") > 1 but it doesn't work in my case, just highlights each ...
4
votes
2answers
106 views

Getting integer based on string value in another field using QGIS

I have a big data set with a column name "CORINE" with strings in it. I want to change these individual strings into integers and put them into a new column so that I can create a raster ...
3
votes
1answer
64 views

Retrieving attribute field from polygon feature containing point feature in QGIS

I am trying to populate a point layer's field attribute with values from polygon features' attributes that contain point features. The inverse is very simple: aggregate( layer:='point layer's name'...
4
votes
1answer
49 views

Moving widgets fields to the top in QGIS

I would like to change the order of my widgets in the attribute form section. But after changing the order of columns in the data attribute table, they remain still in the same order in the "...
1
vote
1answer
39 views

Label containing multiple fields

I found this question and the anwser did help me somewhat. But my ''code'' for the label seems to have some sort of error. It won't show any label when I apply it. I've tried the following examples to ...
2
votes
1answer
33 views

Counting substring across multiple fields in QGIS

In QGIS 3.18 I have several fields of concatenated elements (comma-separated), all of which have the possible substring Fort as either one discrete comma-separated element, OR a part of a comma-...
4
votes
2answers
180 views

Batch renaming of columns in attribute table for shapefiles using QGIS

I have 11 shapefiles that shows administrative areas for 11 different countries. For each country, I have 448 columns in the attribute table that records average rainfall data. They look like this: I ...
0
votes
0answers
17 views

Updating fields automatically in attribute table [duplicate]

I am working in QGIS 3.16 and I would like to know if it is possible to automatically update the fields. For instance I have a polygon shapefile with a field that indicates the area. I used the field ...
3
votes
0answers
25 views

Different settings for form & table views in QGIS

In QGIS 3.18. Layer properties-->Attributes Form allows changing various aspects of attribute visualization and entry/editing, including aliases, widgets (for drop-down menus, checkboxes, etc), and ...
5
votes
2answers
251 views

Syntax for using other fields in Advanced Python field calculator in QGIS

What is the syntax for the "Advanced Python field calculator" when using other fields as input in QGIS 3.2.20? (The example below is not the actual function. I have a complex if-else, ...
4
votes
1answer
87 views

Multiple attribute form views in QGIS

In QGIS 3.18. There are 3 ways of visualizing attribute information that I am aware of: The attribute table the Identify Features box the Form view (accessible via either the attribute table or the ...
3
votes
1answer
97 views

Attribute subdomain in QField

I have a point layer with the attribute: kingdom With a value map widget so I can choose the values: Tree or mammal. And a second field: Species (Pine, Oak, Deer, Fox) When I choose Tree, I want ...
2
votes
0answers
36 views

Editable default values in QGIS

In QGIS 3.22. For a vector layer, I would like to have a certain attribute (Field_A) be both editable by a user, AND automatically filled in by an expression for features that are not user-edited. ...
2
votes
1answer
103 views

Setting attribute of point if it matches point from another layer in QGIS

I have two layers of points: The first layer contains points which have an attribute called "svf" with values between 0 and 1 The second layer contains a subset (in terms of location) of ...
4
votes
2answers
78 views

Inserting words from field into new column in QGIS

Is there any good expression to extract the first word of a field and put it into a new column? I would like to create a new column without the numeric values and filter out words that are doubled. ...
3
votes
3answers
94 views

Counting and merging features based on attribute field in QGIS

I have a shapefile with a number of features, each with a field called "region". I want to count the number of features corresponding to each region. Outputting a shapefile with one feature ...
3
votes
1answer
77 views

Getting fieldnames with QGIS expressions in same order as in attribute table (not alphabetical order)

Context I want to get a list of field names of a layer using QGIS expressions. The function attributes() returns a key:value map of the attribute names and values. By default, the result is sorted ...
5
votes
2answers
157 views

Splitting column with delimiter into multiple columns in QGIS

In Excel we have option called 'Text to columns' to split the data in a column. Is there any option available in QGIS? There is an option which splits data from left or right in QGIS but I want entire ...
1
vote
0answers
18 views

Non-editable Field names differ Between AGOL and File Geodatabase

While attempting to overwrite a hosted feature layer from a local featureclass, field.name "Shape__Length" cannot be updated using values from field.name "Shape_Length". When ...
2
votes
1answer
32 views

ArcPy specific fields to CSV print() issue

I have made this code that extracts specific fields of feature layers into a CSV file. Code works fine. I have an issue the way it writes to CSV. Output is as below: (211793 '10290-03') I actually ...
1
vote
1answer
50 views

Feature-linked image in Report layout (QGIS)

In QGIS 3.16. This is related to this question and this question for which the only posted answers do not solve my problem. I am creating a report with a field group section; the goal is to have 1 ...
6
votes
3answers
180 views

Hiding data attributes rows in the Identify Results panel

I have a GDB layer which I've imported into my QGIS 3.16 project. I am using the "Identify Features" tool to inspect paths, and I'm trying to use the "Identify Results" panel to ...
0
votes
2answers
55 views

ArcMap Field Calculator to select values >20 on multiple fields

I need a Field Calculator script to select a feature (trees layer), if values from multiple fields, namely the amount of pine, spruce and birch, meet a specific condition: The values of pine "...
2
votes
3answers
76 views

Label in QGIS layout returns zero but preview displays correct value

I am new to QGIS layout. I would like to display a label showing the proportion of table values meeting set criteria. Please see below: round((count(score,score<=3)/count(score))*100,2)||'%' In ...
0
votes
0answers
30 views

Joining SHP with XLS sheet using Excel

I am trying to join SHP by field CONCATENATE with my XLS sheet. SHP attributes looks like this: ID NAME CONCATENATE 122 765 122765 345/1 765 345/1765 987/3 345 987/3345 Because of those slashes ...
0
votes
2answers
32 views

Set classificationField property to read a list of fields

I'm working in an ArcGIS Pro 2.8 Notebook. GOAL: How would I set the classificationField property to read a list of fields? I believe this is a python matter more so than arcpy. My whole script is ...
2
votes
2answers
60 views

What means error "Changes to this form will not be saved. 1 field does not meet its constraints."

I just updated to QGIS 3.20. Now I can no longer do multiple updates, due to a constraint at the field ID. I changed the constraint of ID but the problem stays. I do can make changes when I select ...
5
votes
2answers
125 views

Intersecting more than two layers at same time using QGIS

Background: At 3.20.3, there are two intersect tools available: Vector > Geoprocessing tools > Intersection and Processing Toolbox > SAGA > Features - Polygons > Intersect. In both ...
1
vote
0answers
28 views

Cutting overlapping line by priorities

I have several line layers following an unique and same path. On some part, these layers overlap each others, so there are multiples segments overlapping. I need to find a way which grants me the ...

1
2 3 4 5
30