Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [spatial-analyst]

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

2
votes
0answers
16 views

Least cost path from visibility

I use ArcGIS 10.1 and I am dealing with viewshed and least cost path analysis. I would like to generate a path on the basis of a cost surface taking into account the viewshed data as indicated in the ...
2
votes
2answers
66 views

Fill sinks until a known value

I have a DEM and I want to fill every sink with a Value of 2 meter. If a sink is less than 2 meter, it is filled full and if it is bigger, it is filled until it reach 2 meter. The problem is that ...
0
votes
0answers
28 views

Using tool “minus” in height model?

I'm doing a lab and I'm trying to understand exactly why I'm using the tool "minus". I have a raster which I'm calling "heights". I also have two rasters with water surfaces and watercourse. I have ...
0
votes
1answer
29 views

Obtaining flow accumulation from negative elevations using ArcGIS Desktop?

I have bathymetric data extracted from INFOMAR ArcGIS grids. Based on the data I am wondering if the fill, flow direction and flow accumulation tools work with negative elevations or if I have to use ...
0
votes
0answers
18 views

ArcMap's SegmentMeanShift tool fails in standalone script

The tool requires a Spatial Analyst license. It runs fine in the ArcMap Desktop application, but not when I port it to a standalone script using the outline here: Segment Mean Shift - Help It returns ...
0
votes
1answer
37 views

Finding difference between two rasters using ArcGIS Spatial Analyst?

I know how to find difference between two rasters with Spatial Analyst tools, but how to display attributes, for example differences between two Corine Land (2006 - 2012) rasters, how to see codes of ...
0
votes
0answers
25 views

ArcGIS Weighted average using ASCII file as weights [closed]

I have to calculate the weighted average of a raster file and I have to use a different weight in each grid cell (for which I have an ASCII file). If I had a constant weight, I would use the raster ...
-5
votes
0answers
19 views

Help analyzing two imagery layers [duplicate]

One imagery layer that is before a fire and one that is of the burned areas after. I am trying to detect which houses were burned using the difference button with the image analysis tool and create a ...
0
votes
0answers
38 views

Analyzing burned areas using ArcMap? [closed]

One imagery layer that is before a fire and one that is of the burned areas after. I am trying to detect which houses were burned using the difference button with the image analysis tool and create a ...
1
vote
1answer
11 views

Calculate mean of raster excluding values in ArcMap?

I want to calculate the mean value of a specific region a raster data layer (being a GeoTIFF file), using the Zonal Statistics as Table tool in ArcMap. However, some of the values are faulty and ...
0
votes
0answers
16 views

Using spatial clustering or statistical tools for attribute data

I have a data-set of well test results with attributes like iron and manganese concentrations. What are the best tools to try and determine if there are any spatial trends for each attribute? I would ...
0
votes
1answer
26 views

How to create and empty SpatialLinesDataFrame in R

I need to create and SpatialLinesDataFrame with a predefined structure (9 fields). I'm performing a function over a list of shp which I want to append to this empty spatiallinesdataframe. I already ...
0
votes
1answer
24 views

Running Maximum Likelihood Classification?

I'm trying to run a supervised classification on a landsat 8 (L8 OLI/TIRS COLLECTIONS LAND SURFACE REFLECTANCE ON-DEMAND) imagery. I created a signature file, then ran the Maximum Likelihood ...
1
vote
1answer
32 views

Coding Python about raster calculation for create a toolbox

I want to create a tool box in ArcMap. I wrote this code: # Import system modules import arcpy, os,sys from arcpy import env from arcpy.sa import * # Set input raster InputRaster=arcpy....
0
votes
0answers
19 views

Modification of Line Density using ArcGIS Desktop?

I am using ArcGIS Desktop 10.1. I need to calculate Line Density for polyline vector but the "Search radius" option must be replaced by something like the Neighborhood option in Focal Statistics. I ...
2
votes
1answer
19 views

Merging multiple rasters applying priority rules using ArcGIS Desktop?

I have three raster layers covering the same geographic area. I would like to merge them into a single raster layer. The layers have different levels of importance, so I would like the merge to move ...
1
vote
0answers
47 views

Geographic scale of model and covariate significance using ArcGIS Spatial Analyst and R?

