Use this tag when ArcGIS 10.1 is the version you are using from the ArcGIS platform.

learn more… | top users | synonyms

-1
votes
1answer
104 views

ValueError: Layer: Unexpected error from replaceDataSource()?

I'm trying to write a script that allows me to look through map documents and replace each layer's data source in each map document. Everything is working logically I believe, and all my loops are ...
0
votes
1answer
42 views

Layer still in map after running arcpy.mapping.RemoveLayer?

I'm trying to run a script that removes a group layer from a set of map documents, the code runs and the correct zone to be deleted prints out, However, when I check my map documents, the layer is ...
0
votes
1answer
90 views

AssertionError: Invalid MXD filename from arcpy.mapping.MapDocument()?

I'm trying to write a script that allows me to list the layers of each map document in a folder. However I keep getting this error after it displays the layers in the first map document: Traceback ...
0
votes
3answers
91 views

AttributeError: 'unicode' object has no attribute '_arc_object' from arcpy.mapping.ListLayers?

I'm trying to write a script that allows me to list .mxd files in a folder and then list the layers in each map document, however, I keep getting this error: Traceback (most recent call last): ...
0
votes
1answer
72 views

ArcPy saveACopy method saving copy of MXD to wrong path?

I have a script that looks through datasets in a geodatabase and copies a mxd document to a folder. The programs works, however it is saving the map documents to my desktop and not the specified ...
1
vote
1answer
25 views

Is there a Batch Add Description option or script?

I like to make Layer Packages for our group as this keeps things consistent. One holdup in making my packages is the requirement for all layers to have a layer description in the General Layer ...
0
votes
1answer
55 views

copy related table data into a single field in an attribute table

I have a featureclass of cities and a separate table of city administrators (multiple administrators for each city) and related contact info. What I need to do is consolidate all city administrator ...
0
votes
4answers
81 views

Python code executes but nothing happens [duplicate]

I'm trying to write a script that looks into a database and lists all the datasets that begin with zone. The script then enters into a for loop and copies a map into each on the datasets listed. The ...
1
vote
1answer
49 views

How to display steep slopes with the use of Contours?

I am using Arc Map 10.1. I have downloaded contour data as a shapefile. Is there any way to use the contours to display steep slopes so 15%-25% or 25% and greater.
1
vote
1answer
50 views

How to get a total amount of cells per classification type in a raster in ArcGIS 10.1?

I did an supervised classification for for this watershed. The attribute table doesn't have the count for total number of cell for each classification. I've created a field titled 'Count' with type ...
1
vote
1answer
48 views

Trouble display Chart in PDF exported from ArcGIS

I am using ArcGIS 10.1 and we have MS Office 2013. I am not sure if this has a lot to do with the MS Office 2013 that ArcGIS 10.1 doesn't read...So I am sharing this with you all... When I set it up ...
0
votes
0answers
63 views

Copy features to dataset in a loop

I'm trying to write script, that looks at the feature classes in a geodatabase and depending on what the feature class ends with, it creates a new dataset in the geodatabase and copies the file into ...
1
vote
2answers
36 views

Re-numbering points along a polyline

Using ArcGIS 10.1 for Desktop. I created perpendicular lines along a polyline. In the process of doing that, the lines were numbered in order (automatically). I manually edited some of the ...
1
vote
0answers
33 views

Pivot Table not displaying in ArcGIS?

When I performed my pivot table in MS Excel and then made a chart of it and I am trying to copy and paste it to ArcGIS and it is not displaying at all... Is there a work around to do this ?
3
votes
0answers
45 views

point feature to raster with count of unique points

I am using ArcGIS 10.1 with Python 2.7 I have a point layer with thousands of points that each hold an id value of its owner. One owner can have multiple points, meaning that points can have the same ...
2
votes
2answers
78 views

Select Layer By Attribute to be used in for loop

I'm trying to iterate through a feature class and select each feature one by one by using the OBJECTID field. When I use a single value, the SelectLayerByAttribute works, but how do I compare the ...
3
votes
1answer
77 views

Is scientific notation in ASCII grid files non-standard?

