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

learn more… | top users | synonyms

1
vote
1answer
224 views

How to maintain Shape_Length field afer Spatial Join of Point to Polyline feature classes?

I need to get for each point the length of the line that joining to the point. How to maintain the "Shape_Length" field of polylines when I'm Spatially Joining point to lines feature classes ? When ...
0
votes
1answer
95 views

coordinate pairs distances

I am new to GIS and have the following question. My shapefile has several coordinate pairs (x1, y1, x2, y2) and I would like to calculate the distances between the points within one go. Any ...
-2
votes
2answers
6k views

How to avoid ImportError: No module named arcpy causing Failed to execute (Script) error?

I have a proplem with arc hydro in arcpy,i want to create a simple script where automated some tools from archydro in arcpy.. I use arcmap 10.1 and python 1.7,my import is one dem and my export is a 6 ...
0
votes
2answers
2k views

How to get ArcObjects SDK for .NET? [duplicate]

Forgive my newbness, but how do I get the .NET ArcGIS SDK? I can't access any of the ArcGIS templates when I create a new project in Visual Studio. I'm using Visual Studio 2010, SP1 and ArcGIS 10.1. ...
3
votes
2answers
2k views

Round decimal number in ArcGIS10.1

How can I round the decimal number in a table in Arcmap: e.g. how can I set it to 2.60?
0
votes
1answer
151 views

Counting how many times a point goes through a loop and write the count to a text

I have a several feature classes that go through a loop to calculate points. I want to add up how many go through it each time so I can archive that number. I'm using ArcGIS 10.1. Lets say I have ...
8
votes
1answer
1k views

Handle annotation layers with arcpy

I want to access annotation layers using arcpy (the purpose is to verify few text strings in text annotations). By annotation I mean draw tool annotations, not dynamic labels. These annotation layers ...
0
votes
1answer
176 views

Using MakeFeatureLayer to select by location in arcpy

I'm trying to assign a state plane zone based on if a point intersects it. I make a feature layer from a feature class. It gets through the loop once and calculates everything correctly, but when it ...
0
votes
1answer
320 views

How to schedule a model to run at a certain time?

I'm trying to schedule a model to run at a certain time and have found this ESRI Blog post which is providing a good start. What I can't figure out though is where in the importToolbox function I tell ...
0
votes
1answer
137 views

automatic save outputs variables in the folder workspace using pyhon for arc map 10.1

I want to create python script with aim to import him in environment arcmap 10.1 and to make a hydrologic analysis because the scipt meybe can have many outputs raster file or feature class would ...
2
votes
0answers
294 views

Normalization of Kernel Density Estimate rasters in ArcGIS 10

I've been told by several GIS instructors that the pixel values of a Kernel Density Estimate raster output by the point KDE tool in ArcGIS 10.1 represents the probability of encountering a point, not ...
0
votes
1answer
531 views

Polygon Neighbors Analysis script (ArcPy 10.1) producing erroneous results?

I'm struggling with a python script that is supposed to calculate a field for a polygon feature class. The calculation is of the average of a field value (P_TOT_DEV) for each of a given polygon's ...
3
votes
3answers
387 views

Select layer by attribute: return top 3 records

I have a feature class in a file geodatabase using ArcGIS 10.1. I want to create a model that selects the three features with the highest values in one field (Average Price). Basically I want my ...
0
votes
0answers
38 views

ArcGIS Find task performance over SDE

We are having a problem in our Search feature for our app. We are using arcgis published REST services and SDE database. When we try to do our search manually using the REST url, it takes roughly 9 ...
0
votes
1answer
41 views

Can I avoid decimal conversion calling CostDistance

Our client asked us to incorporate blockages and delays for movement of boats and ships on the local waterways. In our one process we are creating polygons of the distance a boat can move at top ...
0
votes
1answer
43 views

Shorcut to apply selected shapefile projection to the data frame in arc gis

What is the shortcut to apply selected shapefile or the newly added data's projection to the data frame in arc gis, well not the traditional way of Dataframe--->Properties--->CS system "This could be ...
1
vote
1answer
94 views

Unwanted dangle errors [closed]

