Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
456 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 ...
Shahidul Islam's user avatar
2 votes
2 answers
6k views

Selecting certain fields from feature class to create new feature class in ArcPy?

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', 'COUNT'...
clarebare's user avatar
4 votes
1 answer
2k 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 ...
Pratrick's user avatar
2 votes
1 answer
2k views

Change length of string fields in featureclass using arcpy v10.1

I am trying to edit the length of all the text fields in a feature class. The feature class has a lot of fields so I want to do this in python. I only have access to v10.1 so cannot use the ...
ASeaton's user avatar
  • 164
5 votes
2 answers
3k views

Getting all (or selected) values from single field in table using ArcPy?

I'm looking for a way to get all of the values from a single field in an ArcGIS table. Reasons for doing this might include pasting the values into a text document or SQL where clause. Since ArcGIS ...
RyanKDalton's user avatar
  • 23.2k
4 votes
1 answer
990 views

Changing Field Name/Apply Symbology from layer using ArcPy?

Using ArcMap 10.1, I want to use the Apply Symbology From Layer tool, however my field names are not the same. I'm having trouble understanding how to change the Field Names in a layer. I tried the ...
Katherine's user avatar
2 votes
2 answers
1k views

Ignoring field types in Python list returned by arcpy.ListFields()?

I am generally just wondering if there is a nice and easy way in python to ignore all fields of a specifiy type (eg string) in a feature class. At the moment I am doing it with field_names = [f....
user3476078's user avatar
0 votes
1 answer
375 views

Convert field types in GDB with Python

I want to create a python script (ArcGIS 10.1) where I loop through a GDB with several feature classes and select all the fields which are of text type and convert them to float type. I always want ...
user3476078's user avatar
0 votes
2 answers
477 views

Generate Service Area Polygons with Field(s) Added

Does anyone know of a way to generate service area polygons which, when created, maintain a field from the feature class from which the polygons are generated? For example, if I am generating a ...
sdchris85's user avatar
0 votes
2 answers
2k views

Combine string and OBJECT ID

I would like to update the Map_Feature_ID field with a String " WP_" and then follow the "WP_" with the OBJECTID field. So I will end up with "WP_1", "WP_2" all the way to the end in the Map Feature ...
Dean van den Heever's user avatar
2 votes
1 answer
1k views

Converting layer with symbology using multiple attributes to KML file using ArcGIS Desktop?

I'm trying to convert a point feature layer with a symbology that uses multiple attributes (a color-scheme attributed to the percentage of positive malaria cases and a symbol size attributed to the ...
Chris's user avatar
  • 21
5 votes
2 answers
1k views

Split one field into 3 fields?

I need to split the values in a field according to what they represent to be able to do a join on the data. As seen above I have a ID field that needs to be split into the following: The ID consist ...
Dean van den Heever's user avatar
8 votes
2 answers
638 views

Clean up attributes

I want to clean up the attribute table of a road shapefile for all the entries in the fields. For example: As seen below I have a road feature with a "Name", Name From and Name To in the attribute ...
Dean van den Heever's user avatar
8 votes
4 answers
30k views

Python Script to Add Fields to Feature Classes

I have to try to add a field called 'Name' to a bunch of different feature classes using python, and then access the name of the feature class to fill in the field. I have no idea how to even start ...
EmilyF's user avatar
  • 429
4 votes
1 answer
374 views

Getting ListFields from Autocad DWG using ArcPy?

I am trying to get LisfFields from AutoCad DWG, to arcpy Add-In, i have tried mxd = arcpy.mapping.MapDocument("CURRENT") Layers = arcpy.mapping.ListLayers(mxd) for Layers in Layers: ...
mahmoud hageer's user avatar
3 votes
2 answers
6k views

Copying annotation feature and pasting within same layer?

I am having trouble executing a very basic command which is to copy and paste an annotation within the same layer in ArcGIS 10.1. First, I created an annotation class, then created one label (a ...
Dre's user avatar
  • 337
0 votes
1 answer
1k views

Field Calculator not showing some fields

When I open my attribute table, click on a column, and select Field Calculator it opens and doesn't list all of the Fields in my attribute table. Why can't Field Calculator find these Fields?
user26142's user avatar
2 votes
1 answer
93 views

Control geoprocessing results related to default data values calculated for null inputs [closed]

I am looking for information on Default data values for the different data types in ArcGIS. We are running a series of Overlay Route Events (Linear Referencing) tool operations. If any of the values ...
Justin's user avatar
  • 3,398
1 vote
2 answers
4k views

Summarizing data using ArcGIS Desktop?

I am relatively new to GIS and am facing some difficulties trying to summarize/pool data together. I've attached the file to make it easier. FID_pc11_1 (Refers to postcode identifier) and count ...
user32581's user avatar
2 votes
2 answers
3k views

Invert Deleting multiple fields with delete tool in ArcGIS Desktop?

I am using ArcGIS Desktop 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 ...
user32330's user avatar
1 vote
1 answer
999 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 ...
user32329's user avatar
1 vote
1 answer
744 views

Arcmap: a different delimiter when symbolizing "Unique values, many"?

In Arcmap 10.1, is it possible to use something other than a comma to separate the value fields when symbolizing by "Unique values, many"?
Lee's user avatar
  • 11
2 votes
1 answer
475 views

Showing attributes of multiple parcels on one layout using DDP with dynamic text? [duplicate]

I am using ArcGIS 10.1 for making maps showing the distribution of parcels and their attributes in a given area. I am working with anywhere from 20 to 50 parcels in a set, sometimes more. I often use ...
Jmcguire's user avatar
2 votes
1 answer
1k views

Using List field function for Python script tool?

I am trying to write a simple script for a toolbox, similar to the Addfield_datamanagement toolbox. The script adds a new field to a table of a feature class or a shapefile with attribute tables. So ...
Josh's user avatar
  • 21
0 votes
1 answer
403 views

Attribute names being truncated during extraction

I have 30-40 raster layers and each raster has approximately 40 columns. The attribute/column names are very long, and the beginning of each column name is the same. During the extraction process, ...
derelict's user avatar
  • 1,455
3 votes
3 answers
5k views

Field format lost when exporting events layer to shapefile - long field type converted to double

I have a MS Access 2010 database with about 80 000 records in it. It is point data for animal locations. I would like to bring this into GIS and project the data into lambert conformal conic. I am ...
Nova's user avatar
  • 235
1 vote
2 answers
835 views

ArcGIS Find and Replace attribute search error

I am editing a vector layer in ArcMap 10.1 in the attribute table the no data value for some of my fields is -1.7976931348623157e+308. I would like to replace that with 0. I attempted to use the Find ...
falcs's user avatar
  • 1,111
1 vote
1 answer
16k views

Changing field formats in ArcGIS 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 Long/...
mikeLdub's user avatar
  • 1,235
6 votes
2 answers
2k views

Clip polygons with other polygons based on matching attributes

I have two shapefiles, one which contains event locations and the the other of which represents regions where events take place. Events polygons with year and region_name attributes Regions polygons, ...
ASGM's user avatar
  • 165
0 votes
2 answers
9k views

ArcGIS Attribute table appears empty until features are selected

I have a multiple layers that show features in the data frame and the layers are editable and labeled, but when you open the attribute table for these layers, it's empty. The only way to get the ...
Brock Steven's user avatar
5 votes
3 answers
18k views

Avoiding General function failure and deleting table field in ArcGIS Desktop?

I am trying to delete a table field: From ArcMap table view, I right click on the field heading and select Delete field. Unfortunately, I obtain the following message: Failed to delete the selected ...
julien's user avatar
  • 10.3k
2 votes
6 answers
2k views

Only Capability appearing is Feature Access

I was wanting to know if anyone could explain why the only capability showing when I try to publish an ArcGIS Service is Feature Access (Picture Below). I am needing to create a service that will ...
JLott's user avatar
  • 413
0 votes
1 answer
2k 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.
Andrew Yost's user avatar
3 votes
5 answers
9k views

ArcGIS Field Calculator returning 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 ...
David Meek's user avatar
0 votes
1 answer
93 views

Compare features attribute

I have a polygon layer and each polygon has the MEAN elevation as an attribute. I want to write a python script to loop through each polygon and compare its elevation with its neighboring polygons. If ...
Yaya's user avatar
  • 9
16 votes
3 answers
13k views

Exporting only certain columns to CSV file in ArcGIS for Desktop?

I've written a python script using arcpy which outputs a polygon feature class into a File Geodatabase. I have added a function to export the attributes to a separate CSV file. I am using the code ...
Fezter's user avatar
  • 22k
8 votes
2 answers
3k views

Deleting all fields from feature class with ArcPy?

How do I delete all of the fields from a feature class in a simple way? I don't want to loop over the fields using the Delete Field tool because this method is very slow in ArcPy. I am using a ...
geogeek's user avatar
  • 4,604