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

learn more… | top users | synonyms

5
votes
3answers
8k views

Remove lock on feature class

When i try to delete a feature class , after or during the use of an Arcgis engine app which uses the same feature class i got an error concerning the lock , so i can't get ride of this lock until i ...
5
votes
7answers
796 views

Where is the server.dat equivalent at 10.1?

Prior to 10.1, I could locate the server.dat file, and programmatically find out the arcgisoutput folder URL location (virtual directory when using IIS) e.g. <Directory> ...
5
votes
2answers
2k views

Batch Clip in ModelBuilder of ArcGIS for Desktop?

I have multiple rasters and feature classes that I want to clip to a study area. I am pretty new to ModelBuilder. I know you can right click the clip tool to batch clip outside of ModelBuilder but ...
5
votes
1answer
5k views

How to Export Selected Feature to New Shapefile Using ArcPy?

I currently have a search cursor iterating through a shapefile in ArcGIS 10.1 that selects a feature and runs a viewshed analysis on that feature (and only that feature). What's the easiest way to ...
5
votes
2answers
4k views

How to standardize raster output from 0 to 100 using raster algebra?

I am working on generating an integrated moisture index based on the following equation: IMI = (hill shade * 0.5) + (curvature * 0.15) + (flow accumulation * 0.35) Iverson et al. 1997 Another ...
5
votes
2answers
1k views

Describing a coordinate system in arcpy

I have a python script in ArcGIS 10.1 which takes in a few inputs from the user. One of the inputs is a coordinate system. I would like to test whether the coordinate system the user chose was ...
5
votes
2answers
902 views

Making Buffer like Offset in ArcPy?

I would like to make a buffer for a polyline and get as Output a Polygon with the same angles as the polyline, having not arcs, like in ordinary buffers. i tried the FLAT option in ArcPy, but it's ...
5
votes
3answers
1k views

How integrated can an IDE get for arcpy scripting?

I am looking to develop arcpy scripts (ArcGIS 10.1) in an IDE that is more "integrated" than Pythonwin. I would like an experience that is analagous to programming ArcObjects in Visual Studio ...
5
votes
2answers
556 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 ...
5
votes
2answers
791 views

Python Script to convert a mass of KMLs to a single fGDB

I have a mass of KML files, approx 350+ that I need in a single fGDB. I lifted a string of code from ESRI help to attempt to do this - I got it working to the point of creating all the individual ...
5
votes
2answers
661 views

Correct usage of a counter using arcpy.da.UpdateCursor

In the Python code inside a Calculate Value tool in my model, I have the following: getNum("%Selected Features%") def getNum(ftr): lst = [4, 11, 15] #values for SQL expression x = 20 fields ...
5
votes
1answer
1k views

Is it possible to sort an arcpy.da.UpdateCursor()?

I have an ArcPy Data Access update cursor that I would like to sort before making updates to it. The cursor makes updates if I don't sort, but if I add a sort to the cursor I get an error, ...
5
votes
1answer
266 views

How to get maximum value where two shapefiles overlap using ArcGIS for Desktop 10.1?

I'm trying to merge 2 datasets (both shapefiles, but I can convert them to raster layers if necessary) where the values are compared, and whichever is higher becomes the new value for the layer. How ...
5
votes
5answers
2k views

Calculating Runoff / Streams using DEM in ArcGIS

I am just curious about the workflow that many of you use for runoff/stream analysis using a DEM and create a "water network" from the results in ArcGIS 10.1? I know the average rainfall for different ...
5
votes
3answers
2k views

bing Basemap Missing

3/26/2014 - Since writing this question, a patch has been released. It can be found here: http://support.esri.com/en/downloads/patches-servicepacks/view/productid/160/metaid/2003 The bing ...
5
votes
2answers
4k views

Location of Coordinate Systems folder in ArcGIS 10.1

To make it easier to find and select the 3 or 4 coordinate systems we use most often in ArcGIS 9.x and 10.0 we would copy them to the top of the Coordinate Systems folder, generally located in ...
5
votes
1answer
476 views

Good practices for storing connection info while deploying geoprocessing tool on Server