As shown in the image is there any possibilities to avoid unwanted dangle errors in arcgis ?! 1:
1
vote
1answer
93 views

How to produce multiple map PDF from Excel file with each record being two lat/long pairs?

I need to produce multiple maps from a single excel file consisting of approximately 1,500 records. Each record contain two lat/long pairs (four points) and I need a PDF map of each record zoomed to ...
1
vote
0answers
46 views

Is it possible to retrieve lost versioned data in SQL Server Management Studio?

One of my staff accidentally deleted a feature class she was creating in her version before I reconciled it. I have grabbed a back up of the database from yesterday in SQL Management Studio. Is ...
1
vote
1answer
122 views

When using arcpy can I only calculate fields of a subtype and not the entire feature class?

I'm appending two sepearte shapefiles into one feature class with different subtypes. Is there a way to only calculate fields from a certain subtype?
0
votes
1answer
42 views

Copy, Drag and Drop parcel

Using 10.1 ArcGIS, how can you SELECT the parcel tract and MOVE IT to another part of the map? I have done that by accident in the past, but when I do need to do that, can't figure it out.
0
votes
1answer
60 views

Calculating distance

I am trying to measure straight-line distance from residence to facility. I have both of these locations in latitude and longitude (degrees) in separate layers in shapefiles. These layers indicate ...
5
votes
3answers
2k views

Export .mxd to .dxf

Converting a .mxd to .dxf is something we need to do, and we do not only need the layers but also the layout of a map on our .mxd to be transfered to .dxf. I've done some research on the internet but ...
1
vote
3answers
658 views

Compressing the service definition failed

I am trying to publish a map on my server but I am getting this error: Compressing the service definition failed. I have changed the location of service points, still the Error remains. How can ...
3
votes
1answer
416 views

How can I import the export file (*.sdx) from ArcSDE9.3 to ArcSDE10.1?

We got some files (*.sdx) from our clients using sdeexport from ArcSDE 9.3. We only have ArcSDE 10.1. We tried to use sdeimport command like this: sdeimport -o create -t NHDFCODE -f ...
5
votes
1answer
644 views

Arcpy Pythonaddins Equivalent of arcpy.GetParameterAsText

I've build a neat little search arcpy script. The user opens any mxd, zooms to a location, chooses a corporate fGDB, and runs the tool. The user gets a list of all the populated feature class that ...
1
vote
1answer
104 views

How to Select by Location and assign attributes using Python?

I have a polygon layer with a 'lot' field, and a points layer. How can I use python to select the points by location (to find what points are contained in what polygons) and assign the value in the ...
0
votes
1answer
171 views

Trying to modify records from one shapefile to another gives Error 999999?

I am trying to update the atrribute data of a feature class with respect to another one by matching a common field. But it is returning an error for the setValue command. My code looks like: import ...
1
vote
3answers
1k views

Show “layer name” as text in arcgis layout view (map)

I am trying to show the layer names of all visible layers in ArcGis 10.1 when creating a map in layout view. First I tried to use "insert legend" and show there only the layername, but I can't ...
2
votes
1answer
129 views

How to Export multiple selected features to PDFs with Python?

