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.

1
vote
0answers
12 views

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

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
8 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
0answers
18 views

Error 000539 during use of ArcGIS raster calculator? [closed]

How can I resolve the problem that occurs when I do any operation using raster calculator?
0
votes
1answer
24 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
12 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 ...
0
votes
0answers
11 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
23 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
28 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
0answers
15 views

Calculate sum of raster until certain threshold is reached without using a predefined zone

I am trying to estimate the water demand area that can be covered by certain lake volumes. So what I have is two rasters: one raster representing lake volumes and one raster containing demand volumes. ...
0
votes
2answers
23 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 ...
0
votes
0answers
14 views

How Kernel density values are calculated in ArcGIS Desktop?

According to ArcGIS website this is the function that Kernel Density maps are based on (Equation 4.5 from Silverman, 1986) Where: K2(x) is the value attributed to the raster cell, x is the distance ...
2
votes
1answer
16 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
62 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
30 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
17 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
26 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
26 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
33 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
21 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 ...
0
votes
0answers
38 views

Getting parameter as text when running ArcPy script gives error?

I have a problem with executing an arcgis python script: Executing: acpcanadaScript "C:\Users\User\Documents\miniprojet\test\testzone d etude.tif" C:\Users\User\Documents\ArcGIS\Default.gdb\...
1
vote
1answer
35 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
15 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
25 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 ...
-1
votes
1answer
22 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
24 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
30 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 ...
0
votes
0answers
19 views

Making error or confidence surface in ArcGIS Desktop?

I have a student working in my GIS lab who is computing an IDW interpolation surface for observations taken from a boat moving along a series of paths. The sampling paths were not uniform over the ...
4
votes
1answer
38 views

Is there a setting to force ignore invalid geometries when performing spatial analysis in QGIS 3.0?

When performing spatial joins I get no results due to geometry errors in one of the layers, but there is a note saying to force ignore geometry errors in the log. Where can I activate this setting?
0
votes
0answers
15 views

Raster datasets disappeared from FGDB, but filenames are still reserved

I'm doing some work with the Spatial Analyst tools in ArcMap 10.6.1 for a class. On Friday, I had a FGDB called Results with nine raster datasets, which were the output of various Spatial Analyst ...
1
vote
1answer
31 views

Receiving ERROR 000732 from ArcPy that raster does not exist or isn't supported? [closed]

I am running this script to perform simple raster algebra on the pycharm interpretor... import arcpy arcpy.env.overwriteOutput = True from arcpy.sa import * # Specify the input raster inRaster = ...
1
vote
1answer
64 views

Getting AttributeError from ArcPy?

I'm working on a simple Python code to make a raster from a shapefile using the Natural Neighbors tool, and then use the resulting raster to generate a contour using the Contour tool. I keep getting ...
0
votes
1answer
26 views

Access attribute table of in-memory raster

I'd like to read from the attribute table of an intermediate raster generated by arcpy.sa.Combine: combined = arcpy.sa.Combine(['raster1', 'raster2']) arcpy.BuildRasterAttributeTable_management(...
2
votes
0answers
37 views

Why is Raster Calculator not honoring compression environment settings?

For some reason, the Raster Calculator isn't honoring any Raster Storage environments that I have set. Mainly, compression and pyramids. I am processing a large raster dataset through raster ...
1
vote
1answer
64 views

ArcPy Raster Calculator error “ 'str' object has no attribute 'save' ”

I converted a model into python script and tried to run it. It gave me an error when it gets to the raster calculator process.The message says "str" object has no attribute "save". See picture below. ...
1
vote
0answers
40 views

Extracting raster values to point feature class failing in ArcMap?

I need to extract values to point features from Mosaic dataset made out of DEMs (Whole world SRTM) . My feature class has 18,000,00 points. When I ran the below tools, only <20K points receive ...
2
votes
0answers
25 views

Creating quarterly rasters from monthly rasters for multiple years with ArcPy? [closed]

I'm attempting to create quarterly rasters from monthly PRISM .bil files that I've already masked to my ROI. Essentially I'm trying to automate the process of using Raster Calculator to add 3 monthly ...
0
votes
0answers
19 views

Conditional Con tool setting rgb value for true statement

I have a raster with some NoData values. I am trying to set these values to black. I have looked at the documentation. This is what I have so far Con(IsNull('MyImage'),0,'MyImage') This produces a ...
0
votes
0answers
42 views

Identifying no-take areas within existing marine protected areas using QGIS?

I am currently working on a project which is looking at identifying critical habitat for various shark and ray species within existing marine protected areas (MPAs) in order to inform no-take areas. ...
0
votes
0answers
17 views

Accuracy/Precision of Zonal Statistics as Table tool ArcGIS Pro

I have a raster image whereby I used Raster Calculator to proportion new raster values into the pixels. Here's what I did: Obtained sum of all pixels using Zonal Statistics as Table tool. I used the '...
2
votes
0answers
52 views

Calculating indices such as NDVI or NDSI on Landsat 8 imagery whose pixel type is 16 bit signed integer?

I am trying to calculate an NDSI (Normalized Difference Snow Index) using Landsat 8 OLI level 1 imagery atmospherically corrected in ERDAS ATCOR using raster calculator in ArcMap. NDSI is used to to ...
1
vote
0answers
29 views

Error in calculating covariance matrix and fitting variogram model

When constructing variogram model, usually the spatial points are given, and we build a variogram model and conduct parameter estimation. But here in my question the points are not given while ...
0
votes
0answers
31 views

Expanding raster to fill bounding polygon using ArcGIS Desktop?

I work for an agronomy company that utilizes an EC scanner (electric conductivity) to gather point data within fields. Due to terrain constraints there are often out edges of the fields where no data ...
2
votes
1answer
39 views

How does bilinear resampling work when converting a 10 meter raster to 30 meter?

There is a 10 meter resolution land cover raster. An analyst wishes to resample 10 meter raster to 30 meter raster. The analyst selects the Bilinear Resampling technique in the Resample tool of the ...
2
votes
2answers
47 views

Reclassifying certain values using ArcPy in ArcGIS Pro?

I need to reclassify certain values to different values in a raster using Python in ArcGIS Pro 2.2.2. I can't use reclassify because I don't want to change all values and I can't go through each one ...
2
votes
2answers
31 views

Calculate average value from netcdf

I have precipitation data from NOAA in a NetCDF format. I imported that into ArcGIS as a raster layer. Now I see that I can only get the precipitation value for one year at a time. I need to ...
0
votes
1answer
29 views

Converting DEM units using Map Algebra and Python

I am trying to write a bit of code that combines a bunch of DEMs that match up perfectly and convert the elevation values of the pixel cells from meters to feet. This is all using Pyscripter and ...
1
vote
0answers
29 views

Prediction mapping using temporal point data in ArcGIS Desktop? [closed]

I have a temporal point data set of PM2.5 from 2002 to 2017.Based on this data sets I would like to generate some prediction (forecast) maps for 2020, 2025 and 2030. What would the be the main tools ...
1
vote
1answer
34 views

Appending list to column of a CSV file

There are 5 polygons in a shapefile. I am extracting the mean value of the NDVI pixel inside each polygon using "zonal statics as table". At this moment, I have 3 NDVI files, thus, I will get 3 sets ...