I have an application that creates ASCII grid files (Arc/ESRI-format). For the actual cell values, the quantities I am dealing with are sometimes very small, and so it writes these out in scientific E ...
0
votes
1answer
49 views

Publish geoprocessing service on ArcGIS for Server?

I am following the instructions described here and I have some enquiries about publishing a GP service. First of all, how should I publish a GP service on a production environment where the database ...
0
votes
1answer
33 views

combine two FOR LOOPS (MakeFeatureLayer_management)

I want to combine two FOR LOOPS but I have no idea how. It should give me in each TYPE Layer "under" Layers, where are new Layers for each MONTH (see picture) The two loops in itself works. # ...
0
votes
1answer
32 views

creating a new layer based on colour characteristics

I have 14 polygon layers. I have plotted them as transparent layers, so I can get a final layer with 6 different colours, which represent different categories. I want to create a new layer made by the ...
2
votes
2answers
73 views

Merge layers and fill gaps

I have 14 layers, which are polygons. They represent the channel of a river at different periods. I need to fill the gaps that exist once I overlay the polygons, but I can't change the properties of ...
2
votes
1answer
45 views

Using a colour wheel as a colour ramp for displaying directional data in Arcmap

I would like to define a colour ramp for displaying direction data in a 'smooth' fashion. So for data in degrees there wouldn't be a jump in colour between 359 and 0 degrees. It seems to me a colour ...
0
votes
1answer
41 views

ArcGIS Server security settings via script