I have 77 polygons that mark areas of a satellite image that I want to export as separate PDFs. Each of the PDFs should contain just the polygon (and as much as the surroundings to fill out the data ...
1
vote
1answer
456 views

How to split multiple polygon layer into multiple layers by vertices parts?

I have a layer in Arcmap 10 that was brought over from Auto CAD (layer A). This layer has multiple polygon shapes. I need to split these shapes from layer A, and place them into their own layers. ...
0
votes
1answer
114 views

Sort Grid binded to ArcDataBinding.TableWrapper in ArcObjects 10.1

I have a Datagridview which is binded to a ArcDataBinding.TableWrapper. So, I want it to be sorted when ColumnHeader is clicked. I tried to do the following on Click event: ...
2
votes
1answer
97 views

Raster calculator help needed

I have time-series data (rasters) from which I need to calculate the direction of change (increase, no change or decrease) for every pixel from one time-step to the next. I further need an output ...
1
vote
3answers
796 views

Calculating new shapefile areas after clipping using ArcGIS for Desktop?

I'm working with the WWF ecoregions, which use the GCS_WGS_1984 geographic coordinate system. I have clipped the ecoregions with a species range (consisting of two polygons), but the new attribute ...
3
votes
1answer
327 views

Automatically panning the map in ArcGIS when using the Time slider

I have a point dataset with time-stamps at 1 minute intervals showing a driving route. I have enabled the Time properties of the layer and I am able to use the Time slider to see the points move ...
3
votes
2answers
758 views

ArcServer 10.1- Get Original Document location (mxd) from published web service using python

I need to extract the document location of a published web service. Is there any way this can be accomplished in python? I know where the maps are sitting on the server, and i know the name of the ...
1
vote
2answers
58 views

How can I populate a field of the polylines to indicate if they intersect?

I have two feature classes, one ploylines, one a buffer. How can I populate a field of the polylines to indicate if they intersect?
0
votes
2answers
273 views

Best Way to Get a List of Selected Rows for a Specific Layer using Layer Object in ArcGIS

What is the fastest/cleanest way to get a collection of rows that are selected in a certain layer? For some background, I am trying to hide selected features in a specified layer. The solution ...
0
votes
2answers
181 views

Unsplit lines seperated by a small gap

I have a set of polylines that represent fire hydrant laterals and many/all of them are in two peices one from the main to a valve on that line and one from the valve to the hydrant. Some have small ...
1
vote
1answer
157 views

Arcpy scripts fail on big datasets - anyone has experienced similar behavior?

Here a question that is not extremely specific but maybe someone has had similar experiences... I have a few Arcpy scripts that work perfectly when used with small datasets but that silently fail ...
1
vote
0answers
877 views

How to use paths with non ASCII characters for subprocess calls with ArcGIS

I know that it is possible to create calls using unicode character encoding like \xf8 for non ASCII characters but how do I do it writing a path in a script just like: 'e:\gis\python_ø\notepad.exe' ...
1
vote
0answers
237 views

Invalid spatial reference Error

I am getting the error: Invalid spatial reference. Spatial reference must match map's spatial reference. Clear the map layers collection prior to changing the spatial reference when I try to ...
1
vote
0answers
59 views

Multiuser Editing with ArcGIS through LAN

I am working on an ArcObjects application (C#), which is supposed to carry some customized editing operations, the database is ArcSDE based on Postgresql via (accessible via a LAN network). One ...
1
vote
2answers
119 views

Copy Jp2000 from Mosiac Dataset turns white

I am trying to copy a raster to jp2000 from another File Geodatabase that I created as a Mosaic Dataset. It came out as a whiteout in the middle. I don't know what it cause this. See screenshot : ...
1
vote
0answers
131 views

What causes “RuntimeError: DataFrameObject: Error in setting extent”?

I'm having a problem whilst trying to set extent on a python script. mapDoc is created using Web_map_as_Json string. Appreciate if anyone can help. result = ...
1
vote
1answer
290 views

Calculation amount or number of certain pixel-values in a raster

It seems pretty simple but until now I could not find a proper solution: In a given raster i want to know the number or ratio of e.g. red pixels. Edit: to be more precise: I have a number a arial ...
1
vote
2answers
88 views

Finding routes in which more than one car passed (gps data)

I'm using ArcGIS 10.1. I have point GPS data of routes of several cars over a few days, and I want to find only the routes where more than one or two different cars passed through (Each GPS points ...
0
votes
0answers
17 views

Adding a Z Unit [duplicate]

I'm struggling with the Z Unit conversion of some data. Both the NHD data and my DEM are in a GCS with Decimal Degrees. These data sets project perfectly on the fly, but after I adjust the Z Unit of ...
0
votes
0answers
29 views

Reload Table Cache with Python & ArcGIS 10.1 [duplicate]

I am trying to create a button in arcmap that reloads the table cache. Exactly, like the existing button Table Options > Reload Cache. The button is inside when you open an attribute table. I would ...
4
votes
4answers
4k views

Calculating X and Y of line start and line end using ArcPy?

I have a series of polyline shapefiles and I am trying to automate the process of calculating the X and Y coordinates of the line start and line end using Python. I have added the 4 fields (startx, ...