Questions tagged [reclassify]

Changing the values of the cells in a raster.

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

Reclassifying in ModelBuilder of ArcGIS Pro

I am using ArcGIS Pro. I am trying to build a model to iterate between land cover raster files and reclassify them. However when I open the Reclassify tool, the remap section has been greyed out. I'm ...
user avatar
3 votes
1 answer
41 views

QGIS layer styling, "symbology" - automate delete and reclassify

My QGIS projects always have around 20 layers that need to be Categorized by a certain value every day. Right now, I need to manually hit the "delete" and "classify" buttons. Fine ...
user avatar
1 vote
1 answer
14 views

No features contain non-null values of in graphy

I want to graph the NDVI series by another classified image, but when I graph it there is a wrong No features contain non-null values of "system:index". Howvever I already set the system:...
user avatar
0 votes
0 answers
15 views

Reclass raster cell value to closest cell of another class

Using ArcGIS Pro 2.9 I want to reclassify a class of raster cells based on the nearest cell or collection of cells of a different value. the data set I am working with is vegetation zones. Essentially ...
user avatar
0 votes
0 answers
22 views

Errors in the reclassification using r.reclass tool

I am trying to reclassify a raster with daily precipitation values in Spain. I use the following rules to reclasify: 0.0000 thru 0.0997 = 1 0.0998 thru 0.2553 = 2 0.2554 thru 0.8224 = 3 0.8225 thru 1....
user avatar
  • 123
1 vote
1 answer
47 views

Calculating multiple fields using ArcPy

I am working on adding multiple new fields to a feature and then reclassify the values based on existing fields. Here is a part of the code where it does the reclassification and I am curious if there ...
user avatar
  • 327
0 votes
0 answers
7 views

NLCD disappears after I reclassified it?

I pulled NLCD data into my project, reclassified, everything was fine. New reclassified layer worked great, saved project, closed. Re-opened this morning, reclassified NLCD is in TOC, but is not ...
user avatar
  • 1
3 votes
1 answer
61 views

ST_Reclass strange behaviour in PostGIS

I am applying st_reclass to my PostGIS raster table (band 4 ) to replace all sel_value where 0 < sel_value < 100 to 1 replace all zeros with no data value which in my case is 255 My code is ...
user avatar
  • 405
1 vote
1 answer
65 views

Reclassification of raster by classification method in QGIS

I am trying to reclass my raster data based on the reclassification methods ( equal interval, quantile,..) in QGIS like we do in ArcMap. I don't see any tool in QGIS to perform reclassification of ...
user avatar
0 votes
1 answer
24 views

Reclassify Polygon Shapefile into different classes based on features

I'm using ArcMap 10.4 I have small problems with my map. I have 7 years of data and I want to classify my map for the different years in different classes. In other words, the year 2010 have different ...
user avatar
  • 1
2 votes
0 answers
49 views

Remap adding values to raster in Google Earth Engine

I'm following this solution for a remap I'm trying to do. However, my output ended up adding hundreds of new pixel values. I simply wanted to reclassify specific values. Would anyone be able to ...
user avatar
  • 41
5 votes
1 answer
76 views

Raster classes area calculation

I have 3 raster layers each of them is classified into 4 classes and each one has defined weight value. I had to to create FINAL raster by multiplying those 3 rasters with their weight values and ...
user avatar
0 votes
0 answers
22 views

Reclassify with a range with OR statements ArcGIS Pro

I need to Reclassify a raster. I have the following: 50-80% OR 10-15% that I want to assign the same value e.g 1 , how do I do this when there is a OR statement? Currently I can only set <=80 , ...
user avatar
  • 1
0 votes
1 answer
45 views

Reclassifying raster using numpy

I have more than 300 NDVI, Soil Salinity and NDMI Calculated Rasters I want to reclassify into categories based on percentages of values like this function: def classify_salinity(ras): max_val = ...
user avatar
0 votes
1 answer
48 views

How to reclassify a raster into equal intervals in numpy?

I want to reclassify a raster based on equal intervals. For example, if the value is in the first interval, the raster cell should be ouput as 1; the second interval should be a 2, etc. So far I've ...
user avatar
  • 13
0 votes
1 answer
107 views

Reclassify very high resolution raster with R/GDAL

I am currently processing a new crop type map for Europe, which can be downloaded from here: https://data.jrc.ec.europa.eu/dataset/15f86c84-eae1-4723-8e00-c1b35c8f56b9 (~ 6GB). The map depicts the ...
user avatar
0 votes
1 answer
54 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 ...
user avatar
  • 57
0 votes
0 answers
16 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 ...
user avatar
  • 1,127
0 votes
1 answer
41 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 ...
user avatar
  • 1
1 vote
1 answer
107 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 ...
user avatar
0 votes
0 answers
24 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 ...
user avatar
0 votes
1 answer
35 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 ...
user avatar
1 vote
1 answer
100 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 ...
user avatar
  • 119
1 vote
1 answer
288 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. ...
user avatar
2 votes
3 answers
100 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 ...
user avatar
  • 165
1 vote
1 answer
50 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"...
user avatar
3 votes
1 answer
258 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 - '...
user avatar
0 votes
0 answers
83 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 ...
user avatar
1 vote
1 answer
58 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"). ...
user avatar
0 votes
2 answers
68 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 ...
user avatar
0 votes
1 answer
85 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 ...
user avatar
  • 715
1 vote
1 answer
242 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 ...
user avatar
  • 31
0 votes
1 answer
51 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 ...
user avatar
3 votes
1 answer
214 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 ...
user avatar
3 votes
1 answer
99 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 ...
user avatar
  • 43
1 vote
0 answers
42 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 ...
user avatar
  • 63
-1 votes
1 answer
52 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 ...
user avatar
  • 451
0 votes
0 answers
15 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....
user avatar
  • 11
0 votes
1 answer
52 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 ...
user avatar
  • 11
3 votes
0 answers
37 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 ...
user avatar
  • 396
5 votes
0 answers
64 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'...
user avatar
  • 6,698
3 votes
1 answer
169 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 ...
user avatar
  • 6,698
3 votes
1 answer
128 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 ...
user avatar
  • 353
2 votes
0 answers
156 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 ...
user avatar
0 votes
0 answers
68 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 ...
user avatar
  • 1
6 votes
4 answers
208 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 "...
user avatar
1 vote
1 answer
65 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) ...
user avatar
1 vote
1 answer
67 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. ...
user avatar
0 votes
0 answers
49 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 ...
user avatar
0 votes
1 answer
126 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 ...
user avatar

1
2 3 4 5 6