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

Finding overlap and sum of rasters using ArcGIS ModelBuilder?

I have about 300 rasters that I need to find the overlap and sum of to find 'hotspots'. I set each raster value to 1 and used the Mosaic to New Raster tool to create a new raster. I tested this with ...
1
vote
0answers
19 views

Join DEM and GPS data point ArcMap

I have a problem using ArcGIS. I have generate a DEM raster with a 3D online software and exported it in ArcGIS. So I have a raster of my surface. After that, I have some GPS point (x,y,z) that we ...
1
vote
1answer
35 views

Setting RGB TIFF “zero” values to “NoData”

I am having a problem with getting my Landsat 8 RGB (bands 2-7) .tif background values (very small number but not zero) set to null. I have tried the following tools: Raster Calculator (image 2) ...
0
votes
1answer
34 views

Getting Con statement in ArcPy to work?

I have a script in Python that includes a series of Spatial Analyst tools. I need to reclassify a raster and have tried using Remap which fails and have also tried a Con statement. The Con statement ...
0
votes
2answers
17 views

Getting error 000539 when calculating TWI?

I'm trying to calculate the twi from my area using LN((flowaccu+1)*900/Tan(sloperadian). My first result was wrong because my area is an endhoreic basin. So I made a flow accumulation raster based on ...
2
votes
1answer
26 views

Zonal Statistics As Table with more than one zone?

I am trying to sum up the cells of a raster that fall within a polygon of multiple habitat types and ten management authority zones. Is there a way for Zonal Statistics As Table in ArcMap 10.5 to use ...
2
votes
0answers
29 views

Identifying raster max and converting to point using ArcPy?

This is a variant of finding max elevations in a raster and converting them to point containing the max value. I have done this successfully using the full raster (39000x39000), zonal stats, and a CON ...
1
vote
0answers
23 views

Raster calculator giving different results in ArcPy than in ArcGIS?

