We changed our privacy policy. Read more.

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
1
vote
1answer
31 views

FME Spatial Join One to Many

I am relatively new to FME and have been attempting to carry out my usual ArcMap tasks in FME instead. One tool that I use frequently in ArcMap is Spatial Join, specifically with the One to Many join ...
-1
votes
1answer
38 views

ZonalStatisticsAsTable misses 245 polygons out of 3108! using ArcPy with ArcGIS Pro

I have many .ncf files that I read as raster layers and then do zonal statistics to have mean and sd values over each of 3108 CONUS counties. But the final standalone table is missing 245 counties. ...
0
votes
0answers
26 views

ArcPy hangs during raster calculations but Raster Calculator tool works just fine

I'm trying to perform raster calculations on a list of rasters using ArcPy with ArcGIS Pro, but it just hangs. However, when I use the Raster Calculator tool it performs just fine. Does this happening ...
0
votes
0answers
23 views

Optimize zonal statistics to calculate overlapping polygons (1 input FC, 2 rasters)

For my analysis I am using zonal statistics (arcpy) to calculate the elevation and slope statistics of about 12k overlapping administrative boundaries. The boundaries are located in one Feature Class, ...
1
vote
0answers
31 views

Selecting area upstream in watershed tool of ArcMap

How do I calculate the watershed at several locations using the watershed tool of ArcMap? When I am doing it, I get the watershed cut at all the points, and not all the watershed upstream. I set the ...
0
votes
0answers
24 views

Trying to apply a Rastermask and Reproject Landsat images but I keep getting: RuntimeError: Object: Error in accessing environment <extent>

I am new to python and I´m trying to set the extent but I am having trouble and can't fix the error. from time import gmtime, strftime import arcpy from arcpy import env from arcpy.sa import * arcpy....
1
vote
1answer
23 views

Euclidean distance for area inside multiple polygons using ArcGIS Pro

I am trying to create a Euclidean Distance grid for numerous land parcels across a region (vector polygon layer). The conceptual diagram below shows the region in grey and land parcels in white. I ...
1
vote
0answers
18 views

Viewing PCA variable loadings using ArcMap

I am trying to use the PCA function in ArcMap 10.7 (or similar builds). I am accustomed to receiving variable loading scores for each PC in non-GIS statistics. These are the fundamental data that help ...
0
votes
1answer
241 views

Raster subset error in R: "Error: object of type 'S4' is not subsettable"

