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

learn more… | top users | synonyms

0
votes
0answers
8 views

Custom editor tracking field not in select list

We have a versioned sde database in ArcGIS 10.3.1 and Oracle on the back end. And we have features with editor tracking turned on based on customized editor tracking fields, such as "CREATEDWHO","...
0
votes
0answers
19 views

How to reorder field in a file geodatabase without creating a new feature class? [duplicate]

I have a Script(toolbox) to reorder the fields into a file geodatabse and the output is a new feature class with fields in the order specified, is there any way to replace the existing feature by the ...
1
vote
0answers
25 views

QGIS - Get unique values over multiple fields

For creating a legend of a map, I need to get a list of unique values over multiple attribute columns of a layer. I know how to get a list of unique values within one column - is it possible to get a ...
0
votes
0answers
19 views

Is there a way to symbolise a shapefile based on the most recent attribute?

I am working with a large number of sites (300+) which have had surveys carried out on them over the last ~3 years which are scored as Low, Moderate and High. Some of these sites have been surveyed ...
0
votes
0answers
12 views

Mosaic Dataset Footprint Field ordering

Is there any to order the Foot Print fields created in Raster Mosaic Dataset? I know, we can edit, or reorder fields of any FeatureClass, or Shapefile using X-Ray ArcCatalog, ArcGIS Diagrammer., ...
1
vote
1answer
32 views

Field list in combobox in pyqgis

I'm new to pyqgis and I'm tryig to make a combobox with list of fields (from layer also selected in combobox). layers = self.iface.legendInterface().layers() layer_list = [] for layer in ...
0
votes
0answers
19 views

Time formatted cells turning values into zeros

After setting time format in one of the attribute table fields and filling in all cells, then saving, closing the table and reopening again, everything seemed OK. At a later moment all time values ...
1
vote
0answers
39 views

Local variable 'value' referenced before assignment: qgis function editor

I customized a function to edit my attribute table. It was working well but now when I used it again my qgis crash or I receive bad answer. The answer of Qgis: My code: from qgis.core import * @...
1
vote
1answer
22 views

How can I create a numeric field (not ObjectID) with a unique number for each record?

I need to do some analysis in ArcGIS, export the data to Excel, do some more analysis, import the results back to ArcGIS, and join the resulting table back to one of the original feature classes. Am I ...
3
votes
2answers
82 views

Remove fields / colums with zero “0” values in shapefile

I'm working on different project each day. At the end I would like to delete the fields that have zero "0" values in. The fields with the zero's will differ from project to project. So the model ...
1
vote
1answer
37 views

Deleting required field from ArcGIS Diagrammer?

while creating a feature class in ArcGIS Diagrammer I set the field id_feature_class as required and as type= text now I want to change text to integer but I can't it's telling me id_feature_class is ...
3
votes
1answer
37 views

Unable to create field for PostGIS layer. PYQGIS

I'm having some troubles to create a new field in a postgis layer.This is the code I'm trying to use, but nothing happens, no field is created: from PyQt4.QtCore import * dbnam = "pruebapython" uri =...
1
vote
2answers
67 views

Parse multiple field in field calculator using python

I'm trying to fill a blank field depending on the contents of three other fields using python in the field calculator. Sample code is something like: def getClass(Text1,Text2,Text3): if Text1 is ...
3
votes
1answer
68 views

How to Add Name of Different Category in Attribute Table

I'm stuck in a problem when I started calculating area in arcmap 10.1. In the picture, I categorize my polygon into four unique labels - i.e. vegetation, sand fill, water body, built-up area. Now I ...
1
vote
0answers
36 views

Auto populate a field in the attribute table with unique IDs

I am a GIS specialist for an engineering company and I am setting up Arc Collector on ipads for field workers. The field workers go to residential properties and collect soil samples. Each property ...
1
vote
1answer
45 views

Why is QGIS 2.14 automatically changing field type when saving layer?

I'm creating shapefiles with specific field types (i.e. ID: integer, NAME: String, CODE: integer, etc.) using QGIS 2.14.0. When I save the layer using "right-click" - "save as" and load the newly ...
1
vote
1answer
88 views

How do I fill a Field Combo Box with vector layer fields in QGIS?

