Questions tagged [fields-attributes]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
37 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
18 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
38 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
21 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
39 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
10 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
52 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
29 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
33 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
26 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
59 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
32 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
35 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
29 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
51 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
69 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
47 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
176 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
163 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
35 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
122 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 ...
2
votes
3answers
162 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&...
0
votes
0answers
27 views

Text to date field conversion

in QGIS I created a point layer with a field which was initially set as text. For each feature, I wrote in that field a date: "yy.mm.dd". I then modified the field to "date" with a ...
0
votes
2answers
43 views

QGIS Atlas attributes

So I have two layers. First one is line layer (columns: id, length, address_id) and atlas is connected to it so when I change objects, map is zooming to next line. Secound is point layer (columns: ...
0
votes
0answers
14 views

Getting survey data into predefined database

I have some simple survey data for water lines that will be used to populate a predefined attribute table. I am a surveyor, not a GIS professional, and we have been asked by a client to deliver our ...
0
votes
1answer
30 views

Runtime error while adding a new field to the existing feature layer using Python

I have been trying to add a new field to one of my feature layers. And I keep getting an error and I can't figure out what is going wrong. I am attaching my code below for reference: When I changed ...
4
votes
1answer
103 views

Adding column with area values in attributes table with standalone PyQGIS

I would like to add an area column to the Attributes table using Python. I prefer not to use QGIS Python console. I would like to do that using cmd. How should I change my code? My code and error ...
0
votes
0answers
18 views

Why are there multiple symbol icons for the same feature type for raster field in ArcGIS?

Using ArcGIS 10.7 desktop. I manually entered general landuse types for a field I created. For some reason only some of the feature types are consolidating in the symbology while others are creating ...
1
vote
0answers
45 views

Feature class not visible in geodatabase after running Alter Field in ModelBuilder

I'm using ModelBuilder in ArcGIS Desktop 10.5.1. I have a simple model that clips and exports three feature classes, each to their own file geodatabase (law, fire, and ems). The model branches for the ...
0
votes
1answer
47 views

Extract some attributes in field to a new field in attribute table [closed]

I want to transfer in the TESTE field(img) only cities(strings) to a new field but but with the same numeral representation. Ex: |1| |Guimarães|; |2| |Porto|. @BERA and @Aaron I want that the final ...
0
votes
1answer
26 views

Feature selection list missing in editor Attribute window ArcGIS

Using ArcGIS desktop 10.7 The Attributes window in Editor identifies the selected feature. However, it is no longer showing the feature selection list. (The drop down menu on the right side of the ...
1
vote
0answers
61 views

QGIS: prepare data for timeline animation

I have a data-spreadsheet containing a value-attribute that changes over time for a number of administrative units. I have a polygon layer as well with features for each of the administrative units. ...
2
votes
1answer
46 views

Filtering out attributes fields of a vector layer using PyQGIS

I have a vector layer with 50 columns/fields. I have been trying to find a way of selecting 6 columns of particular interest (by name or index) and then creating a new layer from that selection, such ...
2
votes
1answer
76 views

Showing values in attribute table in scientific (exponential) notation in QGIS3

One of my virtual field contains too big numbers like "5994865699857.456". I need to show those values in scientific/exponential mode like 5.99E+12. I didn't find proper function in Field ...
1
vote
0answers
22 views

Data flow documentation tool

I am in the process of mapping the journey of our data through the different apps used by our service. We use an ArcSDE geodatabase as main data source. This data is viewed in ArcMap edited with ...
0
votes
1answer
32 views

QGIS how to activate the checkboxes of the constractions in the attribute form by Python code and add expressions?

I tried using this type of line for the edit form , but its only for versions 2.8 but I don't know how is for new version 3.0 including "Enforce not null constraint". formConfig = layer....
1
vote
1answer
82 views

Converting text field to date field in ArcGIS Pro

How to convert date, which is in text formated field to date formated field? Also, there is dates which have only year, without days and months and empty fields. I've tried Convert Time Field. But it ...
0
votes
0answers
17 views

Joining attributes via webmap hyperlinks

I have a parcel dataset from Henrico County Virginia but it doesn't include parcel owner names, which would be incredibly helpful in the analysis I'm running. The county has an online parcel webmap ...
1
vote
1answer
25 views

Overlapping buffer values to create new, dynamic risk profiles around hazardous equipment [closed]

My question is similar to Creating buffers with values, and finding areas with high value overlap of these buffers Using QGIS, I have several hundred points representing pieces of equipment, each with ...
3
votes
1answer
102 views

Converting list into field with PyQGIS

I am trying to convert a few lists into fields. I have no problem creating the fields. I just don't have any idea on how to fill them. if result: layer = self.dlg.comboLayerLine.currentData() ...
1
vote
1answer
29 views

Query Result message returns 0 rows but browser shows results

I am using the Layer filter tools in QGIS version 3.14.1 Pi. (Right Click on layer > Filter) The source data is a Mapinfo .tab-file on a Server. When I put in my filter query, "Field_name"...
0
votes
1answer
70 views

Setting a default value in a QGIS field stored in geopackage

I try to create a vector layer with some field values which should use a QgsDefaultValue. It works fine if I use an in-memory layer (useGeopackage=False) but fails (no default value) if I use a ...
2
votes
1answer
103 views

ArcPy can I delete the 9th column if I don't know its field name?

Is there a way to delete a field based on its number, rather than field name? For example, if the field name is FID_myshp I would do arcpy.DeleteField_management(newshp, ['FID_myshp']) but the name of ...
2
votes
1answer
41 views

Creating Virtual Layer with only desired fields

My question is very similar to this one. The difference being I want multiple fields where they wanted only a single field. I'm trying to create a virtual copy of my layer with only the following ...
0
votes
0answers
25 views

Open Layers get WMS Layer attributes without single click event

I am using javascript open layers v6.4.3 to load data from postgreSQL database. Here is my code to create feature layer and the click event to get identify feature: roads3Layer = new ol.layer.Tile({ ...
0
votes
0answers
49 views

QGIS 3.10.8 and 3.14 crashes when opening attribute table after setting up a photo field and using lay-out form with attachment widget

I am looking for a way to address the following problem described at GitHub. https://github.com/qgis/QGIS/issues/39063 I am looking for a repair method of the broken point layer, I mean a way that: ...
3
votes
1answer
144 views

Transferring attributes to neighbors in point layer using QGIS

My goal is to create a wind map for an area about 300 km² in QGIS. For this i have the data of only one weather station. The idea is to estimate the wind speed by the roughness lenght and the ...

1
2 3 4 5
26