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

learn more… | top users | synonyms

0
votes
0answers
37 views

Removing Routes Within a Buffer

To preface, I have stations on lines, which the stations have a 3 mile circular buffer. I am trying to isolate the lines that those stations reside on from the lines that do not have stations (i.e. ...
0
votes
1answer
35 views

How to add an image (jpg) to an existing layout using Python?

I have 1500 MXD whit the same template layout, and need insert other image for the al mxd thanks for your time. version arcgis 10.1
1
vote
1answer
82 views

Value Error with Float/Integer/double Fields in Python?

When running this Code: import arcpy from arcpy import env import os #Specify the map document and the data frame mxd = arcpy.mapping.MapDocument(r"G:\\PythonCode\\mxd_test.mxd") env.workspace = ...
0
votes
1answer
44 views

Modify File Name with Python

How would I change the following code (outJPEG section) if d like to have the original attribute table name (eg Adress) and the attribute fieldname (eg ZipCode) as file name? (Adress_ZipCode) The ...
0
votes
1answer
39 views

Arcobjects add-in stops working with no apparent error

I am developing a simple add-in that will trigger an action after user selects features on the map (the action will essentially make sure a dockable window is open and in that window display ...
0
votes
1answer
40 views

Model with Iterate selected feature not working. What's my mistake?

I have a Shapefile with point features representing pour points. I need to delineate their watersheds individually, because many of them overlap. I'm using the following model to select a point from ...
0
votes
0answers
26 views

Draw gridded lines inside a feature and generate random points

I have several vectors containing features that originated from a 30 x 30 m raster. I want to generate a grid of lines (fishnet) in all of the features that are more than 30 x 30m. As shown in the ...
0
votes
0answers
22 views

Preconditions for subtracting two rasters in arcmap

I have two precipitation rasters, each with a different raster cell size 4.1 x 4.1 km, 4.6 x 4.6 km). The two rasters have the same geographic coordinate system, but different projections. I would ...
1
vote
1answer
63 views

how can I put those x y location in ArcMap?

Does anyone can help me some tips to put those x,y in the excel spreadsheet to Arcmap? It doesnt show on the map when I try. I think the problem is the projection. I tried coordinate system: ...
0
votes
2answers
52 views

Extracting multiple values of raster to polygons using ArcGIS for Desktop?

I was hoping I could get some help on how to extract information from a land use raster using polygons. I have a layer with 157 polygons and a land use raster with multiple land use categories for the ...
0
votes
3answers
74 views

Deleting polygon defined area from raster layer in ArcGIS for Desktop?

Which tool do I use in ArcGIS 10.1 for Desktop to exclude areas covered by vector polygon layers from a raster layer? I want to keep portions of the raster layers that exclude the portions covered ...
1
vote
1answer
45 views

How to adjust a complete shapefile of multiple points on ArcMap taking other few as reference?

I recieved a shapefile with georeferenced trees, but they didn't used a GPS to get the coordinates (not sure how they did it, some traditional stuff maybe?). So, the position doesn't match exactly on ...
1
vote
1answer
43 views

Combining four shaded relief images into one single image using GIS overlay technique? [closed]

I have prepared four shaded relief images (hillshade) with four contrasting illumination directions 0°, 45°, 90° and 135°. I would like to combine four shaded relief images to produce one shaded ...
1
vote
1answer
36 views

Does arcpy have any tools for transforming field values in a fieldmapping?

I built my fieldmappings and, for the most part, everything is working. I recall reading somewhere that I could also use fieldmappings to transform field values during the import process. ...
2
votes
4answers
143 views

How to export tables to Excel from ArcGIS 10.1 using the xlsxwriter python module?

(I've edited this question to reflect some of the answers/insights from below...) Original(ish) Question: I'm wondering if someone can share a bit of insight (or actual code) on how exactly to export ...
3
votes
1answer
52 views

Spatial sampling design

I have some plots of land spread across the landscape. Sometimes a parcel is subdivided in different sectors. For each parcel (and, in case of subdivision, for each sub-section) the quality of ...
0
votes
0answers
25 views

Tool Dialogs appear blank in ArcGIS for Desktop?

All of a sudden my Toolbox in ArcGIS 10.1 for Desktop has stopped working. Last week i was using clip tool but the toolbox window was blank, i tried other tools but it shows the same blank window. ...
0
votes
1answer
37 views

Project Polygon using ArcGIS API for JavaScript

I recently did a javascript application that has since stopped working, well partially. The users enters an address, then they are presented various voting related information State Rep, State ...
1
vote
1answer
53 views

how to produce a RASTER representing X coordinates [duplicate]

In a journal article I have read that two rasters, representing X and Y coordinates respectively (see attached figure), have been entered as predictors in a GIS-based Logistic Regression for a given ...
0
votes
0answers
21 views

Will replacing workspace path affect definition queries in Maps or Layer Files?

I am doing a cleaning up project for some of my data. This requires a data structure. That means I will have to replace the workspace path in the MXDS. The old structure of the data will be ...
0
votes
0answers
35 views

Performing multiple selection in ModelBuilder?

I want to create several layers in gdb selected by field value from xls sheet. I'm tring do it in ModelBuilder, but I can't past through the SQL query in selection part. I don't know how to make it ...
1
vote
1answer
41 views

Spatial correlation

I want to do spatial correlation with many variables. In fact when I do correlation densities points results are better than when I work with attributive data. Can I use the result of the density of ...
-1
votes
1answer
30 views

How to build model from different types of features?

I am using 3 types of feature classes (Point,Line and Poly). Now I want to give some common field and name those features. How to build model using ArcMap 10.1?
1
vote
3answers
59 views

pairwise (linear) distance between points of the same shapefile

Given a set of points representing villages stored in a .shp file, is there a way to compute the pair-wise distance (Euclidean) between them? What I would like to come up with is a sort of symmetric ...
0
votes
1answer
50 views

Getting wrong results in Search Cursor of ArcPy/Python script? [closed]

I have two functions: First one will crated the feature layer second one will access the same created layer and prints the result. when i run my script first time it will print the wrong results. ...
3
votes
1answer
47 views

Releasing Cursors using ArcObjects?

I am working with ArcObjects, in particular the ICursor Interface. I am creating a cursor and looping through a query's result set. My problem/concern is how to close or delete or release the cursor ...
1
vote
1answer
35 views

Using Copy Traversed Features to count turns for a route result in Network Analyst

I have the output of the route layer. And I want to determine the number of right and left turns for each route. For that, I used the COPY TRAVERSED ROUTE FEATURES tool from Network Analyst. However, ...
0
votes
0answers
37 views

Feature Services & arcpy.ConsolidateMap_management & .replaceDataSource

We have several in house published feature services, including some from our Esri Data Stores. When I use arcpy.ConsolidateMap_management on an mxd (10.1) the Feature Services are nicely consolidated ...
2
votes
3answers
81 views

How to use the SQL in select by attribute to select the entries for each values in certain field?

I am trying to use select by attribute for the table in ArcGIS, which is similar to the following picture (lets say): I want to select those entries for each A and B, which have maximum count. I ...
0
votes
1answer
41 views

Layers reference from Geoprocessing using ArcObjects?

I am using ArcObjects (ArcGIS 10.1) in .NET with some geoprocessing. It works great. There is an option to add the resulting feature class to the map. That works great too. However how do I get a ...
-1
votes
1answer
58 views

Executing ModelBuilder using C# classes?

How can I execute ModelBuilder in ArcMap 10.1 using .NET 2013 C# classes?
0
votes
0answers
16 views

Small individual tables/crosstabs for points from Access to plot on maps

I currently have an Access database (accdb format) that is currently linked in GIS (ArcGIS 10.1) through an OLE DB connection. I have a groundwater analytical table with 36,000+ records that contains ...
0
votes
0answers
77 views

Calculate Lat/Long in decimal degrees

I'm trying to calculate the location of several points in a python script. However, the Add XY tool is in feet, rather than decimal degrees. The following Calculate Field lines just cause an error ...
2
votes
1answer
30 views

Determining the cosine of the angles between two lines using dot product

SCENARIO:I have a certain buffered region (lets say a one way road segment), which will have only one allowed direction represented by vector A. And, there are several other lines which may or may not ...
0
votes
0answers
16 views

How to change features to have unique symbology color? [duplicate]

Say I have many features which need to have unique symbology color, how can I do this in ArcGIS 10.1. Possible using Python script? or Just simple tool in ArcToolBox.
-4
votes
1answer
70 views

Handling ArcPy locks in Python script?

i am writing script which uses different Tools of arcgis and implementing different functionalities .. My script consists in different Functions running in an order. Each function is connected to ...
0
votes
0answers
41 views

How to separate shared watersheds using ArcGIS for Desktop or QGIS?

I have a similar problem than the one expressed in this question. Here's my situation : I need to have the full watershed of a point downstream of another point.The Watershed tool only gives the ...
1
vote
1answer
38 views

Intermittent exceptions in CopyRows_management

Occasionally, but frequently enough to be a pain, my script throws an error. The script runs fine most of the time but when it fails, I get this: Traceback (most recent call last): File "XXX.py", ...
1
vote
1answer
58 views

CSV to ArcGIS table, insufficient text field length

I currently use arcpy.TableToTable_conversion in order to convert a CSV file into an ArcGIS file geodatabase table. This works when string length is less than or equal to 255 characters. Whenever 255 ...
1
vote
1answer
75 views

Batch export all layers in ArcMap document that have selected features?

I have several layers in an ArcMap Document. All of these layers are stored as shape files. Specific features of the said layers are selected. I want to export the data as shapefile programatically. ...
1
vote
1answer
72 views

Why modelbuilder does not give the actual result?

I have 20 pairs of origin and destination. And, also I have 20 different line barriers for those pairs, as I want to determine the shortest path between them. If the name of the origin and destination ...
1
vote
0answers
30 views

How to create “undulating terrain” for playground in ArcGIS?

How could I create undulating terrain in ArcGIS? I know I could create it by creating a TIN model but first I need to have "input data" - shapefile with Z (height in attribute). Is there any way I can ...
0
votes
0answers
34 views

Problems with using python script in ArcGIS for Server 10.1

I have a geo-processing model that works perfectly in ArcGIS desktop (10.1) and successfully publishes as a GP Task to ArcGIS Server (10.1). Once I try to execute the GP task (either through a widget ...
0
votes
1answer
89 views

How to automate ArcGIS map production using Python?

I have this layout; it's a map that I divided it to 25 parts using FISHNET from arctoolbox. I want to prepare only one layout and then using a Python script I want to be able to automate the ...
1
vote
1answer
38 views

Get count within ArcGIS report

I have a file gdb feature class which contains cropland fields, and within the table are data fields for Landowner, Acres, and many other items. I have a report based on the table which has no data ...
0
votes
0answers
24 views

How to select by location c# Select cities of a country

I have two layers a countries layer and a points layer. I want to make two combo boxes. In the first one i want to load all the names of the countries and when i select the country i want the second ...
0
votes
1answer
31 views

Batch Mosaic Rasters: arcpy.MosaicToNewRaster_management (ERROR 000628: Cannot set input into parameter coordinate_system_for_the_raster)

I am trying to batch mosaic rasters using arcpy.MosaicToNewRaster_management in arcpy: #This is for mosaicking a lot of rasters import arcpy from arcpy import env ...
5
votes
2answers
182 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 ...
2
votes
1answer
115 views

How to get a feature class from a File Geodatabase in ArcObjects? (VB.NET)

I just started out with ArcObjects and I've been stuck on this for days. How do you open up a File GDB and read out a simple feature class? The snippet for retreiving a shapefile from a regular ...
0
votes
1answer
32 views

Mosaic to raster 16BIT Error 999999

I am using ArcGIS for Desktop 10.1. I am trying to merge a few 16bit rasters by Mosaic to New Raster. The problem is it makes me do only a 8bit output making me lose pixel data bigger than 255 and ...