I have a geoprocessing tool written in python. It will be deployed on ArcGIS for Server 10.1 as a GeoProcessing Service and it's processing workflow includes some manipulations with data in SDE ...
5
votes
2answers
869 views

Problem with the where clause in ArcGIS when dealing with variables

I am writing a python script for ArcGIS. I have an input feature class which contains multiple pipelines which is saved as a variable InputPipeline. I would like to iterate through the pipelines and ...
5
votes
2answers
6k views

How to add simple table of text (Excel) into layout and preserve formatting and clarity?

I am trying to put a simple table of text (excel) into my layout and preserve cell formatting including alignment, borders and text sharpness. I've tried many approaches but nothing so far is ...
5
votes
1answer
473 views

Floor height creation from Aerial Lidar/Imagery only

I was wondering if it is possible to generate the floor heights of buildings from aerial lidar? We don't have terrestrial lidar or stereo imagery. I don't need the ground DEM level or the roof (DSM) ...
5
votes
1answer
142 views

Cutting a circular buffer via Arcpy

I am currently working with compressor stations on centerline routes. These compressor stations have a 3 mile buffer surrounding them. I wish to cut a portion of the circular buffer off. These cut ...
5
votes
2answers
252 views

Arcpy: Names and distances of nearest intersecting roads in layer 1 to end points of a road segment from layer 2

As shown in the image below, I'd like to return a new field in layer 2 that for each segment stores a string:"Road C, 1 km from Road A to 0.5km From Road B". Calculation of the distances could be ...
5
votes
1answer
195 views

Creating a point corresponding to the maximum elevation of a DEM [duplicate]

I am wondering how can I create a point corresponding to the maximum elevation value of a DEM. I mean, from the DEM I can easily get the maximum elevation. For the sake of a viewshed analysis, I would ...
5
votes
1answer
501 views

Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?

I created an event layer using the MAKE ROUTE EVENT LAYER tool based on anticipated scheduled events. The road layer which is the base layer is intact. What I would like to achieve is combine layer ...
5
votes
1answer
402 views

data driven pages format

I have an issue, but I don't even know the terms needed to search for an answer. I'm exporting the pages to png files. The pages are divided by lots. Each page has a label with the lot number. In ...
5
votes
1answer
1k views

How to perform Noise Pollution Mapping using ArcGIS for Desktop?

I've been trying to do a noise pollution map, and I really don't know where to start with the information I have. The end result needs to be like in the link below. I've seen the question, How to ...
5
votes
1answer
204 views

Creating geodata service from version other than DEFAULT in ArcGIS for Server?

This is with ArcGIS for Server and Desktop 10.1 I want to host a geodata service, but I don't want it to be from the DEFAULT version. I want it to be from an alternate version, that I can check the ...
5
votes
1answer
125 views

Is it possible publishing a Python Add-in in a web service?

I'm trying to make a multiuser web service for editing an ArcSDE geodatabase. I wanted to know if I can to add my python add-in in Arcgis Server? And if the answer is yes, how can I publish it?
5
votes
1answer
159 views

Cursor only completes one loop

I am at the end of my rope here. This cursor runs fine for one iteration and then stops. It doesn't throw an error, it just completes. There are 3,000 rows in my table, so I don't know why it would do ...
5
votes
2answers
987 views

How to improve speed of Export to PDF by ArcGIS for Desktop?

I am working with the Fire Station Wall Map template in ArcGIS 10.1. My export to PDF is taking upwards of 30-45 minutes. Using the default PDF settings in the export menu. My map is 60" x 36" so ...
5
votes
1answer
487 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 ...
5
votes
2answers
654 views

How to perform Intersection using ModelBuilder iteration?

I would like to take the intersection of two areas (one randomly generated), and do this n times. I can do it and get one result, but I can't save all the intersection areas to a file at the end. ...
5
votes
2answers
692 views

ArcGIS Conflation Tool Recommendation or Custom Script for Comparing Points

Can anyone recommend conflation tools for ArcGIS Desktop (10 or 10.1, paid or free) or a scripting outline / procedure (or just a script) to have a technician efficiently process the following rules? ...
5
votes
2answers
1k views

