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
34 views

Using USGS Raster Split but getting errors

I am working on an issue where I am trying to split the 2011 nlcd .img file into counties. I am really just looking at the midwest, so I have state county shapefiles for IA, OH, MN, MO, IL, IN and WI. ...
2
votes
2answers
172 views

definition query with 3 plus variables to loop with python and save layer files

I have a script that takes an input feature class and uses a field within this class to create a definition query for each unique field. A question on how to do this is listed below saving layers for ...
0
votes
1answer
145 views

Error when enabling ArcGIS geodatabase

We're trying to enable enterprise geodatabase functionality in an existing PostgreSQL database. We've already created the sde user (set as superuser) & sde schema. We get the following error: ...
2
votes
1answer
55 views

Counting intersections from multiple shapefiles in counties?

I have several polygon shapefiles of counties in 6 US states. I also have three shapefiles of country-wide "impaired waterways" a line, a polgyon, and a point feature classes. What I want is a ...
2
votes
2answers
401 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....
0
votes
0answers
85 views

SQL fails in python. In ArcMap error FDO error: -2147024871 returned

I'm having issues with an SQL expression for a feature class in a file geodatabase. When working in ArcMap, the SQL will fail on its first attempt, and produce the following error: However, when I ...
1
vote
0answers
42 views

How to delete features with a date attribute before today's date with ArcGIS REST API?

I have a published feature service where road closure information is input to be shared with the public. The data input contains a couple of project date fields. I'd like to use a script that runs on ...
0
votes
4answers
241 views

Is there a site with templates for Arcpy where I can just fill in the blanks?

I have a Shapefile containing near 7000 pour points across the globe (GCS, WGS84). I'm using the following model to select the first feature point of the Shapefile, copy the selected feature in a new ...
0
votes
1answer
104 views

SQL and ArcGIS data querying: what's the difference?

I am wondering if the language used by ArcGIS for data querying (e.g., search by attribute) is part of the SQL language, or to what extent there is a connection between the two (and where does it come ...
1
vote
1answer
53 views

How to extend raster data for larger boundary?

I am working on serveral raster data, but some of them are not fill data exactly with intended boundary (as shown in the picture below). What i want to do is firstly extend the raster data to intended ...
0
votes
0answers
59 views

Why the route does not change when I choose impedance as time and distance separately?

I have a street segments for which I am trying to find the shortest path as per shortest length and less no. of turns. I calculated the field "Time" by dividing the length by velocity(same for all ...
0
votes
0answers
42 views

How to Make Model with Iterate selected feature run faster?

This question is related to this one : Model with Iterate selected feature not working. What's my mistake? The answer provided by worked great, but it’s really slow. Any way to make it run faster? ...
0
votes
1answer
142 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 ...
1
vote
0answers
98 views

Generating a predictive map with standardized variables

I have a model from which I am attempting to create a predictive map (in GIS, but I'm aware of some options in R). The response values are constrained to [0,1] using an offset term in the model (see ...
0
votes
0answers
46 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
582 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
304 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 = r"...
0
votes
1answer
111 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
97 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
78 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
47 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
2answers
110 views

Putting x y locations into ArcMap?

How can I put x,y values in an Excel spreadsheet into Arcmap? They do not show on the map when I try. I think the problem is the projection. I tried coordinate system: ...
0
votes
2answers
345 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
2k 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
120 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
199 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
47 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
1k 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
85 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
83 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
80 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 Senator,...
1
vote
1answer
106 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
1answer
26 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
109 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
98 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
47 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
425 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
72 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
190 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
81 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
99 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
328 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
120 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
126 views

Executing ModelBuilder using C# classes?

How can I execute ModelBuilder in ArcMap 10.1 using .NET 2013 C# classes?
0
votes
0answers
50 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
248 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
65 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 ...
-4
votes
1answer
369 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 each ...
0
votes
0answers
59 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 non-...
1
vote
1answer
125 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", ...