A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [spatial-analyst]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Converting polygon to TIN [closed]

I have a polygon shapefile that I'd like to convert to a TIN in order to use the spatial analyst tools on. Specifically I want to calculate the volume of a polygon if it were filled with 4 inches of ...
0
votes
0answers
11 views

Cost distance which uses a sum of both positive and negative values

I am attempting to create a cost distance raster which uses a cost surface of both positive and negative values. I understand that I could correct for negative values by replacing them with a value of ...
1
vote
1answer
54 views

Accumulate values from raster using ArcPy [closed]

I wrote the script: import arcpy if arcpy.CheckExtension("Spatial")=="Available": arcpy.CheckOutExtension("Spatial") print("Spatial") from arcpy import env from arcpy.sa import * env....
1
vote
1answer
26 views

Aggregating pixels of raster dataset using ArcMap

*I am fairly new to working with raster data in ArcMap. * I have a raster dataset like in the picture I have uploaded, and you can assume that each individual pixel of the raster has a value which is ...
0
votes
1answer
25 views

Failing to use the correct Con expression in raster calculator in ArcMap

So, I am trying to use the Con statement in ArcMap to add a certain value to a raster dataset (raster2) if the data is the same as an other dataset (raster1), if not I should just stay the same. I ...
0
votes
0answers
20 views

How to add up election zone voting upto county level?

Sorry if it is a trivial question. I am trying to add voting data from election zone up to county-level using spatial join tool, but I cannot figure out which relationship I should use. When I use ...
1
vote
2answers
24 views

Using map algebra get minumum and maximum value in ArcMap

I am looking for an easy solutions with Map Algebra for this one without Saving: # Import system modules import arcpy from arcpy import env from arcpy.sa import * # Set environment settings env....
0
votes
1answer
27 views

Calculating true distance of cost distance raster using ArcMap

I have calculated cost distance using a raster unrelated to path distance (a heat index) but would like to also measure the true path distance of those 'routes.' Is there a way to calculate such? If I ...
0
votes
0answers
22 views

Processing array of values at cell location across raster maps using ArcGIS Desktop

I have several (say n=10) raster maps with ratings values. At a particular cell location, I would like to create a sum composed of the maximum rating, half the next highest rating, then a quarter of ...
1
vote
1answer
42 views

ArcMap 10.7 - Using Python to do proper rounding instead of truncation of a raster. Can't figure out why an error is thrown

My code is throwing the following error: TypeError: must be str, not float. It is supposed to use the Int function in Spatial Analyst to do proper rounding instead of truncation. How can I ...
0
votes
0answers
32 views

Using Raster Calculator in ArcPy gives ERROR 000989

I am creating a watermask from the DEM in ArcGIS DEsktop 10.5 python script. After executing the tasks, at the end I am getting the MIN elevation from Statistics_analysis. Now I am doing ...
1
vote
1answer
27 views

Raster calculator - problem with number variables in ModelBuilder

When I 'm calculating this expression: ("%Soil organic carbon (t/ha)%" / (10000 * "%Soil depth (m)%" * (Float("%Bulk density (kg/m3)%") / 1000))) * 100 Where: "%Soil organic carbon (t/ha)%" and "%...
1
vote
1answer
30 views

Using IDW tool in ArcGIS Desktop

In ArcGIS Desktop 10.7 we have IDW tool, but when you want to work with it you should need two layers such as : Some points and a closed polyline (Boundary) as following: then using IDW: but I have ...
2
votes
1answer
37 views

R {sp} spatial subset: keep so many polygons as number of overlapping points

I have a set of overlapping spatial points and spatial polygons. I need to subset the polygons by overlapping points, but, if my polygon contains 2 points, I need to keep polygon twice, etc. To keep ...
0
votes
0answers
26 views

What is causing unexpected output from Lookup tool of ArcGIS Pro Spatial Analyst?

I'm using the resample tool in ArcGIS Pro to create a new raster with values equal an attribute from another raster, and the results are not what I expect. The lookup field in the input raster is ...
0
votes
0answers
15 views

Using topo to raster tool on temperature contours and getting error 010089?

I am using the Topo to Raster tool in ArcGIS Desktop 10.5 on a global temperature contour shapefile and keep getting this error: ERROR 010089: C:\Users\workspace is not a supported feature type. ...
0
votes
0answers
36 views

