Questions tagged [fields-attributes]

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

Filter by
Sorted by
Tagged with
6
votes
3answers
150 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
50 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
53 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
24 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 ...
1
vote
0answers
22 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
103 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
vote
0answers
63 views

Finding current layer name in QGIS field calculator

How do I find the current layer name in the QGIS field calculator ? My goal is to mass process multiple layers and retrieve codes written in their names. I've find the "base_name_file" ...
1
vote
1answer
21 views

How to save attribute forms' widget types and their premade values to a shapefile

I am trying to create 'template' shapefiles. I edited the attribute forms and changed the widget types (ex. value map) with custom values. When I try to export the shapefile this way I end up with ...
3
votes
1answer
46 views

Making field only editable when condition from other field is met using QGIS

For a big field project I am using the app Input in which users can add points to a map. They have to provide some information about the objects (burial mounds). Input is wonderful for this, however I ...
1
vote
1answer
53 views

Using coordinates from mouse click for QgsPointXY when creating point using PyQGIS

I can not figure out how to input the coordinates through a mouse click instead of the code below. I am trying to create a temporary layer of a point from a mouse click. Everything seems to work ...
6
votes
1answer
49 views

Merging features in shapefile with same name and concatenate all attributes as single field

I've got a dataset of tiles with individual attributes (NAME,date,sensor). All tiles have the same size. After dissolving layer, in some locations tiles with the same NAME attribute overlap each other ...
0
votes
0answers
15 views

Reordering multiple popups using ArcGIS Online

I have multiple points on top of each other, with different dates across them, resulting in multiple pop ups appearing when you click on point. When clicking the point/s, the popup appears. The ...
6
votes
1answer
117 views

Creating permanent dropdown lists in QGIS

I've had some success at creating the drop down lists for attributes in QGIS 3.16 using the Attribute Form option in Layer Properties, as shown here: Creating a multiple select dropdown list in QGIS? ...
0
votes
1answer
22 views

Adding a table of attribute information onto map

I am using ArcMap. How can I take a feature's attribute information (i.e buildings) and place the names and building numbers in a table, so that anyone looking at the map can relate the building ...
1
vote
0answers
48 views

QField: Drop-down selects all values, instead of the choosen values

I am creating a QField Layer with different Drop-Down menus and relations. There is a problem when I select "Allow multiple selections". When I create a line there are choices to select, ...
0
votes
1answer
49 views

How to add all the fields of a layer to another using PyQGIS

