Questions tagged [attribute-table]

A tabular set of data linked one-to-one to a set of spatial features.

Filter by
Sorted by
Tagged with
2 votes
0 answers
34 views

How to join a column from a line data layer attribute table and join it to a shapefile attribute table in QGIS?

Issue: I have calculated the distance from shore from point data showing dolphin IDs to the coastline by using these commands: Step 1: Digitise the country lines for administration country shapefiles ...
user avatar
2 votes
1 answer
38 views

Renaming categorical attribute values in QGIS attribute table: merge two different strings to the same name

Issue I have a column called ' Species' in a shapefile layer showing the distribution of different species of dolphins. The operator that originally inputted the species names into our excel data ...
user avatar
1 vote
0 answers
16 views

Alternate view to normal view in attribute table [closed]

I have somehow accidentally changed how my attribute table looks and I dont know how to get it to go back to the original state has anyone any idea how to change?
user avatar
  • 11
3 votes
1 answer
104 views

Using QGIS field calculator to create an 'fid' column according to a value from another column

I have a shapefile with 1,800 rows. I need to edit this file as follow: Row_name is from 1 to 45 Col is from 1 to 39 fid should be from 1 to 1800 in order (This is the new field I need to create). I ...
user avatar
0 votes
0 answers
14 views

Creating one line for multiple data

Using QGIS, I want one line representing three data in the attribute table. I merged and used the multipart to single part. Only one data in the attribute table appears. Is it possible to get multiple ...
user avatar
  • 11
4 votes
1 answer
99 views

Calculating two columns at once in QGIS

Is it possible to calculate two columns at once? So what I mean is that we have different covers and lengths and I want a total length of "Cover A" after that a total length of cover tb and ...
user avatar
  • 41
3 votes
1 answer
47 views

Is there non spatial Virtual Layer in QGIS?

I have two users working on the same project with identical shapefiles but in a different geographic area. User 1 is working in Area 1 User 2 is working on Area 2 When using MapInfo I used to keep ...
user avatar
  • 175
2 votes
1 answer
32 views

Categorizing field and summing attributes for label in QGIS

Using QGIS, my goal is to group "FSA"s (postal code or zip code ordering) into larger regions, and have data labels labelling these larger regions. The labels themselves would be the sum of ...
user avatar
0 votes
0 answers
16 views

QgsConditionalStyle based on my custom Python function in my plugin

I'm writing a plugin that validates data, and indicates invalid values by making the background red for that particular value in the Attritube Table. Currently I am doing the following. My plugin ...
user avatar
1 vote
0 answers
28 views

QGIS - Link derived coordinates to an attribute table

How can I link a field of derived coordinates and attributes to an attribute table? It cannot be copied manually, many lines (100,000).
user avatar
0 votes
0 answers
22 views

Remodeling of an attribute table in Atlas-Qgis 3.22.4

As part of a project (flood expansion zone inventory [FEZ]) I want to create "Summary sheets" using my attribute table. The latter contains the code of the plots, the owner(s), their ...
user avatar
  • 39
0 votes
1 answer
42 views

QGIS defining beginning and the end of the linear element based on point location from the different layer

I have the situation, where I draw the lines from one point to another. They in fact proceed along with the other linear items, but it works well with the snapping tool. As you can see I must fill up ...
user avatar
  • 3,584
1 vote
1 answer
23 views

QgsAttributeTableView shows nothing in my QGIS plugin

I have created a plugin using the Plugin Builder plugin, and I tried to adapt it to show a QgsAttributeTable (by following this example). I get absolutely no errors or warnings, but it simply shows an ...
user avatar
2 votes
1 answer
28 views

Adding field to attribute table distorts existing columns using ArcMap [closed]

I am using ArcMap 10.6. I am intending to add a new field to the attribute table of a shapefile containing polylines in ArcMap. I started by loading the shapefile and opened the attribute table where ...
user avatar
4 votes
3 answers
78 views

Hiding multiple horizontal rows in the attribute table in QGIS

I would like to see only the first 10 of my 150 attributes show up in the attribute table and have the rest 140 attributes "hidden". Is this possible? However, it would have to be possible ...
user avatar
1 vote
1 answer
43 views

Trying to update attributefields from shapefile with field values from intersecting shapefile features

I have two shapefiles. This code selects features from shp1, which intersect with features from shp2. I need to update two fields from shp2 with the values of the intersecting features form shp1. ...
user avatar
  • 65
2 votes
0 answers
37 views

How to join attributes by field value on-the-fly?

