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

learn more… | top users | synonyms

1
vote
1answer
106 views

Problem in long expression in field calculator

I am trying to compute the following expression with Field calculator. The input table values are around the size of this value: 562643580,7843, and the field name (the field of destination) is: ...
2
votes
1answer
263 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
105 views

How to delete Field From Shapefile by Arcpy [closed]

I am using the following code to delete a field from a shapefile but I am getting an error! def main(): # Import arcpy module import arcpy # Local variables: point_shp = ...
0
votes
1answer
38 views

How to Add Field Between Two Existing Field in Shapefile

Can you please let me know if it is possible to add a new Field between two existing field using ArcPy? For Example if I have "Name", "Area", fiels already in my shapefile can I add a new field called ...
4
votes
4answers
4k 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 ...
0
votes
1answer
106 views

Can I use a blob defined field to store more than 255 Text characters?

As the title states, i´m not sure whether I should/can use a blob field to store text. I need to increase the amount of text in a field to over 255. Is the blob the way to go?
0
votes
1answer
57 views

missing values w/ updatecursor and addfield - gp

I added a feature to my 'overloading' field update script which adds a new properly named field if there is no space left to append the value into the record. This appears to run well, however upon ...
1
vote
1answer
57 views

Field's name with numbers: why not?

I have tried to create field in TOC called with numbers with python. But, it has a problem: it couldn't do it because name's of fields are numbers. It is strange for me. When I do new field in shape ...
2
votes
0answers
45 views

Why is ArcMap deleting data from a field when I add a new one?

My copy of ArcMap 10 is acting pretty strangely. I have a shapefile and all I've done is added a new field as a FLOAT and for some reason all data in another one of my fields is being deleted! Does ...
3
votes
2answers
98 views

How to add iteration in model to join fields from several shapefiles into final one?

I have one grid (Atl1x1.shp) to which I need to add 9 Fields from 9 different shapefiles which are also grids (that is, 1 column from each shp, all with the same name). These shapefiles have the same ...
5
votes
1answer
375 views

How to check if feature class or table contains field with specific name before adding it?

Im trying to write a script that finds out if the shapefile has a specific field and if not to add the field. I get it to show me the field, but the loop goes through each field, so it would create a ...
1
vote
0answers
63 views

Russian in fieldname changing with Python in ArcGIS

Is there any way to rename fieldname in the attribute table of a layer/shapefile in ArcGIS 10.2 containing russian letters? If yes, is it possible to do it in a script?
2
votes
1answer
82 views

Python scripting for making rings from the city center

Problem description: I have two layers: 1) [Polygon] city blocks, and 2) [Point] the city center. The City blocks layer has 110,681 records. And The city center layer has just one record because ...
1
vote
1answer
178 views

Cursor Update Python Script for Multiplying Several Fields against a Ratio (Real) in ArcGis

Disclaimer: Python Neophyte, Uber-reliant on GUI, working to wean... I have a Python script for replacing multiple Field values with another table value that was graciously provided by the inimitable ...
6
votes
2answers
845 views

Maximimum length of text fields in shapefile and geodatabase formats?

The maximum text string for a field in a geodatabase is 320 characters. The data I am importing has long character strings and it seems to be truncating when I convert into shapefile at the max ...
3
votes
1answer
283 views

How to change the field value of a Shapefile using GDAL/OGR?

I am trying to change the field value of a shapefile. However it doesn't change the value. What's wrong with my code? import ogr driver = ogr.GetDriverByName('ESRI Shapefile') fn = 'dist.shp' ...
1
vote
1answer
331 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
368 views

What might cause “ERROR 000728: Field <fieldName> does not exist within table” in this code?

