Questions tagged [fields-attributes]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Creating points on existing land survey shapefile, points not showing on map

I have a shape file created from CAD showing conventional land survey points at 100ft increments. I need to add points between some of the existing points, which I did using "create points along ...
  • 261
1 vote
0 answers
24 views

Updating a field values based off of values in the same column

I am struggling with the concept of this code and am not sure if this is even something I can do. I am using a gdb with a feature dataset and a number of feature classes. I have a feature class "...
2 votes
1 answer
32 views

How can I transform a StringList to one String

I have a column in Qgis with type:"StringList" eg { "name": "William", "height": "1.87", "age": 90 }, { "name": "Mary", &...
0 votes
1 answer
21 views

SLD GeoServer : impossible to use attributes to set scales?

We are currently using a GeoServer 2.17.5 and creating Style Encoding styles. I'm looking for set the MinScaleDenominator, MaxScaleDenominator and stroke color from the layer attributes. The scales ...
1 vote
0 answers
12 views

How to get attributes from the output in the graphical modeler of QGIS

I'd like to know how to get attributes (to insert it into a specific string) from the output of an algorithm which is present in a flow of the graphical modeler of QGIS. Possibly, i don't want to ...
  • 769
0 votes
0 answers
30 views

QGIS model: save downloaded file with filename based on one of its attribute values

Using QGIS modeler (currently with QGIS 3.26.1) with the Download File algorithm, you can use a filename based on an expression and thus are able to give the saved file a name based on e.g. the ...
  • 45.1k
1 vote
0 answers
21 views

Automate adding a new attribute field based on name

I frequently take in datasets of land parcels and need to split them into separate layers (Private, County, State, Federal). I have been manually creating a new attribute field and then selecting by ...
  • 11
0 votes
2 answers
31 views

Filter attributes from a data layer into a point layer

So, I have two layers: -A point layer with a number of venues (around 2000 venues). The attribute table has 7 columns: Venue ID (Foursquare) Latitude Longitude Venue category name (Foursquare) ...
0 votes
1 answer
42 views

Form layout I created in QGIS won't transfer to QField

I have been trying to create a form layout in QGIS which includes different tabs, and am trying to transfer this layout to QField. When I open QField, my fields are showing up but that is it, none of ...
  • 1
0 votes
0 answers
38 views

Auto-populating field using spatial location of another feature and its attributes using ArcGIS Pro

I'd like to auto-populate a field based on its spatial location of another feature. For example, I have a US County layer and a polygon feature class called "Locations" illustrated below: ...
  • 491
1 vote
0 answers
24 views

Automatically update geometry from attribute

Using the field calculator one can update the geometry of a feature in dependence of one of its attributes. The process is described in Updating feature geometry from attribute fields in QGIS My goal ...
  • 11
1 vote
2 answers
32 views

Deleting a field using plugin in QGIS 3

I am trying to write a function to delete a field using plugin in QGIS 3.24. I have build a plugin , which consists of QgsFieldComboBox. So I can select a field from the combo box to delete (from the ...
  • 25
1 vote
1 answer
21 views

Create a field that assigns a value depending how many layers it intersects

I'm trying to create a new field in my attribute table that can assign a value to the polygon depending on how many layers of my buffers it intersects. So i have a base layer called "properties&...
1 vote
1 answer
35 views

Add new field with a specific data type in QGIS 3

I am trying to add a field using plugin in QGIS 3. I just want the new field to be of specific data type, so I have created a combo box and populated it with the QVariant types i.e string, double, int,...
  • 25
1 vote
1 answer
29 views

Remove / strip HTML tags from fields in QGIS

I created a drag'n'drop form for a layer with a number of Text Edit widgets which I set as 'multi-line'. I also ticked 'HTML' (don't ask me why!). I gave the project to a colleague to input and edit ...
  • 315
0 votes
1 answer
17 views

Add multiple fields to multiple feature classes using ArcPy

I'm trying to add multiple fields to multiple feature classes using a list in ArcGIS Pro. This is my code import arcpy arcpy.env.workspace = "Tatjana\MasterGeodatabase\MasterGeodatabase.gdb&...
0 votes
1 answer
52 views

QGIS Find position for point objects on a line object and add this length attribute to any point object

My QGIS (3.22. Biatowieza) question is the following: I have a line layer with objects that have a length in metres. And there is a separate point layer with point objects that are located besides of ...
3 votes
1 answer
50 views

New field in attribute table with automatic yes or no

I have 2 different layers: one is properties and the other one is park buffer. I would like to add a field in the properties attribute table that says YES if "properties" and "buffer&...
0 votes
1 answer
34 views

Separate ArcGIS Pro field of (a + b) into two fields (a) AND (b)

I have a dataset What I am trying to do is pull out the street names from the original field. Any ideas?
  • 1
2 votes
1 answer
45 views

Separate "date and time" field in "date" and "time" in QGIS

I have a column with date and time (yyyy/mm/dd hh/mm/ss) as string. I have the date field already, but the hour field is empty. How can I transfer the hh/mm/ss part to the hour field? I am new to QGIS ...
1 vote
1 answer
30 views

Change Time Format in QGIS

How can i change time format from 0.377777 to normal time 9:00 in qgis is there any formula or anything. I tried the entire conversion in Excel with custom format h:mm but it takes me a lot of time to ...
  • 269
1 vote
1 answer
62 views

Search multiple GeoJSON feature properties in OpenLayers?

I have a code to do the search function, i got the results from var props = results[0].properties; but for if not work, I don't know why. How can I fixed and zoom to result? This is my code: var ...
  • 19
4 votes
1 answer
47 views

QGIS 3 Modeler operate with a fieldname

In a model I would use a fieldname of a layer with the Input of Vector Field. When I use the name of the input in an expression, the model gives no result. Do you have any idea?
  • 41
2 votes
0 answers
45 views

Adding several attachments in one polygon attribute field using QGIS

I need to add several files (for instance JPEG, DWG, PNG, etc.) as attachments in one polygon attribute field. For that, I created a new field with widget Type - Attachment. But it allows adding only ...
1 vote
1 answer
52 views

Setting layers from GeoJSON property

I have a .js file with 19000 entries from where I want to create layers from a feature.properties.Issue. I have tried diferent approaches I have found in here but for some reason the layers are not ...
  • 35
2 votes
1 answer
111 views

Set integer attribute based on a text string attribute

I have an atribute field listing biomes as text strings. I need to do some processing in another program that requires biome information in a numeric code. TLDR; every 'Tropical Rainforest' needs to ...
3 votes
4 answers
232 views

Importing from Excel/CSV format to QGIS

I created a grid and used it's squares and it has 4 values in attribute table (each square has left, top, bottom, and right values). Every square is a different object. I try to export file from ...
0 votes
1 answer
55 views

How to use QgsFieldComboBox in building QGIS plugin

I am developing a plugin in QGIS which involves the use of QgsFieldComboBox, what I want to do is that the combo box only shows fields(column names from attribute table), and from this ...
  • 27
1 vote
1 answer
77 views

PyQGIS Filling in empty fields in attribute table

I want to fill in all my empty fields in the attribute table with a 0 because otherwise i cant use the sum-function properbly. I tried to iterate through all the fields and store every empty field in ...
  • 87
0 votes
2 answers
34 views

Adding new value in new field using ArcPy

I have a polyline feature class with this attribute table: I need to get values without decimal numbers. I created a new field called "newLength" and tried to insert the new values (whole ...
  • 3,984
1 vote
1 answer
45 views

Update Attribute Table on clipped shapefiles using QGIS

I would like to find a way to automatically update the attribute table for shps generated from the clipping tool. My interest is to get an updated area calculation. All my new shapefiles would ...
1 vote
1 answer
83 views

Adding attribute entries in combobox in QGIS plugin

I am developing a QGIS plugin which contains 2 combo boxes: comboBox comboBox_2 combobox lists the vector layers available, however I would like the 2nd combobox_2 to list the all names available in ...
  • 27
3 votes
1 answer
118 views

Create attribute in a field based on the part of the name of a file in a folder with Python in QGIS

I have a common path (F:\Comune) where there are folders with name that corresponds to the attribute of a field of the vector Zp.gpkg called "Numero". The field "Numero" for every ...
3 votes
1 answer
165 views

QGIS - Value relation values based on geometry

I am having a problem with last part of defining values in geopackage. I have created relation values based on field values (drop-down values). Last one I want to create, is to make relation based on ...
  • 328
3 votes
2 answers
71 views

Deleting all fields from attribute table in QGIS processing script

I'm writing a script in the processing script editor of QGIS and at one point i want to delete all columns of my vector layer's attribute table. I tried to do it like this: lst = list(range(0,-1)) ...
  • 87
1 vote
2 answers
91 views

Relationship by location in QGIS

I have two feature classes: point and polygon. The purpose is to make geometrical relations between them. For instance, if points are within a polygon then automatically make the relation between ...
3 votes
1 answer
91 views

Creating rule-based style for attribute between two values in QGIS

It seems a pretty straightforward rule but I believe I am missing something simple. Let's say I have, in my attributes table, an attribute called "NumberOfFloors", with values between 1 and ...
1 vote
0 answers
41 views

New field and joined fields not displaying in attribute table field dropdown in QGIS [closed]

I joined some fields to a layer and also added a new field. These fields display as expected in the layer's attribute table. Now I want to create an expression for one of the new fields but it doesn't ...
  • 19
6 votes
1 answer
152 views

Excluding zero values in proportion calculation in QGIS

I'm trying to calculate the proportion of seven fields. It is easy to divide the sum of seven fields by seven, but since some fields have zero values, I want to exclude them from the calculation. For ...
  • 133
4 votes
2 answers
147 views

Finding duplicates in field depending on another field's values using PyQGIS

I need to identify/select/print the duplicate values in a field depending on the values of another one. Example: Field1 Field2 100 1 100 2 200 1 200 2 200 3 200 2 300 1 300 2 300 3 300 4 ...
  • 348
4 votes
2 answers
240 views

Changing field length in QGIS

I want to update the string length for a shapefile layer in QGIS. I've tried opening up Layer Properties and clicking edit but it won't let me change it manually. Also I've tried using the field ...
5 votes
2 answers
158 views

Getting list of values from column in QGIS

I have one "column D" with a b c values for my entities (1-2-3-4). Something like that : 1. b 2. c 3. c 4. e 5. j 6. b I would like to generate a list of each different value of "...
  • 407
0 votes
0 answers
14 views

How to display specific attributes in web from feature layout in JavaScript

I have a feature layout with many attributes in ArcGis online. And I have project of the map that is displayed on web. I know how to filter features by attributes. But I need to display a map by ...
  • 101
4 votes
1 answer
272 views

Summing numbers separated by commas in string field in QGIS

In QGIS, I have a column separated by comma (shown by column "lengths"). I want to sum up elements in it for each row. The column is a text field string.
  • 133
0 votes
1 answer
25 views

Finding features in QGIS with partly different attributes

I have several layers and they all have identical table organization. I need to find if there are any features that have a different names but the same UUID. I know that this could be done if I ...
  • 1
1 vote
1 answer
55 views

Using arcpy AddField() does not add field or give error [closed]

I am adding multiple features to a geodatabase after I clip them to a polygon. I want to then add some fields to them, but it's not working. The script runs without an error, but the fields are not ...
  • 63
0 votes
0 answers
12 views

Convert link-level vector data to gridded tiles

I am calculating the CO2 emissions for urban traffic in python. The calculation is based on a traffic model (VISUM) and emission factors for an average car fleet. For every link of the traffic model, ...
4 votes
1 answer
69 views

Creating new attribute field gained by areal intersection in QGIS

I am trying to make a new attribute field which will differentiate points, vector layer, which lie inside and outside of a polygon layer. I tried like this: CASE WHEN '...
3 votes
2 answers
47 views

Navigating attributes tables with arrows keys in QGIS

In QGIS 3.24.1 I am trying to navigate through attributes quickly using the arrows keys on the keyboard, as I was doing on previous versions. Unfortunately, QGIS is trying to make the number in the ...
  • 31
0 votes
0 answers
31 views

Calculating relations between two fields in single layer

I have a layer with a field named prog_num and another field named land_use. Each program number has a number of different type of land use assigned. I want to have a record for each program number - ...
  • 1

1
2 3 4 5
33