Tagged Questions
2
votes
1answer
63 views
Tabulate Area crashes Python and ArcGIS
I have a script that runs Tabulate Area on a single feature class multiple times with different rasters. In total Tabulate Area runs 5 times. 2 of the input rasters are provided as arguments to the ...
0
votes
0answers
39 views
How specify a corridor minwidth?
I’m trying to make a corridor between two substations with ArcGIS, a macro corridor and a micro corridor.
I have two questions in this respect and would be grateful for your suggestions.
a) How can ...
1
vote
0answers
40 views
Problems running zonal statistics - not all zones represented
I have been working on a Python script to automate the steps illustrated by whuber here:Create points around the edge of viewshed results
I am trying to create a horizon graph illustrating the ...
3
votes
1answer
77 views
Why is my simple arcpy script failing? (sets raster cell value to null if below threshold value, ArcGIS 10.1)
As mentioned in the title, simple script to set null cell values below three standard deviations beyond the mean:
import arcpy, sys, os
#Accept input and output raster
inRas = sys.argv[1]
outRas = ...
5
votes
2answers
106 views
Is there a way to increase the search radius of nearest neighbors for the Nibble tool?
I am working with a raster map vegetation types. I have about 20 types with unique raster code values that can be sorted into three classes:
1 - vegetation types I want to expand using the nibble ...
3
votes
2answers
188 views
Majority filter (minimum mapping unit) in ArcGIS with larger window size
I want to run the majority filter in ArcGIS with a window size of 4 or 5 i.e. greater than the default 3. Is it possible? Or some other command (or tool) which might help me achieve that?
thanks!
4
votes
1answer
189 views
Work-around for slow processing times in ArcGIS 9.3 with Spatial Analyst functions
I am batch processing a large amount of distance functions (~50,000) using ArcGIS 9.3. In this version, using spatial analyst functions, it seems to be the case that users cannot parallelize processes ...
2
votes
4answers
130 views
Error When Trying to Run Slope Analysis Script
I have written a script which is supposed to loop through all the rasters in a folder and perform a slope analysis on each raster and save the results in another folder.
I keep getting the following ...
0
votes
1answer
55 views
sa.fill creates NoData raster in standalone script ArcMap 10.0
I am trying to put together a geoprocessing workflow in Python, and I've hit a stumbling block with sa.fill. When run as a standalone script, the tool produces a raster composed entirely of NoData ...
1
vote
2answers
57 views
Distribute gridded data to corresponding subbasin boundaries
I have one ArcGIS shapefile of my river basin consisting of many subbasin. Another shapefile showing the location of gridded points over the whole basin (Its latitude and longitude are used as file ...
3
votes
2answers
664 views
Extract raster by mask output does not completely overlap the mask
I have a flow accumulation grid and a shapefile containing catchment areas. Now I want to do some calculations on them so I need to extract data from cells in the raster adjacent to certain catchment ...
2
votes
0answers
51 views
How do I make a path cross the most possible classes in a raster?
I want to create a function and possibly use Arcmap tools to create something similar to Cost Path. Instead of just choosing the LCP, it must cross through the most different integers. Let's say I ...
4
votes
1answer
182 views
Trouble Tabulate Area
I am using Kansas Cropland raster data from NASS with tabulate area to find out acreage of different crop types. The python I used works fine for 2006-2009 (56 meter cell size), except 2010 & ...
1
vote
2answers
513 views
arcpy.sa.Viewshed with OFFSETA
This is using ArcGIS10 arcpy with spatial analyst.
I need to call Viewshed, but with an observer height set. I have tried using a Z-aware point feature set, but that only throws an error. I am ...
2
votes
1answer
328 views
How can you make RasterToASCII_conversion observe environment setting output cell size?
I have two rasters (an ESRI grid and an IMAGINE image) that differ in projection, extent and cell size. I want to convert the IMAGINE to an ASCII, and want it to have the extent, cell size and ...
2
votes
0answers
434 views
Spatial Analyst Cell Statistics seems to give the wrong answer in ArcGIS 10.0
I have a script that calculates standard deviation for a list of grids using the Cell Statistics function in Spatial Analyst for ArcGIS 10.0 The syntax is this:
stdevGrid = ...
4
votes
1answer
3k views
Thiessen Polygon delineation within a Feature
Greetings!
I am trying to create Thiessen (Voronoi) polygons, based on points within a defined shapefile extent.
The output should be inclusive to the feature. The output I receive now is the ...
4
votes
1answer
941 views
Processing time using ArcGIS Hydrology toolbox tools in standalone Python script vs. ArcCatalog
My question is: what might cause the ArcGIS 9.3 Hydrology Toolbox Snap Pour Point and Watershed tools to run significantly slower in a
Python script versus manually running the tools in ArcCatalog ...
6
votes
2answers
738 views
Process a raster with multiple geoprocessing tools in arcgis 10 using python - flow between processes
I'm writing a short python script that includes processing rasters with different geoprocessing tools in ArcGis 10, for example, the three processes below, is this best way to use multiple tools ...
5
votes
2answers
685 views
Using an integer variable in where-clause in arcgis python script
I've seen some questions on this, but there seem to be many different answers... and none have seemed to work. I'm trying to include an integer variable in the SQL where-clause of a tool like this ...
