Questions tagged [reclassify]

Changing the values of the cells in a raster.

Filter by
Sorted by
Tagged with
1
vote
0answers
16 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
45 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
20 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
42 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
18 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
39 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
92 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
8 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
23 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, ...
0
votes
1answer
40 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
127 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....
0
votes
2answers
54 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
43 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
119 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
19 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
49 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
109 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
96 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
52 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
75 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 ...
1
vote
1answer
124 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
51 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
198 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
0answers
166 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
46 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
17 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
92 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
188 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
37 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
107 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
545 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
94 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
1k 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 ...
1
vote
2answers
89 views

Reclassify in python doesn't reclassify things

I'm trying to reclassify the pixel values of NLCD_2011 data to a binary representation of developed vs. undeveloped land. import arcpy arcpy.CheckOutExtension("Spatial") nlcd = ('file ...
1
vote
0answers
138 views

Reclassification and Con(0 not working arcpy [closed]

I have a raster that has three pixel values=0,1,2. I want all pixels of value 2 to be 1. The raster is in tif format, 32 bit signed type. Below is my arcpy script- inRaster1="path address/input.tif" ...
0
votes
0answers
52 views

Reclassify a raster (DEM) to create a constant slope angle

I'm trying to apply a constant slope angle to a raster (DEM) surface. The context is that I'm looking to show a land form upon final completion of works, I've reclassified a number of areas within a ...
0
votes
1answer
72 views

Reclassifying Raster to Vectorize in ArcScan

I have a raster file featuring sidewalks for an entire city. I created this raster from polygons with the intention of using ArcScan to extract a centerline from the raster. I know that the raster has ...
1
vote
1answer
59 views

Using arcpy to reclassify “NoData” to a value

There is a part in my Python script where I convert a Feature to a Raster (arcpy.FeatureToRaster_conversion). The output is a raster with a certain value (based on a field of the Feature). The rest of ...
0
votes
1answer
76 views

Reclassify raster based on cell location and value

I am working in ArcGIS 10.5 (with the spatial analyst extension); I'm relatively inexperienced but I understand what I am trying to do, just need some help on how to accomplish it. I am working with ...
0
votes
2answers
216 views

TypeError: 'int' object is not iterable in reclassifying raster using arcpy

I am trying to reclassify a raster, using arcpy in Python. My code is below from osgeo import gdal import arcpy from arcpy import env from arcpy.sa import * raster_file = 'M:/tgopalakrishna\Data\...
0
votes
0answers
25 views

Reclassifying raster dataset that is output of Mosaic to new raster?

I am trying to apply the reclassify tool on a .tif raster dataset that I produced with the tool Mosaic to new raster. I can run the tool and I receive no error messages, however the resulting values ...
2
votes
1answer
512 views

Create presence/absence (0/1) rasters for every value in categorical raster in R?

I am conducting a logistic regression analysis of spatial data for a project using STAN MCMC within R. The regression analysis itself is done, but now I need a way to apply the parameter estimates for ...
2
votes
1answer
125 views

Deleting pixels of a certain class that are connected to less than 2 other cells in R?

I want to process my data (classified single-band raster) according to a specific idea. Pixels that do have less than 2 neighbors of the same class (eg. with the value 1) shall be removed and ...
0
votes
0answers
35 views

Raster classification

I am a novice in arcgis. Initially I had a raster of land use with several classes which I used a neural network model to predict future land use based on one class which is agriculture, in the ...
0
votes
0answers
175 views

Keep getting ERROR 999999: Error executing function when invoking ReclassByASCIIFile

This error has puzzled me for days, as I can run this on my raster within Arcmap with no issues. My snippet of code is: # Process: Average FFPI cells to sub basins using Zonal Average technique ...
0
votes
1answer
54 views

Running reclassify and Int tools on raster?

I am trying to do a very simple thing - convert a raster to a polygon where positive values are one set of polygons, and negative values are another set of polygons. The raster ranges from a minimum ...
0
votes
1answer
483 views

Assigning categories to a single band raster in Google Earth Engine?

I'm trying to assign bins to a raster containing values between -1 and 1 in GEE. The bins would be 0.41<x<0.60, 0.61<x<0.80 for example. Is there a function for this? The only function I ...
2
votes
0answers
73 views

“two ways” Reclass QGIS

I'm a forestry technician and I've one question dealing with forest road planning... in order to calculate areas that can be cover by a specific machine (with a given work distance) I do as follow: "...
1
vote
0answers
61 views

Error with r.reclass on QGIS for Mac

I'm trying to use r.reclass fonction (grass7) on QGIS (2.18.15) for Mac but when I ran it, there was an error : [Errno 13] Permission denied: u'tmp152292116024' See log for more details I searched ...
1
vote
0answers
63 views

Reclassify land use map based on agricultural statistics [closed]

I'd like to create a land cover map of Greece with enhanced information on the spatial distribution of agricultural crops. As you know, common land cover products (such as ESA CCI LandCover or CORINE)...