Questions tagged [reclassify]

Changing the values of the cells in a raster.

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

Picking particular color(s) from Raster to generate new raster

I'm trying to pick just three colors from the raster I'm working with to generate an output raster. The problem is when I use the Image classification tool- Iso cluster unsupervised classification &...
1
vote
1answer
47 views

Reclassify NDVI and count number of pixels above certain threshold in Google Earth Engine

Following on from a previous question (NDVI reclassify with mean +1SD as threshold in Google Earth Engine) I have managed to show the pixels that have value higher than NDVI mean+1SD at the estuary ...
0
votes
1answer
55 views

NDVI reclassify with mean +1SD as threshold in Google Earth Engine

I'm trying to do ndvi reclassify in google earth engine. I know exactly how to do it in Arcgis but I'm very new with GEE and I got stuck with javascript. What I want to do is to use mean + standard ...
0
votes
1answer
38 views

Create Layer of pixels with value higher than 0.3

I have code that suppose to calculte NDVI and calssify it according to the NDVI value. I have tried to add a function that will create for me a new layer that will have only pixels with value higher ...
0
votes
2answers
44 views

Reclass NDVI value using a function

I'm trying to reclass the values of a sentinel 2 NDVI creating a function but I don't know exactly how do to it. What I exactly want is: When NDVI values are between -1 and 0, return (-1) ; 0 and 0....
1
vote
1answer
59 views

Reclasifing raster with raster calculator

I am using QGIS 3.8 and I have a raster named "Ri" with one band with values ranging from 0.00299858 to 0.198849 and second raster named "IP_Q" with one band with values ranging from 0.00100708 to 14....
1
vote
0answers
22 views

Reclassify slope raster

I want to reclassify a slope raster as part of Least Cost Path Analysis, but I'm a little bit confused about the reclass rules. My rules look like this at the moment (numbers left are degree): 0 ...
2
votes
1answer
49 views

How to reclass zero values for an aspect raster layer

reclass in QGIS 3.4.11 to reclassify a raster file of aspect values. All cells reclass apart from zero values which now show as 'no data'. Text file is as follows: 0 thru 23 = 2 23 thru 68 = 2 68 ...
0
votes
0answers
12 views

Running a reclass code based on SHAPE.LEN field

I am trying to run a python reclass function but I keep getting the following error 000539: Error running expression: Reclass( GPVARIANTOBKECT0.LEN) A work around is to add a new field that is ...
0
votes
0answers
28 views

GRASS GIS - 'cat' directory showing 0 categories for reclassified DEM?