I am new to python and I am trying to write my first plugin for QGIS. Earlier I asked this question to find out how I could populate a combobox with point vector layers (and nothing else). I've been ...
11
votes
1answer
199 views

QGIS, Populate field with self-updating formula (like spreadsheet)

Is there any way (plugin, or otherwise) to put a formula as the value of a field, which would then self-update as the other fields it is based on are adjusted? Exactly the way field-calculator updates ...
1
vote
1answer
45 views

QGIS Autofill Column help?

I'm working on a soil project and I am trying to add a new field that is called Drainage which is correlated to all of the different soil types (which is a different field). Is there an easy way to ...
1
vote
1answer
49 views

Populating label fields in print composer

Is it possible to fill text fields in a print composer template using data saved in a csv file? For example, every template I create has the same fields which I always have to manually enter: Client ...
8
votes
1answer
221 views

Setting a default value in a QGIS field

I would like to add in a layer's field a default value. I mean, every time a new feature is created, that field would be automatically filled with the default value. In my case the default value ...
0
votes
0answers
58 views

Using iterator to interpolate across multiple fields of attribute table using ArcPy? [closed]

I interpolated precipitation data in ArcMap 10.2 using a surface-fitting tool [e.g. Global Polynomial Interpolation (GPI)]. I built a GPI model using ModelBuilder in ArcGIS 10.2, but the model only ...
2
votes
1answer
65 views

Can I control what field comes up first in the Identify Results window in QGIS?