Interpolating surface as though bare earth DEM after using Extract by Mask in ArcMap

I have some stone wall features that I need to determine the height of in ArcGIS Desktop. I have extracted the features out of the DEM by using the extract by mask tool. Now I need a method for ...
0
votes
0answers
8 views

How to exlude raster cell from the cost surface estimation?

I use ArcGIS 10.1, I am trying to generate a cost surface (Path Distance tool) in order to generate a least-cost path. The problem is that I would exclude a specific area of the raster from the ...
0
votes
1answer
19 views

Spatial Analysis: use of buffer function inside GeoDjango's LineString model

I'm trying to make a buffer around a line. I've a model with a LineString field and I would to use the buffer function like this to make my buffer. The aim of this is render the buffer on a webmap ...
2
votes
1answer
34 views

Zonal Statistics as Table gives error when there is no overlap

I'm trying to generate Zonal Statistics with a raster and set of polygons. In my case the polygons represent census tracts in the US and the raster is population density. The problem is that ...
0
votes
0answers
22 views

Take mean of points within a radius using ArcGIS?

Is it possible to derive for every point in a shape file the spatial mean of all points within a radius of x km from that point in ArcGIS? At the moment I can only find the point to raster tool which ...
0
votes
0answers
24 views

Isochrone estimating using ArcGIS Raster Calculator

I am using ArcGIS 10.1 and I am trying to use the contour tool in order to get isochrones on a time cost raster. The raster has been estimated in the raster calculator by summing the path distance ...
0
votes
1answer
34 views

Euclidean distance raster fails with ArcPy script

I am working on a script tool to create watersheds. Part of my process requires a distance raster from various features that I use in an equation to perform local modifications to my DEM. I have been ...
2
votes
1answer
53 views

Map algebra with loop and SetNull not working

I'm trying to run a loop through a number of rasters while using SetNull but keep receiving an error message. I have worked on these rasters individually using SetNull and it it works, but would need ...
1
vote
1answer
53 views

Raster calculator giving error 000539

I'm trying to do Subtraction between two rasters. and I'm getting this error 000539 : Error message from Python. Description The calculation used by the Calculate Field or Calculate Value tool is ...
0
votes
1answer
48 views

Using Raster calculator gives ERROR 000539

I'm new with ArcGIS. I would like to do a calculate of NDWI. So I'm using Arctoolbox => Spatial analyst tools => Map Algebra => Raster calculator. But when I'm trying to perform it, I get this error :...
1
vote
0answers
44 views

Average width of a a zone [duplicate]

How can I get the average width of a region or inside a curve? or How can I calculate minimum,maximum, and average width of an irregular polygon? I have attached a figure, I want to know how can I ...
0
votes
1answer
41 views

Hiding Output Direction Raster from Euclidean Distance in ArcGIS ModelBuilder

I am using ArcGIS Desktop 10.5. Is there any way to hide (for aesthetic reasons) an empty Output Direction Raster resulting from an Euclidean Distance in ModelBuilder? I currently have a ...
0
votes
0answers
12 views

Running a reclass code based on SHAPE.LEN field

I am trying to run a python reclass function but I keep getting the following error 000539: Error running expression: Reclass( GPVARIANTOBKECT0.LEN) A work around is to add a new field that is ...
1
vote
1answer
38 views

Multiple buffer ring area analysis using ArcGIS Pro

I have some sites what I've created multi ring buffers for in one shape file, each ring is 50m from the center up to 1000m. The file is one shapefile with many polygons and each ring is the full size (...
2
votes
1answer
49 views

How to check for the nodata cells in a raster image

Please let me know how to check for the locations of nodata cells in raster images in ArcMap. The raster images has no attribute table.
1
vote
0answers
64 views

Using ModelBuilder to tabulate area of overlapping buffer zones in ArcMap

I'm looking into how much open and close canopy falls within given buffer zones. My buffer zones are a polygon layer created from point sites, but canopy data is a raster with 2 types of data, open or ...
0
votes
1answer
22 views

Getting values from multiple rasters that overlap polygon using ArcGIS Desktop

I have a series of rasters from consecutive years that represent different levels of fire severity. Some of these rasters have pixels that overlap each other in the different years. I have a set of ...
2
votes
2answers
53 views

Stream Feature generated from DEM is missing data