I have two spatial (polygon) layers (table 1 and 2), and another non spatial table (table 3). Table 1 & Table 2 have identical columns but different fields. Table 1 is edited by user 1 only Table ...
user avatar
  • 49
3 votes
0 answers
41 views

Docked attribute table not displayed when reopening a QGIS project

I have created a project with multiple map views (canvases). I have also opened vertically in the project an attribute table. When I save and reopen the project, the layout is lost. What can I do to ...
user avatar
  • 175
0 votes
1 answer
51 views

Extracting attribute data to points [closed]

I have a GeoTIFF file downloaded from: https://www.fao.org/soils-portal/soil-survey/soil-maps-and-databases/harmonized-world-soil-database-v12/en/ It includes ".tif" and ".dbf", so ...
user avatar
7 votes
2 answers
135 views

Selecting items in the attribute column based on items of the other layer in QGIS

I have the items in my data attribute table, which were selected. What I want to do is make the object with the same value to be selected in the attribute table, which belongs to another layer. In ...
user avatar
  • 3,584
3 votes
2 answers
100 views

Removing decimal part from float field in QGIS

I have a field called "_mean" and I would like to remove the decimal part of all the values of that field. I attach two pictures. One an example of my variable ("_mean") in the ...
user avatar
  • 445
0 votes
0 answers
16 views

Conditional incrementation in attribute table in QGIS [duplicate]

I split one vector line with various entities with the tool 'Split line by maximum length'. Now I need to have the order of different segment (create by the 'Split line by max length') for each ...
user avatar
4 votes
2 answers
134 views

Selecting values of variable in attribute table which contains specific character in QGIS

I have a shapefile of a grid cell. I would like to select all the observations (cells) whose values in column "mean" is not an entire number. I was thinking to do it selecting all the ...
user avatar
  • 445
0 votes
0 answers
30 views

Joining Tables in ArcGIS Pro results in majority <null> values

The goal is to try to join a table with calculated fields (produced in ArcGIS Pro) with the attribute table of a shapefile. Trying to join them with the common "APN_8" Field, both text, 8 ...
user avatar
1 vote
2 answers
58 views

Write one value in attribute table until condition is met, then write another value

I'm trying to make groups of points, based on bearring changes. I managed to find turning points (turn = 1), but no luck with grouping. The idea is to write value of 1 in "line_group" until ...
user avatar
4 votes
3 answers
169 views

Nullifying the whole row in data attribute table at once in QGIS

I have a situation as you can see below: and I would like to have one row cleared completely at once. Is it possible?
user avatar
  • 3,584
0 votes
2 answers
19 views

Pipe materials by percent of total length and length in miles

I am filling out a survey that asks questions about our water mains such as total miles in our system. This was easy to figure out with the length field. The next question asks "What is the ...
user avatar
0 votes
1 answer
45 views

QGIS copy and move features without attribute

I use the Advanced digitizing toolbar -> Copy and move features tool quote often. The biggest problem I have got is that the content from the data attribute table is also replicated. Is there any ...
user avatar
  • 3,584
5 votes
2 answers
171 views

Displaying only visible in canvas features in attribute table using PyQGIS

