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

learn more… | top users | synonyms

4
votes
2answers
840 views

Choosing Shapefile attribute data type to use?

I am trying to figure out when to use (in the Data Type of SHAPEFILE PROPERTIES) - TEXT - SHORT-INTEG - LONG-INTEG - FLOAT AND DOUBLE. I am using ArcView 9.3 and I know when it is all text or use ...
3
votes
5answers
4k views

Renaming a field using arcpy

What I need to do: rename a field name of a table/feature class copy all values to the new field So far I have done following code as artwork21 suggests: EDIT: import sys import traceback import ...
3
votes
1answer
826 views

Why does Field Calculator return 0 values when decimals are expected?

I realize I posed this question, and got answers, several days ago (see (Field calculator error)) , but none seem to really be working, and so am posing again. Below are two screenshots that show the ...
0
votes
2answers
949 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 ...
1
vote
1answer
49 views

Create and immediately update field using Field Calculator

You can create fields and once created, populate them with data using the Field Calculator. But can you do both at the same time using an expression? Or must you do it in 2 steps?
0
votes
1answer
2k views

How to change field formats in ArcGIS 10.1 geodatabase? [duplicate]

I am working with data in an ArcGIS 10.1 geodatabase. I wanted to complete the simple task of taking a ten-digit ID field that is currently in String/Text format and create an identical field in ...
1
vote
1answer
274 views

How to use UUID Generator in Qgis 2

I try to generate a UUID (edit widget) for a vector shapefile in qgis 2 but the field value is always NULL. Does the field requirea specific datatype? I used integer. In the manual I found the info ...
1
vote
1answer
81 views

How do I change the isNullable property for a field?

Once in awhile I encounter a field in my featureclasses that have their isNullable property set to No. Is there a simple way using python to correct this? I came up with this code, but ...
0
votes
2answers
102 views

Attribute Table Doubt in Qgis

I am having a shape file which consists of various fields for example: shape area ,shape length, locality, sub-locality,district etc.In my company they are demanding seprate shapefiles say for example ...
0
votes
0answers
27 views

Raster attribute field error [duplicate]

I am trying to add jpegs to a raster data type attribute field. I want to this field to be managed by the file geodatabase. When I load the photos and try to save my edits it get various errors but ...