Skip to main content

Questions tagged [reclassify]

Changing the values of the cells in a raster.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Reclassify with decimal values [closed]

I'm currently working on a DEM which I want to reclassify to a decimal values. I want to make five classes of different range and reclassify by giving them value like 0.3424, 0.6425, 0.6363, 0.2465, 0....
Saad ashfaq's user avatar
1 vote
0 answers
37 views

Starting from a DEM raster, is it possible to arrive at a polygonal layer with a slope greater than 30% not in squares?

On this site it is possible to download DEM maps of Italy with an accuracy of 10 meters: https://tinitaly.pi.ingv.it/Download_Area1_1.html Bringing this raster into QGIS and running the Slope command ...
andreaordonselli's user avatar
1 vote
1 answer
62 views

Implement natural breaks (Jenks) in Google Earth Engine

I have a raster file representing a vegetation index. I want to reclassify that raster into 5 classes using the Natural Breaks method in Google Earth Engine. Additionally, I want to export the break ...
Isa's user avatar
  • 197
0 votes
0 answers
35 views

Replacing raster values by list GEE

I have a raster that I have mapped his values. I have made a new list of values that I want to replace them. But I want the replacement to be by pixel to pixel. Example: original raster pixels value = ...
Jony's user avatar
  • 1
0 votes
0 answers
62 views

Unable to convert raster to polyline

I'm having trouble successfully converting a raster to a polyline feature in ArcGIS Pro. My ultimate goal is to take the values from a raster image and join them to a line layer so that I can ...
Justin Baker's user avatar
0 votes
0 answers
41 views

How to assign a value to a set of 25 identical pixels in a raster layer?

I am using ArcGIS Pro 3.1 I would like to create a new raster layer from an existing raster composed of 4 possible discrete values (MIN=0, MAX=4, VAL=0,1,2,3,4). This existing raster illustrate ...
Raphael's user avatar
0 votes
1 answer
81 views

Using Raster calculator to extract all cells that have one of number of values

I'm using QGIS 3. I have a raster layer for Koppen Geiger climate which has one band with values ranging from 1, 30. I want to make a new raster with only cells which have a value of the climates I am ...
JdP's user avatar
  • 39
2 votes
1 answer
171 views

How to merge raster classes using the raster calculator?

I need to do an analysis on landscape change for which agriculture is involved. In my raster they are defined as six different classes which is not relevant for my research I was wondering if you can ...
Hartje's user avatar
  • 133
1 vote
1 answer
78 views

Issue with GEE remap function

I am running into a strange error that I cannot seem to fix. I want to reclassify an image in Google Earth Engine using lists. The values in one list bins represent the pixel values in the raster ...
ESimonson's user avatar
1 vote
0 answers
77 views

Reclassify raster data based on specified values in a field

I am building a processing plugin that uses elevation values from a shapefile to reclassify a raster data file. Desired Table Group Condition A: every unique value is treated as a group, and assign ...
Beginner's user avatar
1 vote
1 answer
46 views

Geometric Interval Classification with GEE JavaScript API

I am attempting to perform a geometric interval classification using the Google Earth Engine JavaScript API. I have some code that calculates the geometric intervals given a start/end value & ...
ESimonson's user avatar
4 votes
2 answers
396 views

How to reclassify all contiguous pixels of the same class in a raster?

TLDR: How can I reclassify a contiguous group of pixels of a single class into a new class while leaving non-contiguous pixels of that same class unchanged? I have been working in ArcGIS Pro (3.1), ...
ia200's user avatar
  • 367
0 votes
0 answers
65 views

QGIS Reclassify by Table With Expression

With QGIS Reclassify by Table I am trying to reclassify a raster within a model with a formula that uses statistics from the raster layer I want to reclassify. The formulae I am trying to recreate are:...
Sean Jarrett's user avatar
0 votes
1 answer
55 views

Reclassified image not showing in Google earth engine

What I am trying to do is simply reclassify the spectral indices generated in the google earth engine based on some threshold values. The thresholds are generated in the earth engine platform only. I ...
CESCRA IARI's user avatar
2 votes
1 answer
188 views

Reclassify field values from txt rule file in QGIS

