Questions tagged [fields-attributes]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
48 views

Splitting address into columns with street name, number and letter

I have got this column and I want to divide the name, numbers and extra character. 'De waterman 13a' -> 'De waterman' | '13' | 'a' So I need a column with De waterman a column with 13 and a ...
0
votes
0answers
31 views

Can anyone suggest some field calcuator [closed]

I want duplicate count in the name column in field calculator.
1
vote
1answer
27 views

Join attributes by location in GRASS GIS

I have spatially superimposed points in two layers from which I want to copy one column of attributes to the other layer. In QGIS you can do this with 'Join attributes by location' which worked great. ...
0
votes
2answers
46 views

Field name conventions in GIS [closed]

What is the recognised naming style for field names in Geographic Information Systems (i.e. in shapefile layers)? Most datasets that I use with QGIS seem to use all caps (e.g. 'FIELDNAME') and ...
2
votes
1answer
25 views

Columns order mixed up by style

I have a point layer for wich I've set the order of columns while using field calculator and Refactor fields instruments. But the order of colums is different when I'm choosing point by Identify ...
1
vote
0answers
13 views

Changing default or bulk to show Thousands Separators in ArcGIS Pro attribute table?

I am creating a Map Series in ArcGIS Pro, and have a number of dynamic text elements populated by numeric fields in my map series layer. The default for numeric values appears to be to not use ...
0
votes
1answer
22 views

Adding multiple fields for multiple feature classes in a single geodatabase

I am trying to add multiple fields to a list of feature classes in a geodatabase for NextGEN911. I am having trouble executing this line of code because I am getting the following error #Import ...
1
vote
0answers
10 views

Identify Results tool not previewing fid instead of 'Display Field' in some cases

When I click on the "Identify Results," some layers of my GeoPackage display the attribute selected under layer properties/Display, but other layers will show the fid instead of the field I've ...
1
vote
1answer
51 views

Creating an QGIS Action to change a field value from yes to no

So I'm working on a project where I have to check the classification of a bunch of points in a QGIS project. I have created a styling which means I can perform this task with visual inspection. I have ...
0
votes
0answers
23 views

QGIS: display polygons with null attributes

I still have some polygons that have null value for the attribute "$area". I have run the geometry validation tool and it says that there are one or more polygons with errors despite none of them are ...
1
vote
0answers
12 views

Joined attribute not visible in categorized symbology

I am having an issue selecting a joined layer in the 'value' dropdown under graduated symbology to create a choropleth map. I joined originally the data from a csv file, but after I encountered this ...
0
votes
1answer
27 views

QGIS: cannot reload attributes columns [duplicate]

Unfortunately I have clicked on the edit button in the attributes table and the spreadsheet with the polygons and their attributes has disappeared (see picture). It is likely that I am making a ...
0
votes
1answer
40 views

Getting field value in Print composer label

