Questions tagged [fields-attributes]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
30 views

Points to Path using order from array of points

I have a node layer with several thousand points. Each one has a unique attribute "N". I also have a list of N values which make up the points to which I would draw a line: 19523,19581,19662,...
1
vote
1answer
35 views

Choosing several common attributes in shapefile merge (QGIS)

In QGIS 3.16: I have 2 non-overlapping polygon layers that I want to merge to one layer. The two layers have associated attribute tables with 13 fields in common (same variable, same field type; ...
0
votes
1answer
13 views

Assign factor values and make calculations by using Corine raster dataset as basis in ArcMap

I am using ArcMap. I have the Corine raster map which is consolidated by the the class codes (example 121) and some additional information. The purpose is to calculate the Crop/Management factor for ...
1
vote
1answer
35 views

Use attribute of all filtered features of one layer as label in the Print composer

Is it possible to filter some features in one layer and use those filtered features as labels in the Print composer of another layer? I am trying to make an atlas. I have two layers, one which has the ...
0
votes
0answers
12 views

Exporting a polyline as KML from AutoCAD and already renamed to its corresponding attribute name

I have multiple closed polylines in AutoCAD with corresponding lot names. How would I go about exporting these polylines and convert them to KML with their names edited to their correct lot names? For ...
7
votes
2answers
127 views

Automatic fill-in of columns in QGIS

I collect data on birds in my city. In my column, I have the Names of the Birds, their scientific name and their abbreviation. Now I am searching for a simple solution to simplify the work. I would ...
0
votes
0answers
19 views

Unable to join data by field value

i have a dataset which contain object_id, poi_x and poi_y and another data set with same object_ids but different poi_x and poi_y. i want to join poi_x and poi_y from second dataset to first dataset. ...
3
votes
3answers
108 views

How to increment a specific amount of features

I current have attribute bar all empty with null values. I would like to fill that attribute starting from 10001, adding +1 to each of the features and having N before the number So far I have come up ...
1
vote
0answers
48 views

How to preserve imported shapefile's original precision decimals in QGIS

How can I preserve an imported shapefile's original precision decimals in QGIS? Whenever I import an ESRI shapefile into QGIS, it automatically rounds off all fields containing decimals (data type ...
5
votes
1answer
93 views

Add file name as attribute field in QGIS

I have a folder with several shapefiles (around 75). I would like to create a new field into each .shp file which has to be filename. i.e: 20201003.shp --> 20200103.shp (New field 'Fecha' = ...
3
votes
1answer
41 views

Python Toolbox with Many AddField() Calls Runs Slower With Attribute Window Open

I recently finished developing a Python toolbox tool that ends up calling the arcpy.AddField_management() function about 25 times or so. I first developed it as a standalone script to get it working ...
2
votes
1answer
97 views

How to capture real time weather data of points using OpenWeatherMap

I want to set points on a map layer with autofilled data in some fields in the attribute table, which already works fine with date/time and username/observer. Is there also a way to capture real time ...
1
vote
2answers
48 views

Showing marker symbol even when no value in field using QGIS

In QGIS, I have been learning a few expressions to style my trail maps but still know little and am stumped on what to use to filter my symbol data. I am showing Parking locations on my map. I use a ...
0
votes
0answers
35 views

Display both data in different fields in QGIS attribute table [duplicate]

In my attribute table I have lat_1, long_1 and lat_2, long_2 in the same row. How can I display both at the same time. Is their any solution for that in QGIS. lat_1, long_1 are main location lat_2, ...
0
votes
0answers
27 views

Creating unique field in shapefile for editing in ArcMap

How do I make a unique and not null field in my attribute table on ArcMap such that when creating new features(through vectorizing) and populating the fields, it gives and error if the field value ...
1
vote
1answer
24 views

Layer property refuses to act as anything other than integer when named “SERVICE”

I've been trying to add a new property to a vector layer named SERVICE, this property should be a string. I am able to create this property no problem, and the type is stated to be QString in layer ...
0
votes
1answer
27 views

Adding attributes to CSV-file using PyQGIS

I am new to PyQGIS and I want to add one more field in my existed table. Here is my code: pointLayer = QgsVectorLayer(uri, 'my_layer', 'delimitedtext') pointLayer.dataProvider().addAttributes([...
0
votes
1answer
24 views

Resolving “Dictionary does not contain key” error applying function to feature collection in Google Earth Engine

I am adding two properties to each feature in a feature collection based on two images within each feature, currently represented as properties themselves. I got this feature collection through ...
2
votes
0answers
28 views

Editing shapefile adding fields with values with pyshp

I'm trying to add some fields to a shapefile using pyshp. The code I have to far is: import shapefile # Read in our existing shapefile r = shapefile.Reader(r"C:\...\Edit_SHP\TracksLines.shp"...
3
votes
0answers
148 views

QGIS: Using Filter expression for Drive Down Lists in Value Relation Widget

I have a vector layer and want to enable the user to pick values from drop-down lists. The values of the drop-down list change depending on the chosen value of the previous field(s). It works ...
3
votes
1answer
35 views

Summing values in Virtual Layer returns NULL

In a Virtual layer I'm trying to sum the values (real) on a table ('PESQUISA') but it returns NULL. What am I doing wrong? This is the code I'm using: select sum("renda_mensal") as sum from ...
1
vote
2answers
49 views

Making one field equal to another in the same Attribute table using Field calculator in QGIS

I am trying to have a new field with the same content of an existing field. In ArcGIS I would normally use the Field Calculator to make this instantly. In QGIS I have followed the same steps (create ...
0
votes
0answers
27 views

Conducting common-attribute dissolution ONLY on adjacent features using QGIS

I am working in QGIS. I have a shapefile of city parcels, which I am trying to dissolve where parcels have matching owners AND are touching. "Owner" is an attribute field. How can I ...
0
votes
1answer
30 views

Assigning values to empty field in attribute table

In my attribute table, I have a field with empty slots. Though, I want to add Christchurch to fill all of these empty slots for this one particular column. I have thousands of rows, and wish not to ...
-1
votes
1answer
21 views

GDAL command for selecting only certain columns

I am using the recent GDAL and QGIS versions. In order for a study project, I need to develop a batchfile with several commands in it. I have a shapefile with several columns which I dont need and ...
1
vote
1answer
42 views

How to ensure ArcPy CalculateField expression runs if one or more input shapefiles from workspace are missing a field referenced in that expression?

I have a basic ArcPy script that reads an input folder of shapefiles, copies them to a separate output folder, defines this output folder as the workspace and then performs a CalculateField action, ...
0
votes
1answer
19 views

Changing Field that Attribute Window orders Layers in using ArcMap

How do I change the field that orders the attributes? As you can see, STRUCT_TYP has the same value for each attribute. I would like to change it to STRUCT_ID. Is this possible using ArcMap? I've ...
1
vote
1answer
53 views

Properties and columns difference in GEE feature collections

What the difference between columns and properties in Google Earth Engine feature collections? When I build a new feature collection with a property directly in the code editor, when I print it I do ...
0
votes
1answer
24 views

How to remove attribute fields with _1 or _2 suffixes from shapefiles which have be created due to merge process?

I have a large number of archive shapefiles which need their attribute fields tidying. During their history they have gone through various merge processes, which have resulted in some of the ...
0
votes
1answer
46 views

PSelect Field if field_name contains string, then change that field_name, using PyQGIS

I am trying to select a field (column) in an attribute table for a shapefile based on whether the name of that field contains a string. Then, I need to either change the name of that selected field or ...
1
vote
1answer
13 views

Control visibility of specific fields of a PBF file

I downloaded a PBF file from GeoFabrik (OpenstreetMap data) and loaded it into QGIS 3.14. It gives me each a layer for lines, multilinestrings, multipolygons, points and another one called "other ...
1
vote
2answers
57 views

Add unique id to merged attributes tables QGIS

I need to find a way to stack up numeric id fields from two tables without duplications. To put it simply here is what I want to do schematically : Table 1 Id 1 2 Table 2 Id 1 2 3 Expected ...
0
votes
0answers
8 views

Retaining input information with raster overlay

I'm working in ArcGIS (version 10.7) on an unweighted overlay analysis of 15 green space functions that I would like to tally but also still retain the information for which functions are represented ...
0
votes
0answers
30 views

Semantic for encoding geometry-event relation in a spatio-temporal dataset

I'm assembling a database of spatio-temporal events; think deforestation for instance. I have different types of geometries that link to the events in different ways. I would like to encode that meta-...
0
votes
1answer
35 views

Arcpy ListFields field types different from Layer Properties

I'm trying to add some functionality to an ArcPy toolbox to check the column names and types of an input feature class. It seems that the types that Python uses are different from the types in ArcMap ...
0
votes
1answer
30 views

Join or intersect fields without creating new fields

GIS is not my full time gig and I’m a bit stuck. I have 2 layers, both with the same fields with the exception that my primary layer has extra fields and is based on a different set of polygons. How ...
3
votes
1answer
71 views

Changing fields name of an attribute table in a layout with PyQGIS 3

I have an attribute table in my layout, defined as follow : layout = QgsPrintLayout(project) layout.initializeDefaults() QgsProject.instance().layoutManager().addLayout(layout) pdf = QgsProject....
4
votes
1answer
35 views

Adding field by proximity using ArcMap

I'm using ArcMap with the Basic license. I have turnout gates (points) on or very close to irrigation facilities (lines). The irrigation facilities have a field for type (canal, pipeline, culvert, etc....
0
votes
0answers
83 views

Combining fields from different related tables to configure an ArcGIS Field Maps Form

I am trying to create forms for field data collection in ArcGIS Field Maps. I have four different related tables which are related to four different feature layers. I would like to create one form ...
1
vote
2answers
36 views

Substracting attributes of different layers [closed]

Can I subtract two attributes belonging  to two different layers? In this case these would be two polygons holding DEPTH attribute (Depth1 - Depth2).   Is this possible and if so how?
3
votes
1answer
37 views

Rearranging columns in table when using arcpy.CopyRows_management in ArcMap

I am creating a table from a geodatabase using a fieldinfo object. I can create the table, but I need the columns to be in a specified order. Is there a simple way to rearrange the column order ...
2
votes
2answers
41 views

How would I separate the time observed from this column and create it as a new attribute?

I'm using QGIS and I am working with a file in which there is a attribute "time_obser" that is written as yyyy/mm/dd time (ex:2019/07/13 19:47:45.000). I would like to create a new field ...
1
vote
2answers
79 views

Adding text field to attribute table

I am trying to add a text field to my attribute table in ArcMap, but every time I do it adds a string type field instead.I've tried turning off the Allow Null Values and shortening the Length, but no ...
1
vote
1answer
88 views

Removing fields in an exported table using ArcPy [closed]

I am using ArcGIS Desktop 10.6: ArcMap 10.6. ArcPy script within a custom toolbox. At the end of my script, I want to export the attribute table of a File Geodatabase Feature Class into a .csv file, ...
1
vote
1answer
48 views

Shapefile points, individual editing

I am very new to QGIS and have run into a problem dealing with shapefiles. Recently, I went into the field with an app for smartphones called 'SW Maps' that I used to create some basic layers for ...
4
votes
5answers
181 views

Is there a way to see all of the different values in each field?

I'm using QGIS. I have an attribute table that lists different land classifications under the "Land Type" column (agricultural, industrial, etc.). I don't know what all the land types are ...
2
votes
2answers
176 views

Merging multiple lines by value field

How can I join these lines depending on the Trigger field. The condition is as follows, the fields must be ordered in ascending order after the fid field from 1 to 68. Thus, I want to join all my ...
1
vote
0answers
46 views

Why do I get the error “OGR error setting feature:5” while changing the attribute of the layer?

Getting the error while changing the name of one attribute in the point layer. Errors: ERROR: 1 attribute value change(s) not applied. Provider errors: OGR error setting feature 5:
7
votes
2answers
128 views

Getting my expression to process the text in field

I am building an expression, whose function is to return True if a characteristic is selected. The expression requires two arguments, the Feature and the name of the layer. If I enter the name of the ...
3
votes
3answers
230 views

How to calculate/update multiple fields at once using QGIS 3.10 field calculator?

In QGIS 3.10, i want to calculate multiple fields at once on more than 10 similar layers. I now i can do it manually, but I'm looking for an automatic way. I need something like this: "nomrue&...

1
2 3 4 5
27