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
18 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., ...
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 ...
4
votes
2answers
153 views

Looping field name change in ArcPy?

I need to alter all of the field names through multiple feature classes. I have a pretty good idea of which tools to use but I'm not sure how to loop them through each feature class and each field. ...
3
votes
2answers
81 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
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 ...
5
votes
1answer
216 views

Extracting partial data from one field to another using Python Parser of ArcGIS Field Calculator?

I am attempting to extract a date stamp that is contained in one field and insert it into another field. The issue is that the date (in bold below) is not in the same location in each line of the ...
0
votes
1answer
219 views

Field parameter in Modelbuilder - empty?

I have built a model, as input parameter I have a 2 parameters: a Feature Layer and a Field But when I run the model, the Field-Parameter has no values to select. How can I tell the model builder, ...
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 ...
1
vote
2answers
66 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 ...
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
3answers
3k views

Changing field type with ArcPy?

What I need to do is change data type of a field of a table or feature class. If there are some data, then I need to transfer it, if its possible, if not possible then just set null for that data. I ...
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
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 ...
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 ...
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
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 ...
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 ...
10
votes
5answers
27k views

How to Change Field Name in ArcGIS 10.2

Can someone please let me know how I can change the field names (not the alias) in ArcGIS 10.2. I already found this page on ArcGIS support: "Renaming shapefile fields (Defense Mapping)" but there is ...
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 ...
3
votes
1answer
2k views

How to copy values from field to another using arcpy?

Can some one please let me know how I can do simple field calculation like Copying From "A" to "B" in ArcPy? I have found lots os example on web which they all used extra expression and they were ...
0
votes
1answer
412 views

Copy feature class to feature class in loop and a list of fields in modelbuilder

I have a several file geodatabase with seven features in it (polygon). I want to copy them to a new feature in a other empty file geodatabase (instead of deleting the fields...had same problems with ...
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
111 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 ...
1
vote
0answers
80 views

Creating new field in Raster Attribute Table with corresponding values from another raster

I have a raster layer that represents surface temperature for the State of Arizona. I also created a raster using the interpolation function to represent air temperature for the State of Arizona. I'm ...
0
votes
1answer
739 views

how to create a new raster from one field of a raster with several fields in a RAT

I have a raster with an attribute table containing many fields. I want to create a new raster from one field using ArcGIS 10.1.
3
votes
1answer
180 views

How to use QGIS Graphical Modeller to join specific fields?

I wish to join one field from a shapefile to another shapefile within the QGIS graphical modeler. I am aware that there is a 'Join attributes table' algorithm but this joins all of the fields from the ...
4
votes
2answers
5k views

How to delete multiple fields in an attribute table?

Is there a way to select multiple fields in an attribute table and delete them together in Arcmap without writing the script?
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', '...
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 ...
2
votes
2answers
130 views

Formatting SQL expression for calculate field (management) tool?

I am trying to take the population census tract and calculate the percentage of population by each census tract in the field (Populati_2). To do this I'm creating a new field with the total sum of the ...
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 ...
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 ...
2
votes
3answers
407 views

QGIS joins 2 FIELDS

I have an excel with 4 columns (Region; District; village; number of cases) Have a shapefile with dots for villages with many columns including (Region ; District ;Village) I want to plot the cases ...
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) ...
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 ...
2
votes
1answer
70 views

Searching for fields in geodatabase and adding them if they do not exist with ArcPy?

I have a list of files that need to be present in my featureclasses - myFields[]. I need to add these fields if they are not present in my FeatureClasses. import arcpy myField="Field01" myFields = [...
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
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 ...