I need to reclassify all the values of one field of my vector file in QGIS. I'm trying to use the function v.reclass, using a text file as a rule file. I get this error: ERROR: Either 'rules' or '...
Fabio Castelli's user avatar
0 votes
2 answers
52 views

How can I create a new raster from two different rasters like v.patch does?

I have two rasters with zones and I want a patched product from these two as a new classification like: Zone1 Zone2 Result 12 14 1 15 21 2 15 23 3 17 14 4 54 1 5 etc each ...
Nikolay Yasinskiy's user avatar
0 votes
0 answers
311 views

Extracting pixels in color range from georeferenced image using ArcMap and Spatial Analyst

I have a raster map that has red areas in it. I want to extract the red areas as a polygon FC for spatial analysis purposes (find where red polygons overlap a different polygon FC). Unfortunately, the ...
User1974's user avatar
  • 1,132
0 votes
1 answer
182 views

Reclassifying a Curvature raster

I am trying to reclassify a profile curvature raster generated by the Curvature tool available in ArcGIS into three classes following the tool help where it is reported that; ...a negative value ...
Dave's user avatar
  • 1,218
0 votes
1 answer
310 views

Reclassifying multiple bands in Google Earth Engine

I'm trying to reclassify multiple bands from my raster. It is a land use raster of the Amazon basin by Mapbiomas. I need to reclassify all 36 bands at once. ## Reclassifying multiple bands raster ...
Edivando Vitor do Couto's user avatar
2 votes
1 answer
122 views

Classify the image by a field in its attribute table using QGIS software

I created the attribute table of raster data in ArcMap software. There is a field that I added in the attribute table that I created. I can reclassify the image using the field I added to the image's ...
emre's user avatar
  • 23
3 votes
1 answer
3k views

Reclassify rasters in R using terra package

I have several rasters with values from 0 to 7, and I want to reclassify pixels using 3 different areas and different conditions. I want to reclass rc1 pixel value of (1 or 3 or 5 or 7) to 1 rc2 pixel ...
Sarash's user avatar
  • 45
1 vote
1 answer
800 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 ...
L. Neal's user avatar
  • 11
3 votes
1 answer
237 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 ...
Data2Logic's user avatar
1 vote
1 answer
94 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:...
ChuDingjin's user avatar
0 votes
0 answers
43 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....
B RG's user avatar
  • 123
1 vote
1 answer
240 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 ...
Viv's user avatar
  • 675
0 votes
0 answers
31 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 ...
KHT's user avatar
  • 1
3 votes
1 answer
272 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 ...
rm167's user avatar
  • 469
1 vote
1 answer
607 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 ...
user8160648's user avatar
1 vote
1 answer
338 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 ...
Alex's user avatar
  • 11
2 votes
0 answers
250 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 ...
Jim's user avatar
  • 41
5 votes
1 answer
539 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 ...
Marko Boričević's user avatar
0 votes
0 answers
173 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 , ...
nes's user avatar
  • 1
1 vote
2 answers
314 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 = ...
Kumail Raza's user avatar
0 votes
1 answer
227 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 ...
JEL's user avatar
  • 13
0 votes
1 answer
353 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 ...
Michiel van Dijk's user avatar
0 votes
1 answer
539 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 ...
jblng's user avatar
  • 57
0 votes
0 answers
227 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 ...
BallpenMan's user avatar
  • 1,217
1 vote
2 answers
205 views

Reclassifying a raster by defined interval with QGIS

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 ...
Jan42's user avatar
  • 11
2 votes
1 answer
551 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 ...
Favoured Akosua Yeboah's user avatar
1 vote
1 answer
261 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 ...
madcat09's user avatar
1 vote
1 answer
408 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 ...
Spectron's user avatar
  • 127
1 vote
1 answer
1k 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. ...
John Polo's user avatar
  • 377
2 votes
3 answers
343 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 ...
Carina's user avatar
  • 157
1 vote
1 answer
137 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"...
Salvatore Praticò's user avatar
3 votes
1 answer
1k 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 - '...
ActionEcologist's user avatar
0 votes
0 answers
209 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 ...
ActionEcologist's user avatar
1 vote
1 answer
99 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"). ...
Michela Zanni's user avatar
0 votes
2 answers
264 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 ...
Luis Romero's user avatar
1 vote
1 answer
165 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 ...
Simba06's user avatar
  • 841

1
2 3 4 5
7