I tried to search other questions to see if this has been answered but couldn't find anything, so sorry if this is redundant. I use the Hydrology toolset in Spatial Analyst to create a stream feature ...
0
votes
1answer
33 views

Choosing tool to create raster with probability of occurence on each cell using ArcGIS Desktop?

I have two different datasets: 1) seal occurence (point data) 2) fishing boat tracks (line data) First, I need to create two density maps, i.e. one for each dataset. ...
0
votes
1answer
23 views

Polygon zone fell outside bounds of raster using ArcPy

I'm trying to perform zonal statistics, and get a message that: A polygon zone fell outside the bounds of the raster. It is not possible because the polygon is just a 50-km buffer zone around the ...
0
votes
0answers
30 views

Dividing raster cell into smaller cells and evenly spreading values to new cells using ArcGIS Desktop

I need to divide/split raster cells into smaller cells (i.e. coarse to fine resolution) and then evenly assign values of the original cell to the finer cells. For example - focusing on a single cell ...
0
votes
0answers
37 views

Zonal statistics raster striped in ArcMap

I am using ArcGIS Desktop 10.5. I have a Python program to extract peaks in a DEM Raster. After reclassifying the raster at various contours (e.g., above or below 130 m) and then converting the ...
1
vote
1answer
19 views

Errors when filling/replacing NoData values with Raster Calculator FocalStatistics

I have the following raster, which has many NoData values. Only the NoData values that are in the ocean need to be filled. I made a seperate raster with all the NoData cells that are in the ocean. I ...
2
votes
1answer
82 views

Moran's I test on regression residuals with spatial autocorrelation

Suppose we want a regression model $y_i = f(x_i^t) + e_i$, where $y_i$ and $x_i$ are collected spatially, and we believe there would be spatial autocorrelation (SAC). I read some popular methods like ...
1
vote
1answer
52 views

Combining two aligned overlapping rasters in raster calculator

I have two rasters with the same extent, projected coordinate system, cell size and they are aligned. "raster1" has continuous values ranging from 0 to 6.09 "raster2" has continuous values from 0 to ...
0
votes
0answers
20 views

Changing flow direction raster using ArcGIS Desktop

How do I change the flow direction raster going counterclockwise from east (0 degrees) to due east (360 degrees) to north (0 degrees) to due north (360 degrees) using raster calculator ? I have ...
0
votes
2answers
36 views

Cell Statistics Error 000864: Overlay statistic: The input is not within the defined domain

I am trying to find the sum of a list of rasters using Cell Statistics in ArcPy. I am getting the following message: 'ERROR 000864: Overlay statistic: The input is not within the defined domain.' I ...
1
vote
0answers
24 views

Merge attributes using spatial join where Target and Join feature is the same

I have a single polyline feature class and i need to merge one of the attributes together based on a common identifier using a delimiter (i.e. |). I was certain Spatial Join using the one feature ...
0
votes
1answer
40 views

Comparing Slope among various DEM resolutions?

I'm comparing the slope products derived from DEMs of various spatial resolutions (1m, 10m, 30m) for a set area. The trend I find is that as the resolution improves, the areal extent of various ...
1
vote
1answer
48 views

ArcMap closing when running ArcPy script?

In the below script the processed file will be added to the table of content in ArcGIS, since my data is too long it cause the program to be closed due to opening too many files, how I can run the ...
1
vote
1answer
46 views

Change detection between two binary images

Is there a scientifically-valid to use raster calculator to subtract two binary images (0, 1) to get the difference between Pre- and Post flood events? In pseudo-code: Difference "change detection" ...
0
votes
0answers
25 views

Zonal Statistics for Overlapping Zones Consistent failure

I am trying to run Zonal Statistics for Overlapping Zones on some Buffer feature classes that overlap. I downloaded and ran the script and it succeeded in calculating the zonal statistics for my first ...
-1
votes
1answer
67 views

Calculating average slope using ArcGIS Pro?

I want to rate for ease of walkability for one track, I have a road shapefile and raster of the slope. Any ideas about how to calculate average slope or other methods to do that?
0
votes
0answers
12 views

Aggregate&Clip OR Clip&Aggregate?

I have a raster data with resolution of 0.00833333 deg and want to aggregate it to 0.25 deg resolution. I used two approach: I first clipped my raster with my study area (polygon feature) and then ...