Can anyone point me to a method for setting a service, folder, or the site root security setting to public via script? It can be using one of the admin tools (e.g. ...
0
votes
1answer
49 views

How to set the map extent so as to show conccurently all the features included in different map layers

I want to load may diffent layers on my map using the ArcGis JS API. I want to set my map's extent so as to show all the features of all the layers concurrently. In other words I am looking for the ...
0
votes
1answer
60 views

Understanding desc.fields

First time poster so I hope I did this right. I'm relatively new to Python scripting and am trying to understand the error I'm getting. I have the following simple code and what I don't understand is ...
0
votes
1answer
110 views

How to open .ovr files in ArcGIS?

raster data i have downloaded from CGIAR, Which contains .ovr files. It is not opening in Arcgis. How to open .ovr files and how to process them?
0
votes
2answers
123 views

How to concatenate row values with Python?

I want to concatenate a row who have the same src_Refname value ! like in the picture and get like this : is there any easy way to do it ? on using the tool described in the link, i try to ...
1
vote
1answer
58 views

Creating TIN in ArcGIS for Desktop?

I am upgrading from Arc View 3.1 to ArcMap 10.1 - I have multiple lidar (bare earth) .txt files (x,y,z) that I would like to use to create a "TIN" (or is it Terrain Dataset in 10.1) and then contours ...
1
vote
1answer
114 views

Mirror two data frames

Is it possible to link two data frames so that they mirror each other? I know I can set the extent of one data frame to that of another data frame, but then you can only pan/zoom in the parent frame. ...
4
votes
2answers
98 views

Performing a 'far analysis' using ArcGIS for Desktop?

I would like to perform an analysis that is the inverse of Near_analysis for ArcGIS. Instead of my result being NEAR_DIST and NEAR_FID, I'd like each feature to have a FAR_DIST and FAR_FID populated ...
1
vote
1answer
144 views

Determinate Parcel Neighbors using PYTHON

As you can see in the First picture, I have parcel 220, and i want to determinate the position of each of his neighbor ! So the idea was to calculate the bearing between the centroinde of 220, and the ...
0
votes
2answers
48 views

How do I import data from a delimited file into a Feature Class?

I have a feature class created in a file geodatabase. How do I import data from a comma-delimited file into the feature class? Update #1 - The destination is a feature class, not a table.
3
votes
1answer
66 views

Using Calculate Field in ModelBuilder

I need to use calculate field to carry a date of a table to another that has a field in common (MATERIALES). I need VALOR=Indice_R. I am trying with def RecarI(tipo1,id,tipo2): tipo1=tipo2 ...
2
votes
1answer
29 views

Creating raster(geotiff) from a text file with grid_code from arcgis raster to points

I have made a text file from raster to points via a DEM in ArcGIS 10.1 where I have inserted values in an another column that I want to display. Next to point ID is grid_code, which I believe ...
1
vote
1answer
48 views

Calculating centroid latitude in ArcMap throws error in Arcpy

I can create a centroid latitude field in ArcMap10.1 using "Calculate Geometry..." in the attribute table, but when I try the same thing using: arcpy.CalculateField_management(bins_WGS84, "cent_lat", ...
1
vote
2answers
87 views

Casting ILayer to IFeatureLayer in ArcObjects 10.1

I'm trying to use the following code in an ArcMap extension: private IFeatureLayer getLayer(string lname) { IMap map; IFeatureLayer flayer; IEnumLayer ...
0
votes
1answer
59 views

Can not SET a Value in table using Python?

I'am trying to set values in table, the code run good, i don't got errors, but nothing is done ! I'm using Arcgis10.1, arcpy and Python This is the code : import arcpy import math import arcview ...
2
votes
1answer
120 views

How can I calculate the radius or curvature of a meandering river?

I want to calculate the radius of curvature of a meandering river with ArcGIS 10.1. I have used the Planform Statistic Tool, developed by the National Center for Earth-surface Dynamics, to calculate ...
0
votes
1answer
45 views

Make city labels inside of its country

I have City points and a Country polygons. Is it possible to make it so that labels of the cities are inside of their own country without converting to annotation? I'm using ArcGIS 10.1 for Desktop.
0
votes
1answer
76 views

Urban Hydrology Using With GIS

I'm researching how can I create a model urban floodplain depending on rainfall. And Which programme should I use? I want to show floodplain depending on temporal and spatial distribution on study ...
2
votes
1answer
76 views

Do I need to set arcpy.env.workspace at the beginning of my python code?

I am new to Arcpy and have been doing simple tasks such as AddField_management and updateCursor. However I have been getting error msgs, such as errors 99999 etc. The errors I get are related to ...
1
vote
0answers
18 views

ArcGIS Server 10.1 can't add directory

I add new SAN Disk to windows server for build cache. but ArcGIS Server can't add directory. drive C = local disk drive D = SAN disk I login with ArcGIS Server Account , I can create directory in ...
2
votes
0answers
19 views

How to find out to which polygon each points belongs to in ArcMap [duplicate]

I have got a shapefile consisting of a number of polygons, and another shapefile with a number of points. I want to add a column in the points shapefile. For each point, I want the column to contain ...
2
votes
1answer
44 views

MakeFeatureLayer_management wrong output

I have a huge database with Sightings from whales and dolphins from 1995 till today. So I want to sort the database with python. Till now I can make FeatureLayers for each year for ...
1
vote
1answer
21 views

MakeFeatureLayer_management parsing error (for loop)

I want to make a Feature Layer for each month in the table "Sightings1995-2014". Why doesn't it work? for month in range (01,12): ...
2
votes
1answer
60 views

Spatial and Non Spatial join

I have a shapefile with a number of weed control blocks as polygons. They each have a unique block id number. I am trying to join a non spatial csv file which has multiple entries for each block over ...
0
votes
1answer
36 views

How do I merge two columns into one column steps? [duplicate]

When I save the table after I set up the classifcation and then ArcGIS save it as a INFO file and then you have two columns that you want to merge into one. Is there a better way to do that ? What I ...
2
votes
3answers
222 views

Executing Python code takes a lot of time (more than 2 hours)? (Arcgis10.1)

I am executing this Python code, in which I am trying to determinate the position of neighbor parcel (north, south, east, west). It works fine but it took 2 hours for just 50 parcels! I think that ...
3
votes
2answers
76 views

Adding description to layer using ArcMap?

This may be quite basic but can't figure it out. I have a problem when adding a description to a layer (right click layer -> properties -> general: description). When I update the description, ...
0
votes
2answers
60 views

Join in GUI not the same as arcpy join

I'm trying to join up some data so I can make some rasters. I am doing this in Python but when I create the join in Python in results in an empty attribute table for my shape file. The columns from ...