Hot answers tagged

5

When your merged raster is composed of values 2, 1, 0, an expression merged raster > 0 will ask each cell if it is greather than zero. And the answers (Yes or No) will be returned as (1 or 0), which is usually referred as (True or False). All the values greather than zero is converted into 1 (True), while zero is retained. The meaning of 0 is now changed ...


3

Michael Stimson's comment has the appropriate answer to this question. This can be done by using the "cell statistics" (Processing Toolbox -> Raster Analysis -> Cell statistics). The associated documentation can be found here. You will need version 3.16 or greater of QGIS to access this feature. Select the rasters you want to count ...


2

As you don't provide an Elv region, I arbitrarily consider one in USA country. On the other hand, you said that above code it is only for 10 days but .filterDate('2002-10-01','2002-11-30') method take in account 60 days in your Image Collection (1440 images). So, you need to consider a function with an ee.Reducer for your region (Elv), for mapping all 1440 ...


2

In FME 2020.1 To order the rasters use the Attribute Creator and then assign a number (1,2 etc). Then sort them by numeric (ascending) Workspace template is available here https://community.safe.com/s/article/alpha-compositing-blending-two-raster-images


1

so I found a solution on my own too using the Raster Calculator from the Raster menu. I clipped my raster to the shapefile I wanted using the "Clip raster by mask layer from GDAL: I opened the raster calculator: Then I double-clicked the raster I wanted to modify and typed "-200" in the calculator and my expression became "'Clipped (...


1

I found this link on how to change pixel values using the raster calculator: Changing pixel values using QGIS raster calculator?


1

I would suggest the following: In the attribute table of the vector layer, make a new column called "value", and give a -200 value to the column (or any other value that you want to assign as a new depth/height). Convert your polygon to a raster. You can do this with the Rasterize tool (raster>conversion>rasterize). Make sure the new ...


1

On the RHS of the Raster symbology window, there is a small ellipsis (three dots) button which can export/import Color Map file (.clr). This clr is just a text file, you can open it with any text editors. (Below is an example which represents the color palette used in the above.) 0 100 156 239 255 0 1 222 141 19 255 1 2 133 225 110 255 2 3 68 206 123 255 3 ...


1

It is unclear if you are working with an RGB multiband composite or a single raster with 3 classes that you are calling red, green, blue. Please edit your question to clarify. Here I address a single band multi-class raster. The workflow would be somewhat different if multivariate and I would ask what are you after using distance across bands? In this case, ...


Only top voted, non community-wiki answers of a minimum length are eligible