I try to add all the fields of layer X to layer Y. This is my code: layerX = QgsProject.instance().mapLayersByName("layername1") layerY = QgsProject.instance().mapLayersByName("...
4
votes
1answer
55 views

Grouping and sorting field values by group in QGIS

I need to sort groups of "Field A" by "Field B" and write the Sort Order to "Field C". All entities of "X" value in "Field A" are ordered amongst ...
0
votes
0answers
20 views

Saving multiple classes on raster dataset as individual shapefiles using ArcMap

I have this raster dataset (.tif) of land use cover. There are 22 individual classes in total. Is there any way I can separate these classes and convert them each into individual shapefiles? I want to ...
1
vote
1answer
60 views

QGIS: How to export Coordinates of Polylines of a Layer (containing several Features) into single CSV-files?

Assumed we have some shapefiles imported into QGIS. Each shapefile consists of several features, in this case these are partly connected fragments of polylines (= streets with nodes). Now I want to ...
1
vote
1answer
40 views

Selecting column in data attribute table reliant from different column

I have the problem because after extracting vertices from my linear geometry layer I have so many duplicates in my data attribute table (taking into account a unique "ID" of each line). ...
0
votes
1answer
38 views

Looping through Excel files and deleting the same column for each

import csv import os import pandas as pd #This nested for loop iterates through my excel files and then appends them to my list. feature_classes = [] for dirpath, dirnames, datatypes in arcpy.da.Walk(...
0
votes
0answers
27 views

How to edit two field have the same domain at the same time in ArcGIS?

I have two layers (Parcel and Building ) with fields that have the same domain, for example ; layer (Parcel) has fields with names ("Building status", "Land Use") with domains (...
6
votes
1answer
100 views

Showing field name in the attribute table, not alias, in QGIS 3

I have a file geodatabase table added to QGIS. How can I show field name, not alias in the attribute table? (Or delete the aliases) In ArcMap I can set it in Layer Properties The name, set in ArcGIS ...
4
votes
5answers
192 views

Returning column name of the max value

I am working with some age group data in QGIS based on point counts within a polygon grid and I would like to calculate the max value from a row with 11 different age groups in order to get the ...
5
votes
2answers
101 views

Assigning attribute to polygon after polygonization in QGIS

I've created 50+ polygons by polygonizing a contour derived from a USGS Digital Elevation Model, and I've and fixed the geometries of the polygon layer. Now I want to assign an attribute (mtn or ...
7
votes
2answers
177 views

Iterating through fields and generating formatted string output

I want to iterate through all integer type fields in a layer and generate new "display" fields marked with a 'd' at the end of the name using the appropriate field calculator expression. The ...
6
votes
2answers
230 views

Counting fire occurences per county per year using QGIS

I wish to loop through this shapefile, and for each "COUNTY_NM", count the number of values corresponding to each "layer" value. I want to output a CSV or equivalent which would be ...
2
votes
0answers
37 views

QGIS (& QField) update entire column with 'survey end time'

I have a QGIS project set up to be taken to site to gather data (likely on QField). There is a main point data layer where tube locations will be mapped. This is joined to a surveydata table that ...
2
votes
1answer
35 views

Summing all record in field and putting value in new field

I try to sum all record in "AREA" field and put a value in "SUM" field for calculate a "Ratio" field by using Python. But I struck in a sum part. Here is my code : arcpy....
4
votes
0answers
55 views

QGIS Field Calculator NaN error messages dependent upon variable type?

I have a layer which contains roads. I am using the Field Calculator to compute some statistics based on different attributes. Using QGIS 3.10.14 I am running into an issue using lengths. I have ...
0
votes
1answer
32 views

Searching for existing field available or not in shapefile by ArcPy [closed]

I want to check existing fields in a shapefile by ArcPy. I want to test for two fields, named "Northing" and "Easting". If both fields are present then it's okay, else if one or ...
1
vote
0answers
19 views

Feature Attributes window shifts when creating/labelling features QGIS 3.20.1

I am running QGIS 3.20.1, and every time I add a feature to my shapefile, the Feature Attributes window shifts downwards - to the point I have to click and drag it upwards to fill in the attribute I ...
6
votes
2answers
158 views

Extracting number from address string using QGIS

I have a table with addresses and I need to extract only the number from the attributes. The format is as follows: address VALLEY VIEW HOUSE, 36 HIGH VIEW, USHAW MOOR, DH7 7QQ 35 HIGH VIEW, USHAW ...
2
votes
1answer
39 views

Numbering grid cells using ABC & 123 in QGIS

I'm trying to number a grid from 120 rows by 120 columns: horizontal ABC, vertical 123 using Algorithm ID: 'native:creategrid' and Algorithm ID: 'QgisregularPoint'. Numbering vertically isn't a ...
2
votes
1answer
54 views

Adding data to new field in attribute table in QGIS

I have created a new field column in the attribute table for my shapefile as shown below. I now need to add data to these rows from another datafile. Is there a way to do it other than manual editing ...
0
votes
1answer
106 views

Adding x and y coordinate fields to multipoint layer in PyQGIS

I have a MultiPoint layer in QGIS 3.18 that I wanted to add x and y coordinates to in its attribute table. Normally, I can just use field calculator and calculate the new field to be $x or $y. How do ...
2
votes
0answers
67 views

Adding easting and northing points in ArcGIS

I am trying to add coordinates into ArcGIS 10.6.1. Below are the Northing and Easting I have been given. I have added these Northing and Eastings into an Excel sheet and saved them as a CSV File (The ...
0
votes
0answers
39 views

ArcGIS Pro add attribute rule (Arcade expression)

I am trying to create an Arcade expression in add attribute rule which will auto populate the attribute field (DPA_GROUP) in my points layer (as I create new point features) from the underlying ...
2
votes
2answers
53 views

Moving cells with field calculator of ArcGIS Pro

I am trying to move field entries down by 1 in an attribute table, between a certain row spread. I would like to move all the entries in the 'key biomechanical features' column down by 1 row between ...
4
votes
1answer
61 views

Interpolating point attributes

I'm trying to fix broken sections in navigation data in QGIS. I have a model that cuts out broken sections of a point layer and inserts new points according to a line layer that I added earlier. The ...
3
votes
1answer
48 views

Filtering NULL values in date field in QGIS [duplicate]

In QGIS 3.16.9 I would like to find all the locations that have a NULL value. It is for a date field in the field services Drains dataset. I have been searching the use of NULL around various forums. ...
0
votes
0answers
25 views

Merging overlapping lines while preserving multiple attributes using ArcGIS Pro

I am using ArcGIS Pro and trying to work out a problem for a field project I've been a part of that goes a step beyond a simple dissolve or merge of overlapping lines. For context: The project entails ...
0
votes
1answer
19 views

Export DXF ArcMap to read in AutoCAD (No attributes)

Could anyone shed some light on what I am doing wrong? I have a shapefile in ArcMap which I have exported to a DXF. When I import it back into ArcMap I can see it has attributes. However when I open ...
2
votes
0answers
30 views

Attributes form: autofill in any position

With QGIS autofill I can easily find a value by typing its initial characters. Can I configure the field so that I can type middle characters and still find it?
1
vote
0answers
27 views

Add a table with attributes based on value for some features

I have a set of points with contamination data for each one, and I would like to show a table, for each point, for the contaminations that surpass certain threshold, something like this: Now, ideally ...
1
vote
1answer
50 views

Extracting centroids from property of polygons

I have been using a function to get the centroid of each polygon (building) in my dataset. var buildings = ee.FeatureCollection('GOOGLE/Research/open-buildings/v1/polygons') Map.addLayer(buildings, {...
0
votes
0answers
30 views

Are there different ways to store attribute table data?

I work in ArcMap 10.8.1. When a collegue of mine worked on a task of editing attribute tables of feature classes in a GDB (adding/deleting fields), he reported an error to me. It seems no changes were ...
1
vote
1answer
52 views

Automatically renew of layers depending on another layer in QGIS

Iin QGIS I have a layer with all found Birds in a City ('Vogeldaten'). In the attributes they are categorized in different types of breeder (free-breeding, ground-breeding, hedge-breeding, etc.). For ...

1
2 3 4 5
29