I am trying to use an online model (Titan2D) which requires a material map (a DEM that has been reclassified so that each group can be assigned a value of constant bed friction angle once it has been ...
0
votes
3answers
89 views

Create new raster from both overlapping and non-overlapping values of two other rasters in R

I am having trouble figuring out the best way to create a new raster from values in two separate rasters. Some solutions involve creating stacks or bricks, others do not. Here is an example: First ...
1
vote
1answer
66 views

ArcPy reclassify with if statement and cell value

I have a workspace with NDVI rasters and another workspace with greyscale rasters. The rasters have the same name. I want to reclassify the NDVI raster while also using the greyscale values in a ...
1
vote
1answer
77 views

Arcpy reclassify with function

I have two rasters, one with NDVI values, and one with greyscale values (=(red band + green band + blue band) / 3). The rasters have the same name. I need to reclassify them in arcpy with the ...
1
vote
0answers
46 views

Get error using r.reclass in QGIS 3.4

I am trying to use r.reclass function on a Land Cover raster in QGIS 3.4. The operation is quite basic stuff and the settings are attached below. However, I get an error that prevents the creation of ...
1
vote
2answers
35 views

Reclassifying Raster Value Classes based on pre-defined function using ArcGIS Spatial Analyst?

I have this distance raster (shown in the image below). Is it possible to reclassify the distance values based on the description below- For distance values 0-100 (new value decreases linearly from ...
1
vote
0answers
45 views

Reclassifying string variable in ArcGIS Field Calculator with Python Parser?

I am trying to calculate a roadway pedestrian restriction based on its functional class, using if/else logic in Python. Every time I enter this, it only turns up 'No'. The categories are strings, and ...
0
votes
1answer
71 views

Change LIDAR classification of points inside polygons

I'm trying to create a pdal pipeline to adjust the classification values for all points inside polygons, but I can't seem to get it to work. The filters.range works correctly because the output file ...
1
vote
0answers
20 views

ArcMap cloud removal process

I am working with Landsat 8 data. I have performed the necessary pre-processes that I want (atmospheric and topographic correction and pan-sharpening, using QGIS and ERDAS). I am now working on ...
3
votes
1answer
113 views

Reclassify multiple raster files with GDAL [closed]

I have a directory containing multiple .tif files which I want to reclassify and save to a new directory. The following code already worked for a single raster. Unfortunately, I don't know how to use ...
2
votes
0answers
33 views

QGIS reclassify values error

I tried to use reclassify values function in QGIS. But there are always giving the following error. Does anyone know how to solve this problem? Algorithm Reclassify values starting... io_gdal 0 -...
5
votes
1answer
68 views

Error in reclassifying with ArcPy

I am trying to reclassify DEM using arcpy.sa.Reclassify and it is showing an error. Following are my commands: dem_re=arcpy.sa.Reclassify("dem_extfish.tif","VALUE",arcpy.sa.RemapRange([[391, 677, 1],...
0
votes
0answers
31 views

Reclass raster map areas smaller than specified area size

I need to reclassify raster areas smaller than 100m2 (0.01 ha) to new ones. r.reclass. area from GRASS GIS does the job for some raster sizes, but simply stucks/doesn't work on bigger ones (54000 x ...
0
votes
2answers
44 views

Reclassifying vector polygons based on text string to integer using Python Parser of ArcGIS Field Calculator?

So I am trying to reclassify a text string by searching for bits of strings and converting those strings to an integer value in a new field within the field calculator. e.g. I want to find all values ...
1
vote
1answer
150 views

Reclassifying Raster (Heatmap) from Value to Percent using QGIS?

I have a point layer with several points "belonging" to different years by attribute. For all points of each year I created a heatmap. Now I would like to define the core area of each heatmap. ...
0
votes
0answers
10 views

Inner workings of GRASS reclassification on QGIS. How does it work with multiband rasters?

I have a 33 band raster layer I need to reclassify. I tried using GRASS module inside QGIS and it worked out fine, except that it outputs a raster with a single band. Which band of the 33 did it ...
0
votes
1answer
51 views

Creating user defined input to simplify Reclassify tool and negate need for remap

I would like to build a script tool using Arcpy that reclassifies a raster layer based on a single user input parameter. For example, if the user inputs the number 7, then 0 - 7 would reclassify as 1, ...
1
vote
1answer
60 views

Reclassifying raster with 33 bands in ArcMap?

I have a file geodatabase raster dataset with 33 bands. Each band is comprised of pixels with values 1-31. This represents 33 years of landuse cover data (with 31 different landuse classes). I'm ...
0
votes
1answer
380 views

Reclassifying rasterstack in R?

I have a very large raster stack of 6253 raster layers and I want to reclassify it. For the reclass, I have tried the following but with no success: my_rules <- c(-0.500, -0.251, 1, -0.251, -0....
3
votes
2answers
308 views

Remap with number-limits and not individual values in GEE

I have a rather basic question regarding the reclassification of ImageCollections in GEE. When I want to reclass individual values, I use the remap function as follow var my_reclass= function(image) {...
1
vote
1answer
111 views

Reclassifying field using Python wildcard string search?

I have a point layer with 900K Tree Point records. In that layer I have field (d_Species) that contains the tree species of each record. I've created a field (SpecieValu) to assign a value (0-3) for ...
2
votes
1answer
127 views

Partial raster reclassify in QGIS

I have a CHM model (raster) with values -10 up 100. I need to reclassify values as: value < 0 => 0 0 < value < 50 => the same value value > 50 => 0 I tried so many tools, but I cannot ...
0
votes
0answers
21 views

Reclassification of a two-sided significance test result of a rasterstack

I have in my project to analyze a time series of NDVI data for significant changes. For this I did a pixelwise check: # Loading all necessary libraries library(sp) library(raster) library(rgdal) ...
1
vote
0answers
85 views

Reclassify raster conditional on attribute values in R

My raster has nonsensical values (based on combination of multiple rasters in previous steps), with attributes maintained (again, due to combination of rasters in previous steps), see below for sample ...
3
votes
1answer
165 views

Reclassification of MODIS collection in Google Earth Engine

I want to reclassify the MCD43A4_006_NDVI collection and change all negative values into NAs. I have the following code but I am not sure how to do this. Any ideas? var geometry = /* color: #...
0
votes
2answers
212 views

Reclassify a raster in R based on two rasters with the output containing over 1000 bands

I am trying to convert the outputs of a model into a raster based on both a temperature raster and a seasonality raster. I have over 2100 bands so ifelse statements aren't going to cut it. An example ...
0
votes
1answer
62 views

Using ArcGIS ModelBuilder to reclassify by raster properties (mean)?

I'd like to reclassify raster using ModelBuilder based on the raster properties. For example assign 0 to all values less than mean+2, and assign 1 to other values I could do it manually by ...
1
vote
1answer
146 views

Classifying quantiles in raster dataset with ArcPy?

I am trying to write a Python script which uses the reclassify function in ArcPy to create 9 classes in a raster file. I want to use the quantile method to create the breaks, but so far, I can't seem ...
2
votes
1answer
307 views

Layer names changed after reclassification of rasterstack, R

Following one of my previous questions about looping through a rasterstack (here), I now face a different issue. My initial rasterstack had dates as names (e.g. X2000_05_08.1) and I reclassified it in ...
1
vote
0answers
78 views

Unable to select table in “reclassify by table” algorithm in QGIS Processing Modeler

In the Processing Modeler (Graphical Modeler) for QGIS 3.4.3, the "reclassify by table" tool seems bugged. I cannot select a Reclassification table, even though it's an obligatory field. Am I doing ...
0
votes
1answer
328 views

Reclassify and combine rasters in QGIS?

I have a vector layer containing watercourse location which I have rasterized. I also have a DEM containing elevation data for the region in which the watercourses are located. I would like to ...
2
votes
1answer
497 views

Using Reclass in Arcpy, Error 010005: Unable to Allocate Memory

I've derived a raster of slopes from a 10 m DEM resampled to 15 m for an area of approximately 20,000 mi^2. I want to use Python to reclassify those slopes into categories according to range, but ...
0
votes
1answer
63 views

Reclassify with attribute

So, I don't really know how to word what I want to ask, but I took a DEM file and did used the raster calculator to select a certain elevation range. After that I reclassified it to separate it into ...
1
vote
1answer
18 views

Adding values on reclassified layers using ArcMap?

I have reclassified the values on the layer I am using, however, I would like to add extra values. The final values showed in the layer should be in a scale from 0 to 10. That means, in this case, I ...
1
vote
0answers
165 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
2answers
350 views

R: Reclassify a raster stack through the range of the quantiles of each layer. Generic quantiles function ; layer by layer

I have a raster stack that contains terrain bends extracted with different neighborhood windows "crosc_nxn" (e.g. 3x3, 5x5, etc ...). crosc_nxn <- raster::stack(path.files.list) > crosc_nxn ...
0
votes
0answers
46 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, ...
0
votes
1answer
208 views

Adding values from a table to an image band - Google Earth Engine

I'm trying to add values from a table to a cluster image. The cluster image has 50 cluster classes, and my table has 50 values for each cluster class. How do I add the values from that table to the ...
1
vote
2answers
1k views

Calculating statistics per area for categorical raster using R?

I am working with the area of New York City (NYC) in ArcGIS 10.1. I have a landcover raster map with several different land cover categories. What I am trying to do is to build up a table in which, ...
2
votes
2answers
147 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
4answers
2k views

Reclassify in QGIS

I have a raster file (DEM) whose values range from 0 to 1565 meters (elevation). I want to extract a new raster file after classifying the values in four classes like this: <= to 150 meters ...