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
1 answer
27 views

Introducing formula in Raster Calculator of ArcGIS Pro

What is the correct way to introduce this formula in the raster calculator? It is the formula in order to calculate m-coefficient for L factor for RUSLE model. O = slope in degrees I tried multiple ...
gis1234's user avatar
  • 175
0 votes
0 answers
13 views

Generalization of classified raster: reassigning class after Region Group and Nibble

I want to do a Generalization of classified raster in ArcGIS as it is described here: Generalization of classified raster imagery. The documentation includes following steps: 1. Majority Filter, 2. ...
Katrin's user avatar
  • 1
0 votes
0 answers
29 views

Moving points along road line to generate start and end points 200 meters on either side of original point using ArcGIS Pro

I tried to keep it succinct in the title, but here is basically what I'm trying to do (I eventually need to script this using Python): Generate a start point 200m in one direction from the bridge ...
userfriendly's user avatar
0 votes
1 answer
35 views

Raster calculator gives black map output when excluding values

I'm trying to generate an exclusion map from 7 layers of raster having values of zero and one. The zeroes represent the unsuitable area while the ones represent the suitable area. with this, I'm ...
Yfunfur's user avatar
1 vote
1 answer
24 views

How to calculate average raster index values using window around specified points in ArcGIS Pro

I am using ArcGIS Pro 3.1 and would like to calculate the average index values of a raster within pre-defined areas. I have a raster layer containing index values for each pixel. I also have several X-...
Joseph Teresi's user avatar
0 votes
1 answer
42 views

Distance Accumulation script execution in ArcGIS Pro [closed]

I am currently working on a project that involves the generation of multiple distance accumulation rasters for a large set of features (volcano buffers) in ArcGIS Pro, using Python. Specifically, I ...
Ttz bng's user avatar
-1 votes
2 answers
37 views

Automate transects within polygon

I have a river polygon file and want to make transects parallel to the flow of the river. Transects can be any length, but must be 100 m apart from each other. I need enough transects to "cover&...
Jill's user avatar
  • 1
1 vote
2 answers
43 views

Using ArcGIS Pro to calculate required height of debris dam structure in stream when expected volume to retain is known

I have the locations of potential debris dam structures to be placed in a stream and know the contributing watershed area and the estimated debris volume (in m3) that would flow down that watershed ...
scoite's user avatar
  • 41
1 vote
0 answers
30 views

ArcGIS Pro - ERROR 010167: Could not open workspace <undefined>

I'm trying to run the Extract by Mask tool in ArcGIS Pro 3.1.2 to extract areas of a raster overlain by a polygon layer. I keep getting: ERROR 010167: Could not open workspace . I have tried ...
Luanita Snyman-van der Walt's user avatar
0 votes
0 answers
43 views

ArcGIS Pro: Raster Con fails with Error 010423: random temp file does not have valid statistics as required by the operation

What am I trying to do: I am attempting to use the CON function in ArcPy to create a raster of all areas within my area of interest with an elevation between 1600 and 1650 meters above sea level based ...
Sir_Zorg's user avatar
1 vote
1 answer
84 views

What does ArcGIS Kriging use lag size for, if semivariogram model (range, sill, nugget) are prespecified

Using the Kriging tool in ArcMap I'm a bit confused on the meaning of parameters. The interface asks for lag size, and optionally range, partial sill and nugget. My understanding is that lag size is ...
Sideshow Bob's user avatar
  • 2,313
0 votes
2 answers
37 views

Use the EucDistance function of ArcPy in PyCharm

I failed to calculate the Euclidean distance with the EucDistance function in the PyCharm. The codes are as follows. import arcpy from arcpy import env from arcpy.sa import * arcpy.env.overwriteOutput ...
zongxu li's user avatar
1 vote
1 answer
50 views

ArcGIS Pro - Raster Calculator Percentiles - conditional

I want to 'cap' the values of a raster if it exceeds the percentile value. For example if the 95th percentile value of the raster was 10000, then anything at or above that value would be assigned a ...
Daniel Sim's user avatar
-1 votes
1 answer
78 views

Calculating bamboo index

I am working on my project on bamboo distribution using RS. As per the literature, I found that bamboo indices is calculated as: BI = (NDVI-SI)/(NDVI+SI); Where NDVI is vegetation index and SI as soil ...
Walker's user avatar
  • 173
0 votes
1 answer
24 views

Find the area of a raster created from drone data

I am trying to find the areas for a series of drone captured mosaic tiff data using ArcMap 10.8 which are irregular in shape. I have tried using Raster Calculator and multiplying by 0 to then use the ...
Karyssa's user avatar
  • 21
1 vote
1 answer
42 views

Moderate raster values based on another raster

I am trying to make a soil erosion risk model using raster overlay in ArcGIS Pro. I have calculated soil erosion risk in raster calculator by combining the following risk factor rasters: slope ...
Bill's user avatar
  • 31
0 votes
0 answers
17 views

Areas don't add up using Raster Calculator & and Tabulate Area

I'm using & (AND) in Raster Calculator for two rasters and then using Tabulate area to work out the area of each in a polygon layer. But the amount in the resulting table is more than the amount ...
rowan eisner's user avatar
0 votes
0 answers
36 views