Using Custom Functions in Python Toolbox?

I am trying to put together a python toolbox (Arc 10.1) and would like to use a defined function in my code. The function is: 'sys' is imported at the top of the file def listdirs(folder): ...
5
votes
1answer
577 views

Why does updating Definition Query on layer in ArcGIS 10.1 SP1 no longer allow access to all unique values in dataset?

In ArcMap 10, setting a definition query on a layer would display only the subset of features: To add more features to the query would simply involve clicking Get Unique Values to list all the ...
5
votes
1answer
54 views

How can I reclassify a raster by zone?

I have a raster layer of a river network containing weighted flow accumulation values and a raster layer of lakes (see image bellow). I want to replace the values of all the river pixel that fall into ...
5
votes
2answers
301 views

Advanced python labeling in ArcMap - working with null values

I'm trying to label certain features using a specific field (osm_name_58_en). However, when this field is null, I want to label the feature with (som_english_32_name). If both are null then I want ...
5
votes
2answers
161 views

Calculating edge length of polygon within overlapping polygon

I have a layer of wetland polygons and a layer of lakes. I basically want to find the total length of lake shoreline contained within each wetland and add these values as an attribute of the wetlands. ...
5
votes
1answer
1k views

How can I add an arrow to a line?

I want to have arrow heads at the end of a number of lines. I add these through Line properties --> Line decorations. It looks nice and all when displayed in the legend: But in my map, due to ...
5
votes
2answers
235 views

How to Develop Optimal Routes for Street Sign Inspections

We have been approached by our Public Works Department to try and optimize their routing for street sign inspections to improve efficiency and productivity. We are unsure of the best way to go about ...
5
votes
1answer
804 views

How to Create Touching Multi-Part Polygons?

I have a set of parcels as illustrated in the image below. There are currently no multi-part features in dataset. What I would like to do is to merge (not the right word) all of the parcels with same ...
5
votes
2answers
1k views

Legend showing info for world map

I'm using ArcGIS 10.1 API for JavaScript. I'm showing dynamic map service layer containing 8 layers and I want to show legend for the currently visible layer (only 1 layer is visible at a time). The ...
5
votes
2answers
2k views

ArcGIS script tool: Can you have an input parameter set to optional and have the tool work when an input is not provided?

I'm building a script tool that processes shapefiles ( GPS data collected on weekly basis). The tool is set up to take an input for each shapefile ( in this case Sewer, Storm, Sign). On some days, ...
5
votes
4answers
677 views

Need help to convert 9.3 code for registering .dll to 10.1

This is my code to register my DLL (im using ArcMap 9.3) Private Sub regDLL(ByVal dllName As String) Dim asm As System.Reflection.Assembly = System.Reflection.Assembly.LoadFile(dllName) ...
5
votes
2answers
211 views

ArcPad Checkout from python command line

I have been developing a script to automate my ArcPad checkin/checkout processes. My problem is that I am having trouble getting arcpy to recognize the ArcPad tools from the command line. From the ...
5
votes
3answers
410 views

How to display two line traffic road map cartographically?

I have two line traffic map. I want to display this maps roads as image below. This images show that when I zoom out from map, roads are showing properly.. And two line road never disappear from map. ...
5
votes
3answers
1k 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 ...
5
votes
2answers
138 views

Is there a way to control which ArcMap AddIn is loaded first?

I have a shared DLL that use across multiple ArcMap AddIns. It rarely changes, but recently I've had to modify it and I started getting MissingMethodExceptions whenever I made calls to classes in ...
5
votes
2answers
828 views

Does anyone use both ArcGIS and Python(x,y)?

I'm trying to get ArcGIS 10.1 and Python(x,y) to peacefully co-exist with a unified installation of Python. Surely someone else is using both these tools... right? Pointers would be much appreciated. ...
5
votes
2answers
3k views

How to do advanced Python labeling in Arcmap?

Does anyone have a good reference for advanced/complicated labeling expressions in Arcmap? I am attempting to write a Python label expression that would involve multiple label definitions. Here is ...