Questions tagged [reclassify]

Changing the values of the cells in a raster.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

GEE: Reclassify multiple ranges of pixel values on image collection

Code editor script here I have an image collection of PDSI from Terraclimate over a 20-year period, filtered by a bbox. I want to remap ranges of PDSI values into five different classes of drought ...
-1
votes
0answers
14 views

What is the difference between the Slicing and Reclassify tools?

I am conducting a suitability analysis and used euclidean distance on a road dataset. I also did a viewshed analysis on railways. To combine these, I know I need to reclassify but am unsure whether &...
0
votes
0answers
11 views

Reclassifying DEM via Raster Calculator in ArcGIS Pro

I have a DEM which has min-max values of 85m to 121m. I need to reclassify it so that 85m-90m is 1, 91m-95m is 2, and so on. This is easy to do in the Reclassify tool but what's the expression if I ...
0
votes
1answer
24 views

Reclassifying a raster by defined interval

I would like to reclassify a DEM raster into bins of 100 metres. Both the GRASS r.reclass and built-in QGIS tools require predefined classes. I would like to have them produced automatically from the ...
1
vote
1answer
27 views

Reclassifying raster after image classification in ArcGIS Pro

In the ArcGIS Pro Imagery tab, there is the possibility to reclassify an image after classification to manually change misclassified pixels to their correct values, however, after doing this, my pixel ...
0
votes
0answers
22 views

Reclassify RasterBrick with different values for each band in R

I have a three-band RasterBrick in R. I would like to use raster::reclassify to change some of the cells to NA. However, I want to use a different threshold value for each band. So, for example I can ...
0
votes
1answer
14 views

Calculating percentage of points per raster band (elevation, slope, aspect...) in QGIS

I have a series of rasters expressing environmental variables, for example, elevation. I have used the tool 'add raster values to points' to classify the sites according to the bands (10) I have ...
1
vote
1answer
47 views

Reclassifying raster in QGIS

I'm modelling species distributions using Maxent. Maxent produced probability of occurrence/habitat suitability maps for my study species. These raster maps have values ranging from 0 to 1. I want to ...
1
vote
1answer
40 views

How to reclassify a raster in R and keep only certain values after reclassification?

I have Cropscape Data Layer raster with different vegetation types. I want to only keep pixels with values 43 and/or 54. I'm doing something wrong with the reclassify() function in R's raster package. ...
2
votes
3answers
94 views

Reclassifying raster layer under condition

I have a raster layer with different landcover categories (on the left of the picture): What I need is a layer that holds the information if there is forest or not to later combine it with the ...
1
vote
1answer
30 views

Multiband raster reclassify

I have a two bands raster. I need to reclassify it following the rules "if band 1 = x and band 2 = y the new value will be 1", "if band 1 = a and band 2 = b the new value will be 2"...
3
votes
1answer
106 views

Reclass by table not outputting as expected using QGIS

I'm trying to reclassify a slope layer into four or five categories. r.reclass won't work for me (see Execution Failed error running r.reclass) so I have been trying an alternative method - '...
0
votes
0answers
60 views

Execution Failed error running r.reclass

I've been trying for a while to do a reclassification on slope rasters in QGIS for Mac (QGIS version: 3.18.2-Zürich) but always get Execution Failed error. This is the second project where I just give ...
1
vote
1answer
44 views

Reclassify rasters from raster dataset with ArcPy

I have a raster dataset ("RDS_NFlows_3035") with several bands that I would like to reclassify to a single value and save in another raster dataset ("RDS_NFlows_reclass_3035"). ...
0
votes
2answers
40 views

Reclassify thousands of values with no pattern in Google Earth Engine

