Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 162432

Raster is a data format consisting of regular grids of values, usually stored in an image-like format.

3 votes
1 answer
4k views

How do I extract pixels of specific values from a raster in Google Earth Engine?

Say in this example, the classified results are: water (2), vegetation (1) and urban (0). I want to extract water only, i.e. pixels with the value 2. I couldn't find a function in GEE that would let m …
catlovingtaco's user avatar
1 vote
1 answer
1k views

Calculating area of water pixels, and plotting them in Google Earth Engine

I understand that this method creates a raster whereby the value of each pixel is the corresponding area of a specific pixel. … This means that we would need a raster of strictly value 1 to multiply with that raster, to get the area, as is shown in Quantifying Forest Change and Calculating Area in Google Earth Engine. …
catlovingtaco's user avatar