Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen 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
1answer
13 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
9 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 ...
0
votes
1answer
29 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
34 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.
0
votes
0answers
21 views

Kernel density units ( events per unit area) conversion to count (events per cell) [closed]

I'm trying to convert my raster values on each cell so that they represent events per cell and not the default in Arcmap events per unit. I know that I could do that with Identify tool, but ...
1
vote
0answers
57 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
18 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
46 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
23 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
16 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
21 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
35 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 ...
0
votes
0answers
6 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 ...
1
vote
1answer
32 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
39 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
15 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
23 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
22 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
36 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
46 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
40 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
21 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
37 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
11 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 ...
0
votes
0answers
27 views

Finding suitable area using raster in ArcGIS Pro?

I have 2 raster data: -land use (water, urban, agriculture, forest) - risk categories (low, medium, high) How can I find out the land use category that falls on the medium+high risk using raster in ...
0
votes
1answer
19 views

Attribute Error when trying to run a script with Zonal Statistics

When I run my script I get the following attribute error: Traceback (most recent call last): HouseGradeBasementElev.tbx#HouseGradeBasementElev.py", line 31, in <module> AttributeError: '...
1
vote
1answer
60 views

ArcPy reclassify with if statement and cell value

I have a workspace with NDVI rasters and another workspace with greyscale rasters. The rasters have the same name. I want to reclassify the NDVI raster while also using the greyscale values in a ...
0
votes
1answer
28 views

SetNull function problem

I am trying to calculate a sum for a set of raster but before I need to disregard No Data values (that are equal to -9999 for my rasters) by using SetNull function. It gives an error. What could be ...
2
votes
1answer
45 views

Raster processing “Tool is not licensed”

I have a piece of python code written that works fine on a small test area but when I blow up the size of the test area I get a "tool is not licensed" error. arcpy.CheckOutExtension("Spatial") ...
1
vote
1answer
27 views

Finding location of specific value in spatial TIFF file using R?

I want to find location of specific value in one spatial GIS TIFF file and then compare location to main file in order to find some information. for example consider this image which is my main image. ...
0
votes
1answer
36 views

ArcGIS Conditional operation in Raster Calculator

I have two raster datasets called "Raster1" and "Raster2". Raster1 is slightly larger than Raster2 in extent (in Top, Left, Right and Bottom). This means Raster2 is fully contained by Raster1. I ...
0
votes
0answers
34 views

ERROR 000732 using Con in loop?

I've got this process I'm trying to automate that essentially iterates across a set of rasters, runs a con statement on them to put values from a separate raster wherever the first raster has certain ...
0
votes
0answers
24 views

Subsetting one raster based on attributes from another

I am trying to expand existing 'tidal complexes' to include the adjacent 100-year floodplain areas. Both are rasters, and so far I've used Euclidean Allocation to identify the tidal complex closest ...
0
votes
1answer
58 views

Looping through two raster folders to perform raster calculation gives ERROR 999998?

Last week I asked Looping through two raster folders to perform raster calculation? about a script to loop through two geodatabases and perform a raster calculation by matching the two rasters up ...
0
votes
1answer
52 views

Calculating Area solar radiation gives ERROR 000732: output raster considered as Input?

I am trying to calculate Area solar radiation for rasters in a list. It seems that the tool allows to create unique rasters for direct, diffuse and direct radiation duration, and calculates ...
0
votes
0answers
15 views

Calculating the error in a cut and fill between two surface models

I have a LiDAR suface model from 2006 and a LiDAR surface model from 2013. These two surfaces have about a 0.4 foot (0.12m) difference between the Z values on an adjacent road (2013 is 0.4 feet ...
0
votes
0answers
23 views

Calculating total cost along multiple polylines using ArcGIS Desktop?

I'm looking to create a new sewer line. Part of the process includes making a cost analysis, which mainly centers along elevation. Areas that are lower than the treatment area need to be pumped, areas ...
1
vote
1answer
57 views

Raster Combining in batch using ArcPy?

I am trying to combine two different raster files using a loop, with the following script. import arcpy import os thectr = 0 ws = arcpy.env.workspace = r'D:\BRB Snow Cover\Sample\TerAqua' ...
1
vote
2answers
35 views

Reclassifying Raster Value Classes based on pre-defined function using ArcGIS Spatial Analyst?

I have this distance raster (shown in the image below). Is it possible to reclassify the distance values based on the description below- For distance values 0-100 (new value decreases linearly from ...
0
votes
0answers
10 views

ArcMap Zonal Statistics as Table 2 output does not contain all zones

I'm encountering an issue with zonal statistics in which my output table contains less zones than my input (the output contains roughly 1/3 of the input zones). It is a large data set with about 65,...
0
votes
2answers
73 views

Shift in raster in python 3.6

I have a python script for a color anomaly detection study. I am attempting to create two rasters each with three classes: one raster representing a "target" and the other representing "background", ...
0
votes
0answers
28 views

Creating raster from grid algebra expression using point attribute values?

I have a point shapefile representing groundwater production wells with annual pumpage values distributed over a general area. I'd like to create a raster layer with each cell representing the ...
0
votes
1answer
32 views

Find intersecting cell values for multiple rasters

I am trying to find where 2 raster cells values intersect. I have a ground DEM raster and a water elevation raster. I need to find where are values meeting and export the cells. In the graphic below,...
0
votes
0answers
15 views

Automate simple kriging of multiple fields from the same shapefile using ArcPy?

I'm trying to interpolate temperature data that's in multiple fields of a shapefile automatically using ArcPy. It doesn't sound like a difficult task but I'm new to both ArcGIS and Python, so here's ...
0
votes
2answers
62 views

Applying low pass/median filter over DEM in GeoTIFF format using ArcGIS Desktop?

I want to apply a median/low pass filter (over a few hundred kilometers) over my DEM to reduce the noise. I tried ArcGIS focal statistics tool but no luck. I got a blank GeoTIFF file. How can I do it ...
1
vote
1answer
86 views

Clustering spatial lines in R by direction

There are tens of ways to cluster spatial points in R but I couldn't find any for spatial lines. What I would like to get is the average trajectory directions that each of these cyclones (spatial ...
0
votes
1answer
27 views

Expanding raster with many zone values using ArcMap?

I am using ArcMap 10.6.1 and I need to expand a large raster with tens of thousands of zones by 1 cell using either the expand tool or a map algebra expression. The tool asks to specify each zone to ...
0
votes
0answers
32 views

Changing NODATA value GeoTIFF with ArcPy of ArcGIS Pro?

I'm using a tool in ArcPy for Python 3 (ArcGIS Pro) which applies an operation to a raster file in GeoTIFF format. condicion = '("{}" - {}) / {}'.format(input_image,n,m) arcpy.gp.RasterCalculator_sa(...
1
vote
0answers
37 views

Getting ERROR 000539 running Raster Calculator in ModelBuilder?

I am trying to run Raster Calculator in ModelBuilder, however I am getting what looks like two errors after my model reaches a certain step: ERROR 000539: Error running I'm not sure if it is a ...
0
votes
0answers
12 views

Rescaling NDVI from 0-255 to -1-1 in ArcGIS Pro?

My NDVI raster ranges from 0-255. My goal is to get values from -1 to 1. If using the Raster Calculator, what would be the correct equation to achieve this? I'm working in ArcGIS Pro.