I have two rasters representing travelling speed: one for road (with speed values for different types of roads and "0" values where there is no roads) and one for land-cover (with lower values, but no ...
-1
votes
0answers
25 views

Calculating area of each pixel in raster using ArcGIS Pro?

I have a raster and I don't know if I can trust the projection to have the same area in the whole map. Is there a way to create a new raster or raster layer that has the area of each pixel or to turn ...
0
votes
1answer
23 views

Performing Weighted Overlay using vector data with no inherent values in ArcGIS Desktop? [closed]

I have been asked to do a weighted suitability analysis using all vector based polygon feature layers (8 different layers). Each layer has been ranked from 1 to 8 in order of importance. My problem ...
2
votes
1answer
27 views

Using ArcGIS ModelBuilder iterator to for Raster Calculator?

I have a raster that I need to divide by X in a model. I have hundreds of values I need to divide it by. What I am trying to do is create a list of values, and use the iterator to loop through them ...
0
votes
0answers
14 views

Error: trying to get slot “polygons” from an object (class “data.frame”) that is not an S4 object

I am trying to join .csv file data to shape file data using @data slot. I am getting error "trying to get slot "polygons" from an object (class "data.frame") that is not an S4 object " Here is my ...
1
vote
1answer
19 views

Calculating Kernel Density within defined region?

I am attempting to calculate a Kernel density raster dataset from a point dataset within a defined regional boundary. However the output dataset generated is in a large square that cuts off one of the ...
1
vote
1answer
29 views

What is this Map Algebra expression performing in ArcGIS ModelBuilder?

I was given a model my someone else, and am trying to decipher exactly what they are doing. There is a step in the model which has the following expression: SetNull("%Raster1%"<0,"%Raster 1%") ...
1
vote
0answers
27 views

Copy_raster to remove no data value using ArcPy

I have multiple raster, I am trying to remove Nodata value using Copy_raster option. Since I have multiple raster, I am running a ArcPy script, save the raster as same input name. But that script, ...
1
vote
1answer
31 views

Making raster layers calculated from point feature congruent?

Raster A and Raster B are both calculated from the same point feature. Raster A results from Natural Neighbor Interpolation in the Spatial Analyst toolbox. Raster B results from Point Density in the ...
0
votes
0answers
15 views

Intersect multiple binary rasters based on certain criteria in ArcMap

I have multiple binary raster image (0.1). For example if I have n images, how can I extract the pixels that has the value of 1 and frequently occurred " the same pixels" in 70% of the n images (for ...
0
votes
0answers
19 views

Flow Distance Not Calculating for Entire Raster

I am trying to calculate the height above the nearest stream for an area. The problem is, it only does so for a portion ( the colored area below) of my area of interest. In the pic below, the black ...
0
votes
1answer
42 views

How to Select Attributes from a Selection of Attributes

I have a land-cover map for an area in which I want to identify certain attributes that fall within a category. I want to select the shapes that represent wetlands that are in a grassland area. To do ...
0
votes
1answer
34 views

Identify polygon grid in which the point belongs to?

I have a dataframe with 3 columns , which has my custom lat / long with a failure rate associated with each Lat / long head(df) Latitude Longitude Failure.rate 51.3 ...
0
votes
0answers
21 views

Selecting Certain Slope Class That Is Not Surrounded Narrowly By Other Class

not sure how to brake it down, but let me try i've created a slope classification with this class now what i'm looking for is how can i select the class of 0%-8% that is not surrounded narrowly by ...
1
vote
1answer
31 views

Access layer of raster stored in memory using ArcPy to create NDVI from subset of multi-band raster

I am trying to create a final output of an NDVI raster for a number of Landsat images run through a for loop in Python 3 (for ArcGIS Pro). I am able to produce the NDVI rasters when I save the ...
0
votes
1answer
26 views

Calculating distance between points following flow direction on ArcMap?

I delineated flow directions in a watershed on ArcMap (10m DEM). Then I want to calculate distance between two points 'following' the flow direction in each raster cell, not a straight line distance. ...
0
votes
1answer
55 views

Multiple Output for Zonal Statistics as Table [closed]

I am trying to merge NDVI data from 2005 to 2018 (two .tif per decade) with a region land use. For this, I have used "iterate rasters" with 36 of .tif I'll be using, as the 'Input value raster' of ...
1
vote
0answers
24 views

Creating IDW of up to 20,000 points in ArcGIS Desktop? [closed]

I am create IDW interpolation of 60-70 points in ArcGIS. It takes 2 minutes. But when I create IDW of 20000 points in ArcGIS, it takes at least 4 hours and 30 minutes. I want to ask why takes much ...
0
votes
1answer
14 views

Merging layers in cost distance analysis to account for other variables?

For example, say I was rafting down a river but there was a small bridge in the way. That would significantly change the difficulty but not necessarily stop the progress. Is there a way for me to ...
1
vote
1answer
24 views

ArcGIS CutFill raster output to polygon

I've got a raster with the cut fill tool, its attribute table shows volume information which I'd like to pass to a polygon overlapping the raster. The polygon was originally used to clip a raster ...
2
votes
1answer
39 views

Replace the empty cells of one raster with the values of a second raster

I have 2 rasters with the same extent. In the first raster, there are a lot of empty cells that I want to replace by the values of the second raster. I have tried Raster calculation with the following ...
0
votes
0answers
24 views

Writing Arcpy TopoToRaster for loop?

I have a script that iterates through the double fields in a shapefile and then creates a raster using TopoToRaster but I keep getting an error at the moment it begins with the "Enero" field, this is ...
2
votes
1answer
24 views

Neighborhood Analysis with ArcGIS Spatial Analyst to Calculate Percentage

I have a raster file where the cells (1 meter) are classified as 1 (forest) and 0 (non-forest). I would like to create another raster (1 meter) where each cell is given the percentage of cells within ...
0
votes
0answers
25 views

What is “resolution preserving cell size projection method”? in ArcGIS 10.7

I have read Introducing the new resolution preserving cell size projection method but I am still confused what does it mean for a analyst practice. I primarily work using PCS systems and often ...
1
vote
1answer
60 views

Using ArcGIS Pro raster calculator to give cell value based on cells in its neighborhood?

I have a land cover dataset, I want to find forested cells that are adjacent (touch) agricultural cells. Is there a way I can achieve this with the ArcGIS Pro raster calculator?
0
votes
0answers
11 views

Simulating random field with power law distribution using ArcGIS Desktop?

As far as I know, there are a lot of methods developed for simulating 2D random field with Gaussian distribution, such as geostatistical method, Fourier transform, etc. But a lot of geoscientific ...
0
votes
2answers
51 views

Using Boolean And to overlay layers in ArcGIS Pro?

I am working for a project related to a site selection in which I have 5 layers to overlay to have as result: Zone1: area suitable Zone2: area not suitable. Boolean And seems to be the perfect ...
1
vote
0answers
30 views

Overcoming spatial bias in ArcMap or ArcGIS Pro?

I have a shapefile showing invasive plant locations but they mostly collected from more accessible places such as near roads or hiking trails. Is there a method to correct this bias in ArcGIS ...
0
votes
0answers
44 views

Calculating flow accumulation in area using ArcGIS Spatial Analyst?

I want to calculate the total flow in an administrative area which is independent of the basin boundaries. I used the DEM file from HydroSHEDS and so far I have followed these steps: Spatial Analyst ...
3
votes
1answer
112 views

Zonal Statistics is returning null values in ArcGIS Desktop?

I am using Zonal Statistics as Table to obtain the Max height from a DEM for each polygon (then Joined to the polygons). For some reason, a lot of the polygons get NULL returned. All the polygons ...
0
votes
1answer
35 views

Understanding difference between area calculation when using zonal statistics tool and identify button?

I am working in ArcGIS Desktop 10.5 and I am a beginner. I have very basic, non-overlapping polygons over a raster that represents bathymetry data. I need to figure out various statistics about each ...
2
votes
0answers
35 views

Writing Raster Calculator Expression?

I use ArcMap 10.3. How do I create an expression in RasterCalculator that allows me to sum up 4 rasters (every pixel has an associated value) and the result to be 0 if any of the 4 values is 0? For ...
0
votes
1answer
23 views

Creating new raster with minimum (or maximum) value betwen two rasters in ArcMap?

I am using ArcMap 10.3. I have two temperature rasters from two months. I need to create a new raster from these, but the new raster should have in each cell the maximun value betwen the initial ...
0
votes
0answers
14 views

Making Cost Surface Distance map?

Projection is in NAD 83- units of measure in meters. I have major roads NC vector data overlaid on Forsyth county in North Carolina. I would like to create a cost surface distance map using this ...
1
vote
0answers
19 views

Controlling field names with arcpy.Combine?

If I run the arcpy.Combine command as such: result = arcpy.Combine(["CDL/raster07", "NHD/raster07", "OtherRaster"]) The resulting raster has an attribute table with fields [f.name for f in arcpy....
0
votes
1answer
35 views

Save output raster and automatically open in ArcMap? [closed]

I want to reclass (by Table) raster files, then perform raster addition of the output (reclassed) rasters, then automatically display the final output (raster SUM) in ArcMap. This is the code that I ...
0
votes
1answer
62 views

Spatially constrained multivariate clustering in ArcPy gives AttributeError?

i want to use the Spatially constrained multivariate clustering tool for a point shapefile. I'm using PyScripter. The shapefile is named "LITO2016_area_modelli_20190312_v2" and the attribute fields i ...
0
votes
0answers
27 views

Changing particular value of raster dataset to zero using ArcPy?

I try to change a particular value of raster dataset to zero using python script. When I deal with one raster, it works. Python scripts as follow: import arcpy from arcpy import env from arcpy.sa ...
0
votes
0answers
17 views

Weighted averages: accounting for cell size

I'm a non-geographer using ArcMap 10.6. I have a similar question to the two asked here: Weighted averages: accounting for grid cell surface variation in proportion to the cosine of its latitude I ...
1
vote
2answers
33 views

Calculate raster statistics for polygons in a polygon feature class

I have a DEM across my study area where symbology has been changed to show elevation changes in 100m intervals. I have a polygon feature class where each polygon delineates a landslide. My landslide ...
0
votes
0answers
29 views

Build measure of state change

I want to be able to build a measure in ArcGIS (ArcMap). (1) I have some shapefiles of sovereign states by centuries. These are polygons with the name of the state as ID. (2) Moreover, I have a ...
0
votes
0answers
46 views

Cannot delete geodatabase while tool is running?

I have created a script tool that performs raster analysis. It publishes intermediate raster layers to a newly created, temporary workspace (in_memory does not work well with rasters so I don't want ...
0
votes
1answer
23 views

Creating user defined input to simplify Reclassify tool and negate need for remap

I would like to build a script tool using Arcpy that reclassifies a raster layer based on a single user input parameter. For example, if the user inputs the number 7, then 0 - 7 would reclassify as 1, ...