Spatial Analyst is a extension within ArcGIS that provides a range of spatial modeling and analysis tools.

learn more… | top users | synonyms

1
vote
1answer
706 views

Why does CON statement give ERROR 010240: Could not save raster dataset to (value) with output format GRID?

I am receiving the following error when trying to run the following code: import arcpy from arcpy import env from arcpy.sa import * arcpy.CheckOutExtension = "Spatial" env.workspace = ...
1
vote
1answer
17 views

Properly setting Extents in Arcpy Using path

I am trying to set the extents of my processing using Arcpy, but when my processing is completed, there has been no change to the extents (it results in an extent that did not go as large as I ...
2
votes
2answers
100 views

Estimating Area of farm under cultivation using NDVI?

I have shapefiles for more than 1000 farms. I want to use Hydrological model to model the water balance in these farms. Each farm is devided in to seperate parts . My problem is that the whole ...
1
vote
0answers
22 views

How to raster clip in outside in ArcMap?

How to raster clip in ArcMap? But I need 1 raster in outside area. Because 2 raster map. Example: Ras1=Temperature.tif Ras2=Error map.tif Clip command input raster=Ras1 Output Extent= ...
2
votes
2answers
532 views

Why does Raster Calculator return GRID ERROR-Unable to open input grid?

I'm calculating Simple Ratio (SR) from NDVI using Raster calculator in Arcgis. Here is expression I wrote in Raster calculator. SR=(1+float[NDVI_apr.tif])/(1-float[NDVI_apr.tif]) But when I ...
1
vote
1answer
38 views

Getting aspect and reclassifying raster files using Python in a loop

By using Python in PythonWin 2.7.3, I tried to obtain aspect files of a list of raster files in a folder(called database_Dem20) and save it to another folder, database_Dem20/testOutput. In the same ...
1
vote
0answers
20 views

give importance weighting to sample points in an IDW-interpolation

I am trying to make an IDW-interpolation in arcgis 10.1. In my sample file i have points with the same x,y and z values. According the arcgis-resource-site, the points are considered duplicates and ...
0
votes
2answers
51 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 ...
-1
votes
1answer
20 views

ArcGIS elevation? [duplicate]

I would like to get the elevation of different point in the digital elevation model means around 4000 points would any one please tell me how can it be possible.
5
votes
1answer
284 views

Tabulate Area ArcGIS

I am trying to work out the relationship between the 'processing cell size' and the result from Tabulate Areas. If one uses the same as the raster cell size, and this is the same for both rasters, the ...
8
votes
1answer
305 views

Any rules of thumb for neighborhood settings in Focal Statistics?

In ArcGIS 10, users can define the neighborhood in the Focal statistics tool. The moving window shape can be set to any of the following: Wedge, annulus, circle, rectangle, irregular, and weight. ...
3
votes
1answer
42 views

Spatial autocorrelation analysis (Global Moran`s I) suspicious z-score

I have a doubt concerning the Spatial autocorrelation analysis Global Moran's I, in ArcGIS 10.2. I did the analysis with 3.372 features of a defined study area, and it showed that the features are ...
5
votes
1answer
435 views

Simplifying polygons made from binary rasters using ArcGIS Spatial Analyst?

I'm using MaxEnt to produce a species presence / absence raster layer. It works fine but I have to choose a cut off point for what constitutes presence or absence. As a result I end up with a lot of ...
0
votes
1answer
14 views

Spatial Analyst interactive tool bar histogram bins

In ArcGIS 10.2, after I have created an histogram from the spatial analyst interactive tool bar, how do I collapse the number of bins to a smaller number?
1
vote
2answers
46 views

ArcInfo/ArcGIS Server Spatial Analyst not licensed

It might be me but there is something I’m not able to figure out. I created a model in ArcGIS 10 that uses (among the others) “Extract by Mask” and “Zonal Statistics as Table” as functions (therefore ...
-1
votes
1answer
33 views

Using arcpy.gp.Int_sa in ArcMap gives Error 000824: The tool is not licensed?

My Arcpy code is not working in ArcMap 10.1 because an error with the last line: Error 000824: The tool is not licensed. I have all my extensions turned on, so I don't know why I would be getting this ...
6
votes
1answer
1k views

Comparing extents of rasters using ArcPy?

I am writing a script that takes an input of an Area of Interest (AOI) and then walks through the base directories to find any file that has an extent that intersects with the AOI, clip it and ...
2
votes
2answers
55 views

How to access Spatial Analyst extension from stand alone script?

If I run this script: import arcpy arcpy.AddMessage(arcpy.CheckExtension("Spatial")) from arcpy.sa import Con from arcpy import env fDir=r'd:\scratch\fdir' outFolder=r'd:\aerials\images' ...
1
vote
1answer
127 views

ERROR 000824 while trying to run IsNull Method outside ArcGIS?

I am trying to perform IsNull function to a raster using PyScripter. This is the code I use: import arcpy import arcinfo InRaster = "C:\\data\InRaster" IsNullRa = "C:\\data\IsNullRa" ...
6
votes
1answer
3k views

ArcGIS ERROR 000824: The tool is not licensed in arcpy

I try to run the Zonal Statistic as a Table through arcpy and it gives me: ERROR 000824: The tool is not licensed. Here is the doc for the function: ...
0
votes
4answers
6k views

How can I add the Spatial Analyst ArcToolBox?

I tried to add the Spatial Analyst ArcToolBox by right click and selecting 'Add Toolbox' but I cannot find in any folder the available toolboxes. They seem that they have disappered. I work with ...
1
vote
1answer
364 views

How to create backlink raster for Cost Distance tool?

I have two polygon shapefiles and one cost surface. I need to estimate accessibility to these two sets of destinations. The part that I don't understand is whether I have to use an output backlink ...
1
vote
1answer
747 views

ArcMap 10.1 - Tabulate Area tool “doubling up” for Overlapping Buffer Zones

This question is related to a previous question I asked: Raster Version of Spatial Join (one to many) I used the Tabulate Area tool to crosstabulate values between an overlapping "buffrast" raster ...
0
votes
0answers
56 views

Identifying dwellings/homes from imagery using ArcGIS for Desktop?

I have a task where I need to identify dwellings/homes on property lots. The data that I have is an aerial image of the town, cadastre/property boundaries, land tenure information and land-use. I ...
1
vote
0answers
26 views

Geographic distance from path distance calculation

Is there some way to calculate a geographic distance grid from a path distance output? I'm using arcmap 10.2 and the cost grid is based on land cover and elevation. I can use path distance to ...
0
votes
2answers
74 views

R Spatial Kernel Density Estimation

I am new on spatial kernel density estimation with r and need some suggestions. Saying, I like to estimate the density for some event occurring at a location, for example, the probability of ...
0
votes
1answer
195 views

Topo To Raster executing but not creating the raster

I am using Topo to Raster by File (ArcGIS version 10.1) via arcpy on a large stream and point dataset. Arcpy runs fine and executes without issuing any error message, however it does not create the ...
0
votes
1answer
146 views

Weighted Overlay - passing parameter as text error?

For some reason when hardcoding the save path for the wieghted raster just before runtime it works perfectly. Like such... arcpy.env.cellSize = "90" arcpy.env.workspace = r'G:\Xcel\Route ...
-3
votes
1answer
358 views

How to calculate cumulative mean in ArcGIS, ERDAS and ENVI? [closed]

I'd like to get cumulative mean value from a multiband image (4 bands). How can I do it in ArcGIS, ERDAS and ENVI?
1
vote
1answer
184 views

How can I multiply each band of multiband image by separate scalars using ArcGIS Desktop?

I have an image with 5 bands. I need to multiply each band of this image by different scalars one time (I'm lazy to do it one by one) and then get multiband image as a output. For example ...
0
votes
0answers
23 views

Why are my block neighborhoods not square?

I am running block statistic on a couple of binary rasters. Everything seems to be working fine, but the blocks are not oriented with the rumb lines of my projection. They're tilted about 40 degrees ...
3
votes
1answer
352 views

Can ArcGIS handle missing values to create a contour map?

I am trying to create a contour map for a waterbody. It turns out that in several locations there is no data. I just don't want to use the missing values as zero in ArcGIS because it would create ...
0
votes
1answer
46 views

Incorporate treeline in viewshed analysis

I have performed a bare-earth viewshed analysis of a roadway corridor using a DEM, but upon further inspection on Google Streetview, realize that part of the road has dense trees along it. I need to ...
0
votes
1answer
31 views

Zonal Statistics as Table output is missing some polygons ONLY when run from Python script

I have a raster file from which I am attempting to calculate mean values for polygons defined in a shapefile. Using the Zonal Statistics as Table tool from within ArcGIS works great. My shapefile ...
1
vote
2answers
53 views

Viewshed Analysis for bridge polyline observer feature

I am using the Viewshed tool in ArcGIS 10.2 to determine the cells from a DEM that are visible from a highway corridor that has a bridge crossing a river (my observation feature). My question is in ...
0
votes
2answers
56 views

Calculate cells from which the feature would be visible above the skyline (horizon)

I'm trying to work out whether there is a way to do something similar to a ZTV/Visibility analysis but only include the cells from which the point (with 50m OFFSETA/height) would be visible above the ...
0
votes
1answer
109 views

Failed to execute (RastertoPolygon) Syntax error at or near symbol SPACE

I'm converting series of raster to polygon using RastertoPolygon in arcpy. #import the module import arcpy from arcpy.sa import * from arcpy import env arcpy.CheckOutExtension("Spatial") ...
1
vote
1answer
35 views

Weighted Overlay Decimal Values for Evaluation Scale

I would like to do a weighted overlay of different raster datasets. I would like my evaluation scale to be from 1 to 10 with 0.1 as the incremental value. This way for example a criteria could have ...
0
votes
0answers
451 views

Tabulate area - Spatial Analyse

I am trying to calculate the amount (sqm) of land cover types (forest, water ect.) in 1045 buffer zones, all the same size (500m in diameter).. The buffer zones are polygons and the land cover is a ...
5
votes
1answer
1k views

Creating all possible polyline routes connecting many point locations around polygon obstruction using ArcGIS Desktop?

Lets say I have 30 ports on the west of an island, and 30 on the east, and need to calculate all possible shipping distances between each and every port, with the routes having to steer around the ...
6
votes
3answers
3k 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 ...
7
votes
3answers
3k views

Extract Overlapping Polygon Data to Points

I have a polygon data set of corn yield collected by a combine. However, as the combine drove through the field, there was slight overlap between passes, leading to overlapping polygons within the ...
1
vote
1answer
97 views

Near / Near Table creates -1 values

I have two feature classes. Point feature of hand-sampled GPS locations Line feature of terrace walls digitized from aerial photograph. Because of the less than perfect ways I generated these ...
2
votes
1answer
241 views

Extract/Split raster dataset by attribute (OBJECTID)

I have a raster dataset with an attribute table generated from a series of image classification (unsupervised) and processing tools (majority filter + boundary clean). The attribute table shows pixels ...
1
vote
2answers
193 views

Using Spatial Analyst Sample tool

I have a bunch of rasters and a point file. I need the information from ll the raster files to be added to my points. My usual workflow is to use the Spatial Analyst sample tool. It works fine and ...
6
votes
2answers
262 views

Increasing search radius of nearest neighbors for 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: vegetation types I want to expand using the nibble ...
2
votes
1answer
87 views

Extract raster value to polygon

I am trying to extract raster values within multiple polygons. It would be nice if I could choose between say the maximum or an average raster value within the polygon. For example, I have created ...
1
vote
1answer
52 views

Interpolating points conditionally

I have two sets of data. One comprises all home sales in a given area, where each data 'point' is actually a polygon representing the lot that was sold. The other set comprises arrests made in the ...
2
votes
1answer
29 views

Why does the use of barrier lines significantly increase idw processing time?

The IDW tool's documentation states that using barrier lines will significantly extend the processing time. It does not explain why this happen. Is anyone able to provide an insight into the inner ...
1
vote
0answers
35 views

Combining information from one raster with another raster

I have two rasters, A and A1. Raster A is the image below that is greenish and has the following attribute table: The table has two fields that I need: Value and class_name Raster A1 is the ...