I am using QGIS print composer. I have so many images to export with a specific label. The text of the label is existing in a field of a layer. I have tried to use this expression attribute( ...
5
votes
2answers
121 views

Adding z-value attribute to lines

I have a shapefile of 200 lines (all connected) with the coordinates x and y and a DEM raster. I would like to give the z value to the lines by taking it from the raster. I have read several ...
3
votes
2answers
90 views

Autofill attributes in QGIS based on locations

So I have a polygon layer (admin boundaries); what I want is when I create a point inside any of the polygons, some attributes are auto filled in the point inherited from the polygon it is in. I ...
1
vote
1answer
57 views

geomintersect function

I am using geomintersect code in QGIS to only retrieve a target field from a target point layer if the target point layer intersects with the start point or endpoint of the line layer. or Vice versa (...
0
votes
0answers
29 views

ArcGIS Pro Python Validate and Alter Field Names

I want to check if the field names in shapefile start with a number (or other forbidden character) or if they contain spaces. If so I want to update the names into some which are correct. I tried: ...
1
vote
0answers
38 views

How to clear the cache of QGIS 3.10 with Python?

I want to add new attributes to a new and empty shapefile layer. The problem is, that QGIS 3.10 takes attributes from the shapefile layer which was used before when loading it to the GUI. So there ...
1
vote
1answer
39 views

Categorizing most often attributes in column

I have a shp point layer with a "USER_ID" column. There is about 19 thousands features. Some of "ID"'s enters the list only ones or twice, but some of them enters 50 or more than 100 times. I need to ...
2
votes
0answers
44 views

Moving field from source feature to new feature

I am attempting to build a layer of perpendicular line segments from a point on a line to a line, but in the process, I would like to bring over the field data from the point layer. I have a field in ...
1
vote
1answer
65 views

Making gridcell take on value of largest region within gridcell with QGIS

I am new to QGIS and very excited about all its features. We want to match gridcells to a region, when a gridcell lies in more than one region we want to assign the largest region to the gridcell. Up ...
1
vote
0answers
17 views

Adding attributes to intersected polygons from corresponding columns R

In short, I have a set of 10 polygons in Pol_large, that I want to split to individual polygons by intersecting (intersecting areas become new polygons, and old ones get cropped). In result, I am ...
1
vote
0answers
22 views

ArcPy dissolve field changes output field name pattern

I am using the Dissolve tool to summarize two point feature classes (item in list). The general pattern of the fields within each item are: rankx_dest rankx_length rankx_cost e.g., rank1_dest field. ...
3
votes
2answers
59 views

Updating a field with something like “if feature_1 is in field_1 then write category_1 to field_2” in QGIS Field Calculator?

I'm grouping different geological time scales into more general time scales. An example of what I would want is "if Oligocene-miocene is in descript_title, write Oligocene-Miocene in ...
2
votes
0answers
32 views

Extract Geometry information from NMEA GGA sentence in SQLite database for display in QGIS via a Virtual Layer

I have a SQLite database containing a GGA sentence in one of its fields. I'd like to display this information as a POINT layer. I've looked at OGR Virtual Format solution as suggested here but I ...
1
vote
1answer
66 views

Create columns for specific “other tags” of OSM PBF files in QGIS

When downloading PBF files of Openstreetmap via Geofabrik, the file contains a field called "other_tags" which includes all the OSM tags for this feature. It is a String field and looks like "cycleway"...
1
vote
1answer
39 views

Set 'system:time_start' in Earth Engine

I have an image collection(image) with 'system:time_start'. My function(iterate) is to get [img1, img1+img2, img1+img2+img3, img1+img2+img3+img4, img1+img2+img3+img4+img5]. But after I calculated, I ...
1
vote
3answers
49 views

Extract digits from string

I have a string field that I want to extract only the digits example: (1,500 m2 --> 1500) QGIS I've tried with regexp_substr( "location", '(\\d*)' ) to remove all after the blank space, but I need ...
1
vote
1answer
47 views

How to calculate field based on another fields [closed]

I´m trying to calculate field based on another fields. I´ve got this attribute table. Example: If field "Smisenost" is S than FRST in new field. Example 2: If field "Smisenost" is NULL, if field "...
1
vote
1answer
28 views

The expression x(start_point($geometry)) doesn't return anything, how can I fix it?

I'm trying to get the coordinates of start and end of lines in a layer, but the expression x(start_point($geometry)) doesn't return anything, what's wrong? Here's my code: capa = "//atlantico2/...
2
votes
1answer
49 views

Default Value for Field with Python Expression in Function Editor

I have a line shapefile in QGIS with several columns and the values for many of those columns could be automatically calculated and updated depending on certain other fiels. Now, I came across the ...
1
vote
0answers
13 views

Combining multiple attributes of a single layer

I'm making a map that consists of 500x500m grids. These grids have four attributes that are of importance to me, of which 2 attributes are "linked". Three of these attributes ("Nature", "Protection" ...
0
votes
0answers
25 views

Automatically copy an attribute when selecting a feature

In QGIS, I need to copy one attribute of a selected feature from shapefile1 to another feature of shapefile2. Since I have to do it for a very large number of features, I use Go2NextFeatures plugin to ...
2
votes
0answers
71 views

How to assign values for one column of the attribute table on QGIS

The table is below. Then I want to assign 3 values: [43.8, 39.0, 25.9] to the X field by row. What should I do? If there are thousands of rows in the table, can I just paste them just like ...
2
votes
1answer
39 views

Joining attributes from two different polygon layers

I'm trying to join the attributes from the polygon layers shown on the images. The result I'm looking for is one layer that contains the square and the attributes of both triangles: the triangles are ...
1
vote
1answer
46 views

Setting the column-order of the attributetable in ArcMap programmatically?

I'm loading a feature layer to ArcMap and want to prepare the columns shown in the attribute-table. Aliasname and visibility I set with ILayerFields-Interface of the FeatureLayer by passing it to the ...
1
vote
0answers
28 views

Display attributes for created features disappear upon exiting “Edit”

I have a very simple map with a land grid. After adding a new polygon, the symbology shows up appropriately, and remains through Save Edits, but disappears as soon as I hit Stop Editing. The polygon ...
1
vote
0answers
24 views

Merging fields when doing merge of different layers

I'm trying to merge 6 points layers, each containing the same fields (Scientific Name, Lat, Long, Count, Common Name) but for different provinces. When I merge the layers, in the geoprocessing wizard, ...
0
votes
0answers
39 views

Combine 8 different shapefiles into 1 with combined attribute fields

I am working on a project where I want to add the attribute fields of 7 different shapefiles into 1 base shapefile. Specifically, I have a parcel map of a city, and I want to append attribute fields ...
2
votes
1answer
43 views

Select multiple fields in Modelbuilder

I am trying to make a model in the Processing Modeler of QGIS. I need a step where a layer with polygons is dissolved based on two fields. At the moment I do this manually. When I open the dissolve ...
1
vote
0answers
66 views

Edit field schema of web layer in ArcGIS Pro

I would like to edit the field schema of a web layer in ArcGIS Pro via Design --> Fields but I get the error message "the table or feature class corresponding to this view is read-only". To clarify, ...
1
vote
1answer
28 views

Hyperlink from attribute table gets send to browser missing the last character, }

I am using QGIS 3.10.2-A. I'm working with city data and parcels. I populated my attribute table with a lengthy hyperlink that ends in }. The string is about 455 characters, and it shows in the ...
1
vote
1answer
62 views

Join raster (.tif) and CSV in R [closed]

I have a .csv file with several attribute fields. I would like to join this to a raster (.tif) file, using an 'ID' column from the CSV file, so that the raster gets all the attributes from the CSV ...
4
votes
1answer
91 views

Split a field in two separate fields in QGIS

I have a huge sewer network with pipe information, labelled for example as "pvc400" (where material=Pvc and diameter=400). Is it possible to split up the information into text and numbers only, so ...
0
votes
0answers
13 views

Does GPS tools plugin change attribute table?

I am using QGIS 3.4.14. To inport a GPX file I usually just drag it on QGIS surface, and there I have my GPX layer with a complete attributes table (ID, elevation, time etc., plus some empty columns). ...
1
vote
1answer
42 views

Sort and create attribute field to the shapefile

I am creating a shapefile layer and adding an 'Area' attribute field using the following script: # Create shapefile layer drv = ogr.GetDriverByName("ESRI Shapefile") dst_ds = drv.CreateDataSource(...
1
vote
2answers
112 views

RAT and cell values in R's raster-objects

I really struggle to understand some basic concepts in the structure of how R's raster-objects save values. Namely the RasterLayer, the RasterBrick and the RasterStack. I understand that the values (...
2
votes
0answers
37 views

Dropdown option in QGIS 3 processing modeler input?

I have an Excel spreadsheet with multiple sheets of different XY database. I made a processing model in QGIS 3.10, in which I have used 'make points from table' tool to create a point shapefile. But ...
3
votes
2answers
146 views

Getting field names in PyQGIS [closed]

How do I get a Python list of field names in PyQGIS 3.x?
4
votes
0answers
166 views

Is it possible to rename a table column with an expression in the field calcultor of QGIS?

I want to be able to rename a few column names with an expression in the field calculator in order to be able reproduce this action with the QGIS graphical modeler. I tried to do this with the ...

1
2 3 4 5
24