As explained by @xunilk in Getting attribute values from vector features visible in QGIS canvas using PyQGIS we can easily access to the attribute values of the features visible in the QGIS canvas (...
user avatar
  • 1,332
3 votes
1 answer
51 views

Adding column that shows the number of parts of features

I want to create a new field in my attribute table that shows of how many parts each feature exists (QGIS). I know how to make a new field and where I can find the Field Calculator. I do not know the ...
user avatar
2 votes
2 answers
101 views

Removing duplicates from data attribute table by expression in QGIS

I have some duplicates in my data attribute table like you can see below: I used the following formula count(1, "Site ID") > 1 based on this question: Identifying duplicate attributes ...
user avatar
  • 3,584
3 votes
1 answer
58 views

Delete specific values for contour lines in an attribute table for deletion in line data with QGIS

Issue: I have an attribute table showing contour lines for both bathymetric and terrestrial data. As my study is entirely focused on the marine environment, I would only like my maps to show the ...
user avatar
2 votes
2 answers
62 views

QGIS Field calculator cumulative sum with non-numerical index

I need to create an attribute with cumulative sum of another attribute. The values are sorted by a string attribute. I just found posts that involved the numerical id of the features. I've tried to ...
user avatar
0 votes
0 answers
14 views

Different Attribute Name when exported from Global Mapper 17

I have been trying to export .shp files from Global Mapper. However the Attribute names and its Export name doesn't seem to be able to corelate. For example, if I were to set the attribute name to &...
user avatar
3 votes
2 answers
127 views

Geocoding address in attribute table with PyQGIS

The script doesn't work as if I wanted. from qgis.core import * from .resources import * import json mylayer = QgsProject.instance().mapLayersByName("layer")[0] features = mylayer....
user avatar
4 votes
3 answers
125 views

Selecting features in one layer based on mutual field with another layer in QGIS

I have two layers in QGIS, each one with a field called "Name". I need to select the features in 'layer2' whose name exists in 'layer1' (totally or partially). For example, in the images ...
user avatar
4 votes
2 answers
112 views

Populating field with sequential timestamp in QGIS

I have a point layer in a GeoPackage with this attribute table. name id timestamp A 1 23:03:2022T23:30:00 A 2 A 3 ... B 1 23:03:2022T23:30:00 B 2 B 3 .....
user avatar
0 votes
0 answers
36 views

Move values from united columns (union)

I am looking for a way to move values from united columns (union). Using the Union command, I have merged several cleansed layers. Each source layer has the same columns (topic). Using the Union ...
user avatar
  • 621
2 votes
1 answer
46 views

QGIS use "Move feature" for two layers with different geometry at once with attribute tables intact

I have 2 layers, which are placed separately, but they create the schematic. Hence their cooperation is highly essential. I've styled them in order to match the schematic requirements. Now I have the ...
user avatar
  • 3,584
3 votes
1 answer
83 views

Obtaining lat/lon coordinates for layer in QGIS

With QGIS 3.24.1-Tisler on Mac, I want to get a list of lat/long coordinates for the Alaska sample data that comes with QGIS. I followed the instructions at https://gis.stackexchange.com/a/64700, with ...
user avatar
0 votes
0 answers
35 views

Merging two contour layers in QGIS changes the column heading names and creates more columns

I have two contour layers that I'd like as 1. Using Vector-Data Management Tools-Merge Vector layers, I check the box next to the two contour layers, add the UTM projection I'm using, save file to ...
user avatar
  • 261
3 votes
1 answer
115 views

Calculating sum of values based on another attribute as filter in QGIS [duplicate]

I have shapefile data set (Road segments) my area of interest is to calculate the length of all road segments having a particular attribute, e.g.: sum of (length attribute) when Attribute1=something. ...
user avatar
3 votes
2 answers
71 views

Selecting attributes from multiple vector layers in QGIS

I'm looking for a way to select multiple attributes from about 9-13 vector layers. I downloaded the "Multiple layer selection" plugin, but I get an error. 2022-03-22T14:01:20 WARNING ...
user avatar
2 votes
1 answer
111 views

QField : Attribute form not displaying correctly

I'm a student in the end of class internship and just found out about QField. I'm familiar with GIS so I didn't think I'd struggle so hard. I want to use QField for butterfly conservation, and will ...
user avatar
4 votes
4 answers
175 views

Extracting number with letter from the address string in QGIS [closed]

I have the following address examples to extract: 4A MANOR FARM CLOSE 38A OXFORD ROAD 56A BISHOPSTONE and after using the following codes: regexp_substr( "Address L2", '(\\d*) ' ) or ...
user avatar
  • 3,584
0 votes
0 answers
37 views

SQL query on array data in ArcGIS attribute table

I have an attribute table where courses offered by different colleges are in an array, I am trying to Query using ArcGIS query builder so as to return colleges offering a specific course within the ...
user avatar
2 votes
1 answer
70 views

How to merge the attributes of point shapefile in QGIS

I am trying to make wind map in QGIS, where I used vector point shapefile. Because I have two different shapefiles I first merged them: Then I Dissolve it where I choose two attributes to dissolved: ...
user avatar
  • 91
0 votes
0 answers
27 views

Attribute Table Option not showing up QGIS

I uploaded a file to qgis and can see the map and layers. When I right-click the layer trying to see an attribute table, there is no option to click the attribute table at all. Why may this be?
user avatar
5 votes
1 answer
99 views

QGIS remove number from the string doesn't work as expected

I am fiddling with addresses, where I would like to remove the street number. So far I found some solutions leading to explain how to get rid of the numbers but from the right side of the string: ...
user avatar
  • 3,584
1 vote
0 answers
29 views

FilterExpression only work in form

I make a QGIS plugin for 3.10. and use Relational value but my key is 2 thing. a string a int So I use the key colonne as my int and add a filter expression to add key "TYPE_MAT" = ...
user avatar
  • 131

1
2 3 4 5
39