I have a raster file with pixel values between 11010 and 812210 and I would like to change all these values in integers between 0 and 5. The problem here is that there is no pattern that I can use (at ...
0
votes
1answer
37 views

How to reclassify and sum values after calculating monthly MODIS averages in Google Earth Engine

I am trying to calculate monthly average vegetation condition index (VCI) for Ukraine from a MODIS image collection. I then want to reclassify the values to: 1 for values between 0 and 0.4 0 for ...
1
vote
1answer
127 views

Reclassify by Table using PyQGIS

I'm pretty new to QGIS and Python but I've been making a number of processing scripts that automate GIS processes for my job. I'm working on one now that requires a raster reclassification step - the ...
0
votes
1answer
30 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 ...
0
votes
0answers
15 views

r.reclass slope interpolation error on mac

Using this video to create a slope analysis for a land I am designing the following error message occurred after I tried to run the r.reclass add-on on a before interpolated file. These are the ...
3
votes
1answer
89 views

Reclassify values of the land use land cover class of Copernicus Global Land Cover Layers in Google Earth Engine

I am using the Copernicus Global land cover layers:CGLS-LC100 collection 3 data set. I want to reclassify the value of the lulc for my application. Map is showing but when I want to reclassify the ...
3
votes
1answer
64 views

Is there a function in PyQGIS (QGIS 3.10) similar to the ''slice" function in ArcPy?

I am working on a script that automatically generates heatmaps from point data. I am aware of the heatmap/KDE tool already existing in PyQGIS (I am working in QGIS 3.10). What I want to do after ...
1
vote
0answers
39 views

Changing null / no data values [duplicate]

I have a raster where null values are stored as -9999. I want to change these to 0. Googling suggests this can be done in the raster calculator, but e.g. (layer name = -9999) * 0 doesn't work. And ...
-1
votes
1answer
40 views

Reclassifying and vectorizing specifc classes in Google Earth Engine

My raster file has 29 classes and I applied 'Reclassify by table' in QGIS 3.16 to assign 1 to classes 15 and 24 only and all other classes were classified as 0. I applied the following script to ...
0
votes
0answers
14 views

Reclassifying multiple rasters using ModelBuilder or ArcPy using ArcMap10.1 or 10.2 [duplicate]

I have a folder with more than 500 raster (DEM) and I want to reclassify (equal interval method) each of them but number of classes in each case is determined by the number of 100m elevation bands. i....
0
votes
1answer
39 views

Reclassifying multiple rasters using ModelBuilder of ArcMap

I am using ArcMap 10.1 or 10.2. I have a folder with more than 500 raster (DEM) and i want to reclassify (equal interval method) each of them but number of classes in each case is determined by the ...
0
votes
0answers
23 views

Python for loop with Boolean input reclassification has a save data bug

So I am creating a script that takes an input soil raster from gSSURGO (Not shown in script as this is part of a larger model). The script is below. import sys, arcpy from arcpy import env from arcpy....
0
votes
0answers
19 views

Roof color recognition - How to reclassify rgb colors in intervals?

I'm creating a tool to recognise the colours of roofs 1 given an orthophoto and a buildings layer in ArcGIS Pro 2.7, but I'm stuck with the final part... I have already managed to extract the mean and ...
3
votes
0answers
32 views

ArcPy raster Reclassify not covering all cells in raster

I am trying to use Reclassify on 240 rasters using ArcPy within the Python window in ArcMap 10.7. My original raster has continuous decimal probabilities ranging from 0 to 1, and my goal is to change ...
4
votes
0answers
50 views

Passing list as reclassify input table parameter in qgis.reclassifybytable algorithm

Following up on Save and load the classes definition table in the QGIS reclassify by table tool, I decided to run the qgis.reclassifybytable algorithm using PyQGIS to reclassify an aspect raster. Here'...
3
votes
1answer
97 views

Save and load the classes definition table in the QGIS reclassify by table tool

I'm reclassifying an aspect raster which cells values ranges from 0 to 359.999 using the Reclassify by table tool: Setting the reclassification table manually is painful, especially when you have ...
3
votes
1answer
79 views

Extract raster properties and use them in QGIS graphical model

I would like to generate a tool that reclassifies rasters in 10 classes with equal intervals. Since QGIS reclassifies tools does not allow to automatically create classes with such methods, I was ...
2
votes
0answers
82 views

ArcGIS - separate/split shapefiles by attribute range and save

Problem: I often have a shapefile that I classify into 3-5 classes based on the values of a specific field. Usually I am interested how many features are in each class and which area has each of the ...
0
votes
0answers
42 views

Merging overlapping thematic rasters using ArcMap

I want to merge two overlapping rasters. Raster A has 8 classes and raster B has only 1 class. I would like to produce Raster C with 9 classes, where Raster B would overwrite corresponding pixels in ...
5
votes
4answers
150 views

Reclassify raster values continuously instead of assigning them to specific groups

I want to create a Habitat Suitability Index (HSI). I have several variables (raster layers containing information about e.g. precipitation, slope, food resources, etc.). I have to create an "...
1
vote
1answer
51 views

r.damflood in Grass 7

There are 4 required inputs for this addon (r.damflood) in GRASS. elev= elevation raster map (raster file with elevation data) lake= water depth raster map (raster file of only the lake area) ...
1
vote
1answer
49 views

Calculating suitable area based on product of two binary layers

In QGIS I am attempting to calculate the suitable area based on two reclassified layers (Raster tools -> Reclassify by range) that have been overlaid with SAGA -> Raster calculus -> Product. ...
0
votes
0answers
45 views

Reclassifying table to get values per cell using ArcMap

I reclassified a utilization distribution (space use; raster) map for an animal with an electronic transmitter, so that its original values fall within three classes: 0-2. When I open its attribute ...
0
votes
1answer
99 views

Build RemapValue table name in Python script and then access the Remap Table

I have a bunch of rasters that need to be reclassified. I am not sure the best way to create RemapValue tables, but I made them in Excel. I then dumped them in the Python script and they are now ...
-1
votes
1answer
172 views

How to reclassify Land Corine cover with QGIS 3.10

I am working with QGIS. The land corine cover is a GeoPackage. I would like to reclassify land corine cover into 3 categories. The codes for the three categories are 211, 212 and 313. In order to use ...
0
votes
1answer
88 views

Change rasters' z value to minus (Below sealeave)

My current raster has positive values for all features but I need them all to be negative as it is for a seafloor basin. A handful of values are negative but most are positive. I have access to ArcGIS ...
1
vote
1answer
50 views

Reclassify function in ArcMap 10.5 does not correctly reclassify values?

I reclassified a raster layer containing three classes (0-0.05, color = white; 0.05-0.5, color = dark salmon; and 0.5-1, color = red) to a raster layer where theses ranges were replaced with 0 (color ...
0
votes
1answer
87 views

How to add reclassified layer to another layer in Google Earth Engine

Ok so let's just jump right to the script var indon = ee.FeatureCollection('users/sdwijati/IDN_adm2') var Sesar = ee.FeatureCollection('users/sdwijati/Sulawesi_sesar') var nama_prov = ['...
0
votes
1answer
44 views

R: Substracting rasters by their minimum values (loop over a list)

I'm trying to reclassify a bunch of rasters by substracting the pixels of each of them with their minimum value (eg: I want to substract all the pixels of a raster(A) by its minimum value, same thing ...
0
votes
0answers
19 views

Multiple Reclassifications by a variable

I am using Model Builder to reclassify a DEM raster (the input raster is a parameter and may vary in range of elevations). (The model then goes on to extract the highest point in each patch above a ...
0
votes
1answer
29 views

Fire Danger Forecast index- classification - USGS

I recently downloaded a raster image called Fire Danger Forecast index from USGS - Fire Danger Forecast, and I wanted to get the probability of fire for a set of points I have in another layer, but ...
1
vote
1answer
64 views

Change the reclassify method in reclassify tool in ArcGIS Pro

I'm trying to get use to ArcGIS Pro and I have tried the reclassify tool. The thing is that I know that in ArcMap there is an option to see histogram of the raster values and also choose the classify ...
1
vote
1answer
109 views

Conditional Reclassification using Raster Calculator

There are several questions about conditional reclassification on the Stack Exchange, but I haven't been able to find exactly what I need... In my workspace, I have a list of raster layers (8 bit ...
0
votes
1answer
57 views

Converting raster from LCCS to NLCD formats

We would like to convert LCCS format raster files into the US NLCD format. Is there some way for that, especially with QGIS program ? We need NLCD TIFF files for EPA AERSURFACE program. The https://...
0
votes
0answers
21 views

Reclassify a raster to floating point values range

I have an interpolation map for my NDVI data values ranging from 0.16 to 0.83. Example 4 classes, (0.16-0.28,0.29-0.36,0.37-0.53,0.54-0.83). But when I do spline interpolation classification goes from ...
1
vote
1answer
31 views

Reclassify raster values with GDAL

I would like to reclassify a raster with the following code: #RBR reclassification to USGS burn severity values arr = np.array(RBR_MultiplyBy1000_Int) level1 = (arr >= -500) & (arr <= -...

1
2 3 4 5 6