Questions tagged [reclassify]
Changing the values of the cells in a raster.
297
questions
0
votes
0
answers
23
views
Connect r.quantiles with r.reclass to get a new raster layer divided into multiple zones in QGIS Modeler
I want to build a model in QGIS to convert an NDVI raster into a new raster is divided into multiple zones. I want to be able to determine how many zones the raster file should have and every zone ...
0
votes
0
answers
35
views
Trying to make a binary raster with reclassify but the new values are very high
I am trying to use the reclassify tool to make a binary raster of a hydrological network shapefile which I used the buffer tool on before hand. Here are the settings I put through the reclassify tool :...
0
votes
0
answers
84
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 ...
0
votes
1
answer
86
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 ...
0
votes
1
answer
176
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 ...
0
votes
0
answers
56
views
Running PCA with nan data
I want to run a PCA with several rasters on QGIS. Some of my rasters have nan data and that is why I cannot run it. I tried using the SAGA reclassification by grid, but not sure I am using it right... ...
2
votes
1
answer
65
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 ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
413
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 ...
3
votes
1
answer
129
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 ...
1
vote
1
answer
69
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:...
0
votes
0
answers
31
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....
1
vote
1
answer
129
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 ...
0
votes
0
answers
20
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 ...
3
votes
1
answer
169
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 ...
1
vote
1
answer
361
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 ...
1
vote
1
answer
191
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 ...
2
votes
0
answers
192
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 ...
5
votes
1
answer
287
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 ...
0
votes
0
answers
126
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 , ...
1
vote
2
answers
211
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 = ...
0
votes
1
answer
165
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 ...
0
votes
1
answer
225
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 ...
0
votes
1
answer
300
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 ...
0
votes
0
answers
118
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
1
answer
116
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 ...
2
votes
1
answer
381
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
1
answer
135
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
1
answer
261
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
1
answer
893
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
3
answers
200
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
1
answer
104
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
1
answer
658
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
0
answers
151
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
1
answer
82
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
2
answers
154
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 ...
1
vote
1
answer
149
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
1
answer
500
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
1
answer
131
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 ...
3
votes
1
answer
477
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
1
answer
203
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
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 ...
-1
votes
1
answer
69
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
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....
0
votes
1
answer
95
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 ...
3
votes
0
answers
104
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 ...
5
votes
0
answers
128
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
1
answer
399
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
1
answer
307
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
0
answers
344
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 ...