I have seen ERROR 000728 several times and I could never figure out why it happens. Here is a snippet from my code: str_Dissolve = arcpy.Dissolve_management(Intersect_str, ...
6
votes
2answers
673 views

How to specify fields to export from QGIS?

I'm using QGIS 2.0.1 and am connected to a MS SQL Server spatially enabled database (not ESRI). I am able to connect to the layer and load it into my TOC just fine. I have hidden a number of fields ...
1
vote
2answers
1k 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?
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 ...
0
votes
2answers
103 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 ...
1
vote
1answer
226 views

Updating the value of a field with pre-defined values

I am trying change the value of a row for a field whose type is "short" in arcmap using a python script. with arcpy.da.UpdateCursor(FILENAME, FIELD) as cursor: for row in cursor: row = ...
-1
votes
3answers
44 views

Calculate “CO_FIPS” field based on “COUNTY” field

I have several shapefiles with "COUNTY" already populated, I need to populate the "CO_FIPS" field based on the county. BREVARD = 009, BROWARD = 011 etc..
0
votes
1answer
110 views

How to get text field to show > 254 characters?

Is there away around the 254 character text field limit?
0
votes
1answer
41 views

Integer field name changes automatically

Last week I had imported some shapfiles into file geodatabase. It makes sense but when I checked table of the outputs I had found that some integer field names had been changed to other names. For ...
0
votes
0answers
78 views

How to add a field to a .zip shapefile?

I am exploring the possibility of using ArcGIS Online (Free Public Account and Explorer) with my new Global Studies students. (So far, the Free Public Account appears to be more user friendly and ...
1
vote
1answer
92 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 ...
-3
votes
3answers
857 views

How to add a field to a shapefile using R

This question is trying to make sense of a post that already exists that looks good, but is failing in practice. The second ranked answer uses the foreign package to read a shapefile attribute table ...
2
votes
2answers
64 views

How to travers fields of records without introducing them all in the function?

In my previous question I wanted to reach a field in the field calculation; however, it was pretty easy to introduce a few more inputs for that function. Now, I am facing a problem which needs around ...
1
vote
0answers
113 views

Why does inline variable output overwrite occurs with Reorder fields tool?

I am trying to use this Reorder fields modelbuilder tool but for some reason the inline variable (%name%) for the output gets overwritten with each file pass until the last one. Otherwise it works ...
0
votes
0answers
28 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 ...
0
votes
1answer
172 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.
2
votes
1answer
605 views

How to create a date field in QGIS shapefile

When I create a new shapefile in QGIS, I'm presented with the "New Vector Layer" window, where I specify the Shapefile type (Point/Line/Polygon) and am then able to create attribute fields. I'm only ...
0
votes
0answers
33 views

How to assigning multiple values (for single field) to a polygon layer [duplicate]

I am using arcmap 10 to generate a dataset that represents apartment building stock within particular suburbs. I have point data for the apartment buildings, with fields for the number of dwellings ...
3
votes
1answer
1k views

How to retain Field Name / Alias on Export of Table?

Is there a way I can modify the Field Name or to make him keep the Alias when a table is exported? Or is there a way to keep the Alias instead of the Field Name, when exporting for example to .dbf ? ...
3
votes
1answer
1k 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 ...
1
vote
1answer
124 views

Adding, Updating, and Deleting information from arcGIS Server

I am new to ESRI and GIS. I am starting to get into using client data. I have created maps and put them to the server using arcMap and arcGIS for Server. I need to know how easily I can access these ...
0
votes
1answer
248 views

qgis how to assign a field to map tips

I am a beginning user of QGIS 1.8. I cannot find the way to assign a field to 'map tips'. There seems to be no way in 'properties' of the layer to do so.
0
votes
1answer
109 views

Automatically changing field entry in related table when entering it in feature class?

I am working to try and develop a code or process that I can run that will allow me to automatically change an XY field in a related table when I change an associated XY field. Let me explain our ...
0
votes
1answer
193 views

Sort geometry + data table in ArcGIS with Permanently Sort Records (PSR) v1.0

When i run the algorithm gives an error: Order_ ASCENDING # # # # Start Time: Fri Mar 01 17:06:33 2013 000576 ERROR: Script Associated with this tool does not exist. Failed to execute (sortrecords). ...
4
votes
2answers
189 views

ArcMap: Calculate Quarter using Date field

I am using ArcMap 10.0 and making a map where I symbolize on annual quarter (i.e. Q1 2013, Q2 2013, and so on by quarter through 2015). If a date field contains this: 01/15/2013, and I wanted to ...
0
votes
2answers
1k 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
5answers
5k 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 ...
0
votes
0answers
58 views

Is there a way to permanently rearrange attribute fields in arc10.1 advanced? [duplicate]

Possible Duplicate: How to reorder fields (permanently) in a file geodatabase I have a numbered field in a table that is out of sequence and I wish to reorder the fields is there a way to ...
1
vote
0answers
44 views

Feature class field count caching issue

In our application, we exposed a custom file format to ArcScene through a custom plugin data-source. However, we experience some problems which we ascribe to caching issues. We generate a dataset ...
2
votes
2answers
1k views

rename feature layer fields

Guys and gals could you please provide me with a sample code as to how to rename a field name in a Feature Layer or Table. I've been trying to use the FieldInfo object to do so over the last couple ...
1
vote
1answer
723 views

Show Fields in infowindow from my custom layer

I want to display 2 fields from the POIData layer. What i get now is ${ToegangsNr} ${Baanvak} in text. Does anyone know how to do this in an DynamicMapServiceLayer. Thanks in advance POIData = new ...
11
votes
2answers
272 views

How to sort by multiple fields at the same time?

Is it possible to sort multiple fields at the same time in QGIS? For example, I'd like to sort a table by state name, and then within each state, sort by county name. This would be the same as the ...
2
votes
1answer
134 views

How to hide all fields at once in QGIS 1.7

Is there a way to hide all the fields at once in QGIS 1.7? I see where I can hide one field at a time but I would like a button which does it all at once.