A few months back I created a spatial logistic regression model of terrestrial skunk rabies in Arizona/Colorado/New Mexico/Utah. A link to the project can be found here (https://docs.wixstatic.com/ugd/...
0
votes
1answer
113 views

Is there a limit to the number of raster layers in Raster Calculator?

I have 16-day Enhanced Vegetation Index (EVI) images for an area across roughly 10 years. 244 images in all. I would like to average these over the time period to get an average EVI value. Is there ...
0
votes
1answer
34 views

ArcMap “Polyline to Raster” output is empty greyscale raster

I have a polyline shapefile of streams that I am attempting to convert to a raster using the "Polyline to Raster" conversion tool. However, rather than outputting a raster with distinct stream pixels, ...
0
votes
0answers
16 views

SpatialAnalysisTools (GPServer) > InterpolatePoints missing class values

I have been working on generate results using InterpolatePoints tools and consume it in our Web Application using these request parameters: { inputLayer: featureCollectionObj, field: "POP", ...
0
votes
1answer
26 views

Buffer zone, binary exclusion

I have a shapefile of 20 cities in ArcMap 10. I need to position a sheep farm so that it is not within 2 miles of any of these cities. So, I created a buffer, with 2 miles as distance. I used the ...
2
votes
1answer
24 views

Zonal statistics on raster layers that intersect line

I have a line feature class of routes and a raster file with 12 unique values. I want to know how much cells of each value in the raster has that intersect with lines. I've tried zonal statistics (...
1
vote
2answers
89 views

Replacing data in raster using condition?

I have a raster dataset in ArcGIS displaying altitude. I want to replace all values < 8 with value 8. Other values have to stay the same. How can I do this? I tried raster calculator, but I don'...
-1
votes
0answers
43 views

Making a python script to loop through multiple tools and files (filter and mosaic to new raster)

I'm having an issue in creating a script to loop through several rasters, using several tools to create a final raster. My code so far is below: import arcpy, os from arcpy import env from arcpy....
1
vote
0answers
24 views

Using Path Distance to Calculate Total Accumulated Cost from Source to Destination?

I am looking to calculate the total accumulated cost associated with traveling from a source point to a destination point (please see the included figure below, green dot = source, red dot = ...
1
vote
0answers
16 views

Zonal Statistics as Table: Generic 99999 Error on Some Features [closed]

I'm running Zonal Statistics as Table on three separate feature classes. These feature classes represent travel walk bands from various locations. These travel bands are my zone data, I have a regular ...
0
votes
1answer
18 views

Enabling Spatial Analyst extension in ArcGIS Pro?

I am getting all the spatial analyst tools locked in my ArcGIS Pro. I know i have these in my license and i remember in ArcGIS Desktop there is an option to enable extension of Spatial analyst then ...
0
votes
1answer
36 views

Using for loop in least cost path analysis using ArcPy?

I am doing a least cost path analysis. I need to create a for loop that will run 3 times and select the correct weight from each of the two lists (slope and land). Slope = [10, 20, 30] Land = [30, 20,...
1
vote
0answers
24 views

Raster reclass can't load remap table

I have a 2017 Land Use raster of the US, shown below that I'm trying to reclassify. It has 256 different values right now and my plan is to only have nine at the end - a few crops I care about ...
2
votes
0answers
61 views

Choosing bandwidth and scaling factor for Kernel Density Estimate in ArcGIS Desktop?

I have some points that represent animal locations over the course of a few months at the scale of ~20 sqkm. I am emulating the work of previous researchers in this field, but I'm having trouble ...
0
votes
0answers
14 views

Radius2 problem in ArcMap Viewshed tool

In ArcGIS 10.1 I am using the Viewshed tool, I set the radius2 at 15Km (in order to estimate the visibility within this range). The result showed me some visible areas over 15Km (such as 20 or 30Km ...
0
votes
1answer
28 views

Cannot use Raster created by Watershed Spatial Analyst Tool?

I am trying to determine the relative drainage area of two type of distinct wetlands. I am using these individual wetlands as the pour points for the watershed tool in ArcMap's spatial analyst toolbox....
1
vote
2answers
76 views

Weighted sum vs Weighted overlay

I´m working on a suitability analysis for which I´m doing a sensitivity analysis. When I modify the weights for this analysis I have values with decimals, so I can´t use "weighted overlay" tool. ...
0
votes
2answers
31 views

Getting all pixel values from raster image in ArcGIS Desktop?

I am using a CHIRPS raster image on ArcGIS 10.6 and there is no attribute table, I need the pixel values as it is the individual rainfall data for the stations to perform further statistics on. How ...
2
votes
1answer
21 views

Finding index of raster band with minimum or maximum value using ArcGIS Desktop?

I am using ArcGIS Desktop and I have a 6-band raster. How do I output a single-band raster whose values are the band number (1,2,3,4,5 or 6) of which band in the original raster contain the maximum (...
1
vote
2answers
105 views

How get intersection of polygons in the same table by PostGIS?

I have a single table of over 1000 polygons in postgreSQL (with PostGIS), and I have a field "evaluation_type" that only receives two values, either 'good'(green) or 'bad'(red), as you can see in the ...
2
votes
1answer
49 views

Expanding IDW interpolation to borders of country in ArcGIS Pro? [duplicate]

I am new to ArcGIS. I have a data set with air pollution concentrations for 20 locations in the Netherlands. I would like to interpolate this data with IDW, so that I can estimate the approximate ...
0
votes
1answer
22 views

Clipping raster with shapefile

I have the following script that reclassifies rasters and then combines them into one. I am trying to clip the final raster to a shapefile I have. All my research shows that I need to clip it to the ...
0
votes
0answers
31 views

Reclassifying Rasters using ArcPy?

Utilizing arcpy, I need to reclassify some rasters. Once they're reclassified, I need to multiply all the rasters together and then clip them to a set feature. Can anyone assist? import arcpy from ...
0
votes
1answer
30 views

arcpy fails to get spatial reference in hydro script

I have an ArcPy script that extracts a stream network from any chunk of terrain. It takes the terrain and if it's in a GCS, it projects it to the correct UTM zone prior to further processing. Though ...
0
votes
0answers
27 views

Reclassifying with ArcPy from 0 to 1?

I am having trouble re-classing a field. I have two field one is called Rowid and one is Value. Rowid is being reclass from 0 to 1 Value is being reclass from 1 to 0 I was able to reclass value, ...
2
votes
0answers
39 views

Preventing ArcGIS Desktop from creating 64-bit rasters?

I've run into this issue recently wherein I run the Con tool on a 32-bit raster (TIFF format) to change some absurdly high/low values to 0 and I get a 64-bit raster (TIFF format) out the other side. ...
1
vote
0answers
24 views

Obtaining Non-Summary Zonal Statistics from Raster Data

I am using ArcMap 10.5.1. The data I am looking for are zonal statistics from a raster using polygon-defined zones. I can use the Zonal tools to calculate summary statistics, but I am looking for the ...
0
votes
0answers
25 views

Interpolating raster as means of resampling?

I am working on a set of temperature projections (NetCDF files) that are all based on different projection systems. They need to be reprojected on a single grid in order for any comparison to be ...
1
vote
1answer
73 views

Intersecting raster with polygon grid in ArcGIS Desktop?

I'm trying to generate the fractional coverage of land-cover within polygon grid cells. My land-cover is a 30m raster dataset (10008x8939 cells) and my grid is a fishnet shapefile (approximately 1km ...
0
votes
1answer
16 views

In R, abstract data from SpatialPolygonsDataFrame but got NA

I tried to extract data from a SpatialPolygonsDataFrame, but got all NA. slot(nc,"data")[c("Northampton","Clay","Macon","Graham","Yancey","Mitchell","Avery"),] The data show as: SP_ID CNTY_ID ...
1
vote
1answer
28 views

ArcMap - how to count polygons after intersection

I'm trying to count buildings that are in high risk in flooded areas. How can I see number of houses where flooded areas exist? I extracted raster by mask, reclassified and converted raster to ...
0
votes
1answer
37 views

Error 000539 Error Running Expression

I am receiving Error 000539 while running raster calculator in the model builder. I have read on other forums that this is a problem with using python script but I have been using the dialog boxes in ...
0
votes
1answer
29 views

Calculating average raster from two other rasters using Raster Calculator?

I have to calculate an average raster from 4 rasters. I have tried in ArcMap with Raster Calculator but the result is wrong. It's a line. I'm sure that I've done something wrong, but I don't know what....
0
votes
0answers
34 views

Difference between/uses of kernel and line density?

I am reading up on density calculations and their variants, and situations to which they might each be applied. I have read the article on differences between point line and kernel density I was ...