My shapefile has 20 fields in the attribute table. When I click "Identify results", the third text field (Welsh_Name) comes up first. Is it possible to change which field comes up first (at the top ...
6
votes
1answer
113 views

How to delete fields from a Geopackage attribute table?

Using QGIS 2.14.0 on a Microsoft Surface Book with Windows 10, I created a geopackage from a layer using Save As... I can successfully add a field to the geopackage's attribute table, calculate ...
3
votes
2answers
186 views

Remove duplicates from a field

I need to remove duplicates from a field named "Intersecti" Here is my code. I used list..set. It's not removing any duplicates. import arcpy duplicates = "G:\\xStreetNew\\Duplicates.shp" ...
0
votes
1answer
31 views

Automatic marking or tracking of edited features

I'm working with ArcMap 10.2. What is a good way to mark or find edited features in order to keep track of them without manual field updating? Is there a way to have ArcMap automatically update a ...
1
vote
1answer
73 views

Arcpy get values in the 2nd field of every table in a geodatabase

I have a geodatabase in Oracle with around 50 tables. I want to get the values in the 2nd field of every table in my geodatabase. I will be using the values in the 2nd field as an input for a ...
2
votes
1answer
46 views

How to select certain fields from a feature class to create a new feature class

I am stuck on how to create multiple features classes from one feature class using a select few fields. I have the following attribute table for a shapefile. I would like to select the 'USAF', '...
2
votes
2answers
46 views

How can I alter the value field in a raster?

I'm using ArcGIS. I have a raster with angles in the value field. But the value field is type long integer. I would like to change it to float. Is that possible? Some more details: I've started with a ...
0
votes
0answers
9 views

Altering old AXF before importing back into ArcSDE?

When we exported an AXF, the editable layer had all its fields turned on. When we bring it back in, months later, even if a field wasn't set up for editing outside the office, the values in the field ...
1
vote
1answer
23 views

Tool validation to filter out OID and geometry fields?

I have a python script tool (arcpy) in a standard toolbox that edits data in fields, but I want some code in tool validation that would make sure that when the user gets to the field parameter, the ...
1
vote
1answer
38 views

Truncate a Shapefile field with SQL and ogr2ogr

I want to create a new attribute which is the first 8 characters of another, using ogr2ogr. To my surprise, this didn't work: ogr2ogr -f "ESRI Shapefile" a.shp b.shp -sql "select FID,left(FLOORKEY,8) ...
0
votes
0answers
17 views

Add field, if not alredy exist. Else do nothing [duplicate]

I want to develop a python code that: Enters a shapefile. Determines all its fields and, if among these fields there are some missing from a certain list, it add them. An example may be easier to ...
1
vote
3answers
36 views

Dissolving while retaining field informations in the same entry instead of multiple entries

I have 1520 covenants. Many covenants have more than 1 VM symbols attached to it, currently showing as rows. EG. Covenant #97 has 4 VM Symbols, with the VM Symbols 1, 67, 117 and 171. How do I change ...
1
vote
1answer
45 views

What is causing these strange results in the Layer Symbology?

I am using Arc 10.3.1 and I have a feature class with various INT fields that hold values for number of defect type found in this polygon. Here is an example of my table: Now when I go to the ...
3
votes
2answers
217 views

ArcGIS python “add field” and “calculate field” workflow

I am new in Python and I am creating a Script. I've crafted a functional code, but I'd like to know if there is an easier way to do it, just for curiosity (And learning new ways!). The purpose of ...
2
votes
1answer
58 views

Change shapefile field names using ogr AlterFieldDefn

I need to change field names of a shapefile to upper case using ogr. I want to do this automatically, versus calling out each field and replacing the name with upper case. When I try to implement ...
1
vote
1answer
67 views

Removing Trailing Zeros from Numeric Field in ArcMap

Working with a feature class in an enterprise GDB (SQL Server) which has a numeric field with type Double - precision 10, scale 3 - but is displaying trailing zeros on a lot of the values e.g. 265....
4
votes
2answers
240 views

How to create in QGIS shapefile a field that automatically returns the current date

I'm digitizing a shapefile in QGIS and I need to create a field that returns automatically the current date.
1
vote
1answer
58 views

Is it possible to change the precision of a field in the attribute table in ArcMap? [duplicate]

Is it possible to change the precision of a field in the attribute table in ArcMap? I have a shapefile with X and y coordinates of pointlocations. I would like to change the precision. Is this ...
2
votes
1answer
89 views

Virtual fields are lost when duplicate layers

I've just upgraded to QGIS 2.12.3 - and hoped that the issue which was really time-consuming in 2.12. <3 could have been solved ... On duplicating layer - with tons of joined tables and virtual ...
4
votes
2answers
129 views

How can I delete multiple field attribute values from an attribute table?

I have a Centerlines feature class to which I transferred attributes from an AddressPoints feature class, and now each centerline has the correct street name but also a street number which I don't ...
0
votes
0answers
25 views

Drag'n'drop form fieldset to Openlayers map or viceversa

I tried to google if somebody would have tried this but all I could find was drag'n'drop functionality for available markers. I would like to use dynamic form for creating eg. title and description ...
2
votes
4answers
105 views

Calculate Length Totals in ArcGIS based on field values

I am having trouble finding the right words to describe this problem but here goes: I have 3 values (120,270,380) in my field called operatingvolt for every segment of conductor. Each segment of ...
5
votes
1answer
79 views

Troubles Updating Values of Selected Features with PyQGIS

I'm trying to modify the values of some selected features. I have written this small script, but nothing happens when I run it. Is there something that I've missed? Here is my code. lyr = qgis.utils....
1
vote
1answer
112 views

Trying to increment a field value for only the repeated records in a feature class using Python

NOTE: If you look at the excel tables just above the comment section it will give a clearer picture of what I want to achieve in my code. So the code below works in doing what I want it to do thus ...
0
votes
0answers
19 views

Loss of Polygon area field when creating a hosted service from a layer in ArcMap?

My work team is planning to work with data from the ArcGIS Collector app in excel (exported from ArcGIS Online as a .CSV) and require the area of each polygon feature for later analysis. When our ...
1
vote
0answers
21 views

Is there any standard or source of information to check for valid ranges and accuracy of each information conveyed in NMEA format ?

Currently I am reading IEC 61162 Nmea 0183 standards document. In there there is not information about valid ranges of some values or precision of data fields in nmea sentences. Is there anywhere that ...
1
vote
1answer
72 views

Duplicate a layer applying a filter in QGIS

Is there a way, using Python, to duplicate a layer in QGIS as many times as the single occurrences of a variable contained in a field and with a filter applied on the duplicated layer based on the ...
4
votes
1answer
81 views

Rename field QgsField is not valid

In pyQGIS i tried this code (contains also debug prints): def joinLayers(inputlayer, layer, index_field, name = "JOINED", dataProvider = "ESRI Shapefile"): a = [] b = [] outpath = getPath(...