Large polygon with null geometry

I have a flood hazard area polygon that I'm creating based on a depth raster for a HUC 8 watershed. The script tool I use is as follows: import arcpy, os arcpy.env.overwriteOutput = True arcpy.env....
Tebetheia's user avatar
3 votes
1 answer
39 views

Reset the NODATA to negative value error

I have a requirement for converting NODATA to value -3 with my floating point data. I have tried to reset NODATA by using Raster Calculator with the formula of Con(IsNull("tif"),-3,"tif&...
JENN's user avatar
  • 31
0 votes
1 answer
60 views

How do I create a polygon layer of high slope (>58%) area from a DEM in ArcGIS Pro

I am hoping to get from a slope raster (calculated from a 10m resolution DEM) to a polygon of areas above a certain grade (58%). I am using ArcGIS Pro 3.1. I have used the Raster Calculator tool to ...
Andrew Muloford's user avatar
1 vote
0 answers
44 views

Get the pixel value of a raster object using Python and ArcPy

I used the following code to get the pixel value of specific location of a DEM image (in GRID format): import arcpy from arcpy.sa import * inRaster="C:\\data\\dem" slop_temp=Slope(inRaster) ...
GIS2000's user avatar
  • 11
0 votes
0 answers
11 views

Establish a least-cost path between a point and a line (coastline)

I have a basic level of knowledge of ArcGis Pro. I need to establish a "least cost path" between a point and a line, which, in this case, is the coastline. What is the procedure?
Lapicito's user avatar
0 votes
0 answers
77 views

ArcGIS Pro - Summarize within - 90th percentile

I have some point data which has a response time in minutes value. I've generated a hexagon tessellation and I want to calculate the 90th percentile response time for values falling within each of the ...
Daniel Sim's user avatar
1 vote
0 answers
19 views

ENDISI calculate

I'm new to ArcGIS. Can someone tell me why my ENDISI always equal to 1? My algorithms: ("band02.tif" - 16170.19 * (("band06.tif" / "band07.tif") + "mndwi.tif" ^ ...
Duy's user avatar
  • 11
0 votes
0 answers
24 views

Use raster calculator for fuzzy triangular function to fuzzify maps

Does anyone have an idea how to use the raster calculator to fuzzify maps with respect to the fuzzy triangular function? I am using ArcGIS Pro. I am a little stuck after using Euclidean distance as I ...
Kurisu's user avatar
  • 1
0 votes
0 answers
22 views

How to change the order or sequence of land types in ArcGIS

I am trying to use the raster calculator to compute the landuse land change and to that the raster sequence has the to be the same but what it looks like currently is the following: These maps are ...
findingnemo's user avatar
1 vote
1 answer
51 views

Raster calculator multiple expressions

i have the following rasters: soilrisk, slope, rainfall How can I create an expression that meets the following conditions? (Soil risk = 1 and Slope > 7 and Rainfall < 800) OR (Soil risk = 1 and ...
Bill's user avatar
  • 31
0 votes
0 answers
43 views

Why does the Least Cost Intelligence path tool work on another computer but not mine?

For my final project in my GIS class, I am creating a least-cost path pipeline from a start point to an endpoint within a study area boundary (that being a park polygon). This tool takes a total cost ...
Justin Pan's user avatar
-4 votes
1 answer
60 views

Extract raster attribute other than value to points in ArcGIS Pro using ArcPy

I have a raster with two attributes, Value and Category. I would like to extract the Category to points. I am using Extract Multi Values to Points, but this always defaults to the Value attribute. Is ...
user222975's user avatar
2 votes
0 answers
77 views

Iterate over a list of raster with Arcpy and apply Con() to each raster

I would like to iterate a list of raster objects and apply Con() to each raster. The rasters are in a specific order in the list. That's important. All I want to do is to write the value of the ...
Gero's user avatar
  • 527
0 votes
0 answers
69 views

Fill sink tool is returning an error on ArcMap

I am using ArcMap 10.7.1. I downloaded a DEM from the "30-Meter SRTM Tile Downloader" https://dwtkns.com/srtm30m/, then I extracted by mask the river basin DEM I want to analyze. However, ...
Ghaith's user avatar
  • 33
2 votes
1 answer
48 views

Zonal Statistics not executing in arcpy

I'm trying to run code to automate getting zonal statistics from a folder with almost 50 shapefiles and 6 rasters from another folder. So, each shapefile needs to do the zonal statistics on each ...
brubis's user avatar
  • 139
1 vote
0 answers
75 views

Merging or dissolving smaller features completely within in ArcGIS Pro

I've got a shapefile dataset shown below. I want to merge feature classes completely within larger ones, for example merge 325 with 314, and keep the row data of the larger feature (314). I've tried ...
Daniel Sim's user avatar
1 vote
0 answers
20 views

Creating ArcGIS toolbox that gives minimum number of points that can observe road

I am using ArcGIS Pro. for value in fcVertexList: x = arcpy.sa.Viewshed(in_raster=L_34_067_BD_dted2_tif_img, in_observer_features=value) #Raster Calculator Visibi_raster = (...
Andrei Tudor's user avatar
0 votes
0 answers
10 views

NDWI processing error -'background server threw an exception'

I was processing NDWI in ArcGIS 10.5 using Sentinel-2 Image and got the error message background server threw an exception How do I solve this? I used the formula -NDWI (Sentinel 2 MSI): G=B3/ NIR=...
Itoro Udoh's user avatar
0 votes
0 answers
48 views

Excluding NoData zones in zonal statistics as table in ArcGIS Pro

I'm trying to calculate mean values of a raster within buffer zones. In the zonal statistics as table tool window, I unchecked 'Ignore NoData in Calculations' so that there is no mean calculated for ...
Salman's user avatar
  • 716
1 vote
0 answers
46 views

Zonal Statistics loop using ArcPy

I am trying to loop the arcpy.sa.ZonalStatistics to calculate the mean of multiple raster files. When I'm trying the code for single file it's working perfectly fine. But when I try to loop it. ArcPy ...
Atul Kumar's user avatar
0 votes
0 answers
43 views

ArcGIS Pro RasterCalculator python code is very confusing and I have no reference because history "copy as python command" paste just does not work

The code that "copy as python command" copies: output_raster = arcpy.ia.RasterCalculator('Con(IsNull("OMUVBd_003_UVindex_Layer1"), FocalStatistics("OMUVBd_003_UVindex_Layer1&...
highschoolstudent's user avatar
1 vote
0 answers
90 views

Invalid parameters in arcpy Extract by Mask

I get the following error when I try to extract by mask within a function in my script. When I run the same script separately outside of the function it runs fine. The output is just an intermediate ...
Chelsea_VictoriaS's user avatar
3 votes
1 answer
280 views

Remove pixels from one raster to another

In the following images, the first one has only 2 classes of pixels. I would like to remove Image's 1, class 1 (white pixels) completely from Image 2. As a result, Image 2 will have null values in the ...
Chris's user avatar
  • 123
1 vote
1 answer
211 views

arcpy.sa.RasterCalculator tells me the input raster is invalid when I use a complicated python expression

Some brief background: I am dealing with a raster band whose data consists of a 16-bit unsigned integer. Each of the bits of this integer conveys separate pieces of information about the quality of ...
teakayist's user avatar
0 votes
0 answers
21 views

Would this correctly average ocean temperature change in ArcGIS Pro

I'm pretty new to GIS and data processing in general. I'm trying to show the global ocean temperature difference between 1987 and 2021 in ArcGIS Pro. I want to do this to show how it's changed ...
LlamasWithTopHats's user avatar
1 vote
1 answer
31 views

How to identify tracts that share a boundary or node?

I'm trying to identify the tracts (from a selection of 1,198 tracts) that share either a boundary or a node to maximize the total number of tracts (statewide) that meet this criteria. The output ...
Ashley's user avatar
  • 315
1 vote
0 answers
35 views

Issues using random raster, possibly mismatched extent [closed]

I am very much a beginner in using ArcGIS Pro. I have two rasters, call them Col1.tif and Col2.tif. I want to create a new raster that randomly chooses either the value from Col1 or Col2 with 50% ...
user434180's user avatar
0 votes
0 answers
138 views

Extracting pixels in color range from georeferenced image using ArcMap and Spatial Analyst

I have a raster map that has red areas in it. I want to extract the red areas as a polygon FC for spatial analysis purposes (find where red polygons overlap a different polygon FC). Unfortunately, the ...
User1974's user avatar
  • 1,114
0 votes
0 answers
151 views

Insert values in raster taken from another raster ArcGIS Pro

I have two overlaying raster layers, let's say raster 1 and raster 2. Raster 1 is covering a bigger area than raster 2 and is the bottom layer. For a certain GIS software i am preparing layers in ...
Menno van der Spank's user avatar
1 vote
0 answers
40 views

Identify what parcels would be protected by seawalls

I have a shapefile for land parcels near the coast. I have a shapefile with polylines that represent seawalls. Here is what I would like to do: Spatial join seawalls with my parcels data. This is ...
MathNoob205's user avatar
0 votes
2 answers
73 views

Python Toolbox can't match input parameter to dictionary key in dictionary.get() function

I am writing a Python Toolbox for a parcel prioritization tool. My input data (a set of 11 rasters) is organized into a dictionary, raster_dict, where keys are raster names (i.e. 'Important Bird Areas'...
Tory Elmore's user avatar
0 votes
0 answers
57 views

Qgis Generate basin polygons from valley linestrings

Starting from these two data sources, FIGURE 1 Openstreetmap: I have a set of linestrings they represent (these data I have extracted from openstreetmap filtering with the tag natural = valley) ...
stefcud's user avatar
  • 396
0 votes
1 answer
53 views

Getting watershed area corresponding to each erosion severity class for each slope class in ArcMap

I’m new to this. I have two (watershed) rasters: soil loss (erosion) by severity; and slope. For each erosion severity class (listed below), I would like to obtain the watershed area that falls under ...
Kevin Durant's user avatar

1
2 3 4 5
32