I am running this code in R: country_template <- raster() dimensions <- extent(124000, 463000, 2953600, 3127600) country_template <- setExtent(country_template, dimensions) res(...
1
vote
1answer
37 views

IDLE keeps restarting (RESTART: Shell) when running arcpy.CopyRaster_management

I am trying to get a script to run to batch resample some TIFF files. I've used an almost identical script to resample GRID files with no issues. When I try to run it with a group of TIFF files the ...
0
votes
0answers
24 views

Manually create a DEM from survey data

I would like to create a DEM for a parking lot catchment, so that I can model surface water runoff paths in ArcGIS Pro. I have raw elevation survey data, collected at grid line intersections across ...
0
votes
0answers
23 views

ArcGIS Pro using Tabulate Area tool to summarize individual areas within polygon but areas too large

I used the Tabulate Area tool to find the areas of each land use type inside the circular polygons but the numbers I am getting make no sense (they sum to be larger than a circle with radius 500m). ...
1
vote
1answer
26 views

How to obtain buffered polygon area size

I have QGIS 3.16. I have several polygons in one layer, added via field calculator the area_ha field (geometry area$/10000) and then buffered all the polygons (buffer, 300 m). Now I need to know the ...
2
votes
1answer
42 views

Unexpected results when subtracting two rasters from each other in ArcMap

I'm using ArcMap version 10.5 , I have to subtract one raster from another. The first raster has "unique values" clusters: when each cluster here has numeric value. The second raster has ...
0
votes
0answers
17 views

Minus tool is creating pixelated boxes on output raster using ArcMap

I am using ArcGIS 10.6. I am trying to see the difference between two rasters from two time periods, 2018 and 2015, by using the minus tool. The output raster it is giving me have these weird ...
1
vote
1answer
16 views

Creating Raster Zones from a Polyline converted to raster

I have a polyline feature class of stream gradient (SG) broken into 60m segments. This feature class has been converted to a raster, retaining the ID for each stream segment. I also have a polygon ...
0
votes
0answers
21 views

How to raise an error that coordinates are out of raster bounds (rasterio.sample)?

I have some rasters from sentinel-2 mission that I'm working with. I'm using rasterio sample module , list_of_coords is just a list containing 3 random points but only 2nd is within the raster bounds: ...
0
votes
1answer
60 views

QGIS Nearest neighbour analysis with GeoTIFF

I need to perform something similar to the ArcGIS tool for neighbourhood analysis (Toolbox>Spatial Analyst Tools>Neighorhood>Focal Statistics). But for nearest neighbor in QGIS I need a ...
1
vote
1answer
55 views

ERROR 000358: Invalid expression Failed to execute (MakeFeatureLayer)

I have the code below import arcpy, os from arcpy.sa import * arcpy.env.overwriteOutput = True fc = r'E:\dada proj\DRAW OBJECTS\VIPPoints.mdb\FINALDATA' # Point feature class, needs to be in a ...
0
votes
1answer
24 views

ArcPy Reclass returns empty raster

I need to reclassify two raster sets and turn them into polygons for further processing. I have to conduct multiple classifications so doing it manually is not a real option. Also I am bound to doing ...
1
vote
0answers
17 views

How to determine mean VIIRS Nighttime Day/Night Band Composites Version 1 for each district (county)?

How to determine mean VIIRS Nighttime Lights for each district (county) shapefile attached ? The exported csv file does not contain required results! var start = ee.Date('2017-01-01'); var end = ee....
0
votes
1answer
22 views

Raster values in ArcMap need to be fixed for prediction maps

I am working on ArcMap with RGB rasters. The rasters have high values and i do not know how to fix it. When i import them into R, it makes my prediction maps off. I have resampled them to another ...
1
vote
1answer
26 views

Combining overlapping polygons and values using ArcMap

I am using ArcMap 10.7. I have 10, 15, and 30 minute pedestrian service areas for parks (pictured). I ran zonal statistics on the service areas with US Census demographic information. I would now like ...
0
votes
0answers
24 views

Topographic Wetness Index, Raster Calculator Error

I'm having issue calculating TWI, my projected coordinate system is NAD_1983_UTM_ZONE_17N. As I'm in Ohio, USA so I'm using this coordinate system. I have calculated the FA, FD and Slope but when ever ...
1
vote
1answer
49 views

Flow Direction flowing opposite to actual direction

I am using ArcMap 10.7.1. I am trying to delineate multiple urban watersheds in GIS for the City of Denver (sometimes called sewersheds) using Spatial Analyst. I am looking at several drainage points ...
1
vote
1answer
52 views

ArcMap 10.6; ERROR 000539: Error running expression: rcexec()

While running a tool box (connectivity index) I am receiving an error at the end; ERROR 000539: Error running expression: rcexec()!. Can anyone help me with it?
0
votes
0answers
19 views

Remap 'NoData' values 1 using arcpy.sa.RemapRange

I'm trying to remap values of NoData to '1' using the arcpy.sa.RemapRange object. I understand there needs to be a range of values using [[startValue, endValue, newValue],...], however I'm struggling ...
2
votes
1answer
73 views

Calculating spatial correlation between two datasets using ArcMap and Spatial Analyst

I am using ArcMap and the Spatial Analyst extension. I am trying to find a correlation between my raster datasets. For example, for Net Primary Production (NPP) model I used too many input datasets ...
0
votes
2answers
23 views

VB.NET Executing Raster Calculator

I'm trying to execute the raster calculator function in VB.NET but I'm having trouble with the gp.execute line. Sorry if the code is confusing, I'm fairly new to VB.net. I keep getting this error: An ...
1
vote
1answer
45 views

Calculating zonal statistics as table for all attributes (columns) in raster using ArcGIS Desktop

I have a raster that has multiple columns in the attribute table that I can symbolize. I would like to calculate zonal statistics as a table for each of the columns in the raster attribute table ...
0
votes
1answer
28 views

Turning NDWI values into percentage from -1 to 1

The usual values of NDWI, NDVI e.t.c come as -1 to 1. I want to show these values as 0-100%. How shall I do that with the raster calculator?
0
votes
0answers
17 views

Iterating in a points geodataframe and then check if point is inside polygon [duplicate]

I'm trying to make a spatial verification. I have a geodataframe with 245 points, and I'm having a bad time trying to check if they're inside a polygon or not. I've been attempting this code, but I ...
0
votes
0answers
15 views

Cost Path tool fails saying "No Spatial Reference Exists"? All inputs are set to UTM 19N

I've already run the least cost path tool several times successfully. But, now that I changed the destination input to a different shapefile (PCS: UTM 19N just like all the others) it keeps failing ...
1
vote
1answer
26 views

Edit raster values above 100 in Euclidean distance

I have a dataset I have Euclidean Distance'ized. I need to use this dataset in Machine Learning as a way to tell the AI what values have larger influence on an event than others. When we move further ...
0
votes
1answer
23 views

Extracting data to table for two rasters with identical polygons (different values) using ArcGIS Pro

I have a raster image of watershed catchments where the raster value is the catchment ID. Using this raster and the "Zonal Statistics", I created a separate raster of land use where the ...
-3
votes
1answer
75 views

Spatial Analysis issues [closed]

I have this layers: This one is the main layer (all of them are small polygons) And this buffers I need to cover all (or most part) of the pink polygons. So I decided to make centroids (Only to keep ...
1
vote
1answer
77 views

arcgisscripting.ExecuteError: ERROR 010416: Error in setting raster table filter for raster. Failed to execute (Con)

I am having trouble figuring out which Con() statement is the correct one, or if my renaming is incorrect. Full code below # Name: Ortho4Calculator.py # Description: Performs map algebra on individual ...
0
votes
0answers
13 views

Cubic Square in Raster Calculator error

I'm having a problem doing a cubic square in raster calculator. I'm using Arc Map 10.8 and I have an expresstion: ( exp1 * exp2 * exp3 ) ^ (1/3) or **(1/3). Where the first part works perfectly I can'...
0
votes
0answers
10 views

Unique conditions for multiband raster

I know the “combine” tool exists within the spatial analyst toolbox for ArcGIS Pro, but I seem to have run into an upper limit on what it can handle. Essentially I’ve got a 200 band raster and need to ...
0
votes
0answers
20 views

Unit of earth radius while calculating distance based KNN weight matrix using PySAL

I have geographical polygon data in WGS84 (lat/long) [EPSG: 4326] geographic coordinate system. I want to calculate distance-based KNN weight matrix using pysal which I can calculate using following ...
1
vote
1answer
73 views

Filling null areas in raster to match extent of second raster using ArcGIS Pro

I have two global rasters and would like to expand one so that it matches the extent of the second by filling in NoData values with values taken from or averaged from nearby pixels. I have been using ...
2
votes
1answer
61 views

Using st_buffer to generate buffer away from edge of polygon

I am trying to find which bike paths come into an area no closer than 500m but no further than 700m of Melbourne. I believe I will use an st_buffer to create a buffer around Melbourne (I have a ...
2
votes
0answers
29 views

Find Optimal Subset of Feature Layer Based on Spatial Criteria & Attributes

I'm using a Census tract shapefile with their corresponding attributes of interest within ArcMap 10.7.1. My project goal is to identify the subset of tracts that share a line segment while: ...
1
vote
3answers
51 views

Align descriptions after labels in ArcGIS legend

I have produced a legend which includes both a label and description for each symbology. I would like the descriptions to align despite the label lengths differing between layers. In this example, &...
1
vote
0answers
61 views

Removing cast shadow from Landsat 8

I've got Collection 2, level 2 Landsat 8 dataset which contain mountains. The problem is the cast shadows from the mountains, so that I can't classify these pixels well. These pixels have much lower ...
0
votes
0answers
22 views

Calculating anisotropic cost distance using two cost surfaces (uphill and downhill costs) and a DEM

I have two cost surface rasters, one representing the costs of going either uphill or level and the other representing costs downhill. Using these plus a DEM and a vector layer for the source point, ...
1
vote
1answer
40 views

Expanding river width on raster based DEM in ArcMap [closed]

How do I expand the river width on a raster based DEM in ArcMap? For example, my DEM has 20 m cell size, and I want that my river is wide 3x that everywhere (60 m in total, or 3 cell wide). I have ...
0
votes
0answers
15 views

Does it make sense to compute overlap between standard distance circles?

I have two layers: Points showing locations of field camps across a region Points showing locations of study sites across the region I have these for multiple years and want to map how the spatial ...
0
votes
1answer
51 views

Incorrect pixel values after NDSI calculation using ArcMap

I've got the following problems with my project. My task is complete the NDSI index calculation in the Antartic region. A problem is some pixel values are much lower than should be. I'm using ArcMap ...
0
votes
0answers
15 views

Computing least-cost matrix between all pairs of destination using ArcGIS Pro

I have a vector line shapefile showing the road network in a particular country with data on the unit cost for each line. I also have a point shapefile showing the centroids of each district in the ...

1
2 3 4 5
30