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

learn more… | top users | synonyms

1
vote
1answer
32 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
47 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
3answers
2k 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
67 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
76 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
28 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
44 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
195 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
48 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 ...
0
votes
1answer
212 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, ...
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 ...
9
votes
5answers
26k 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
197 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
406 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 ...
0
votes
0answers
49 views

Python script iterator to interpolate accross multiple fields of attribute table

I interpolated precipitation data in ArcMap (ver. 10.2) using a surface-fitting tool [e.g. Global Polynomial Interpolation (GPI)]. I built a GPI model using model builder in ArcGIS 10.2, but the model ...
2
votes
1answer
57 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 ...
5
votes
1answer
99 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
79 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
715 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
172 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
184 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
70 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
43 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
116 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
39 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
382 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
36 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
32 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
68 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
16 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
199 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
47 views

Loading Features prompt in QGIS?

I'm currently working on a dataset with 3.8m records. I have a very simple expression to update a field that I want to execute using the Field Calculator, while having the Attribute Table open. Do I ...
2
votes
1answer
53 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
61 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
223 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
51 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 ...
4
votes
1answer
69 views

New field names after joining 2 tables in QGIS

When joining two files (A.csv and B.shp with a common unique ID) in QGIS the new fields in B.shp (from A.txt) include the name of the field + the name of the file where it comes from (A). For example ...
2
votes
1answer
86 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 ...
1
vote
2answers
808 views

How to Invert Deleting multiple fields with delete tool in ArcGIS 10.1 SP1

I have a feature (polygon) with nearly 60 fields in it. Now I want to delete all fields except 20(or a list of) and they are not one after one, no they are somewhere in the droplist. But to select for ...
4
votes
2answers
127 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 ...
2
votes
4answers
100 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 ...
0
votes
0answers
23 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 ...
1
vote
1answer
109 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 ...