You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replaced extent() with ext() functions in text descriptions and unpdated alt text descriptions to be shorter than 140 characters to prevent build issues.
So far, we have used a shapefile to crop the extent of a raster dataset.
255
-
Alternatively, we can also the `extent()` function to define an extent to be
255
+
Alternatively, we can also the `ext()` function to define an extent to be
256
256
used as a cropping boundary. This creates a new object of class extent. Here we
257
-
will provide the `extent()` function our xmin, xmax, ymin, and ymax (in that
257
+
will provide the `ext()` function our xmin, xmax, ymin, and ymax (in that
258
258
order).
259
259
260
260
```{r}
@@ -305,7 +305,8 @@ for example, plot locations that we are sampling on the ground. We can extract
305
305
all pixel values within 20m of our x,y point of interest. These can then be
306
306
summarized into some value of interest (e.g. mean, maximum, total).
307
307
308
-
{alt = "Extract raster information using a polygon boundary. From https://www.neonscience.org/sites/default/files/images/spatialData/BufferSquare.png"}
308
+
{alt='Image shows raster information extraction using 20m polygon boundary'}
To do this in R, we use the `extract()` function. The `extract()` function
311
312
requires:
@@ -378,7 +379,8 @@ point. By default, the units of the buffer are the same units as the data's
378
379
CRS. All pixels that are touched by the buffer region are included in the
379
380
extract.
380
381
381
-
{alt = "Extract raster information using a buffer region. From: https://www.neonscience.org/sites/default/files/images/spatialData/BufferCircular.png"}
382
+
{alt='Image shows raster information extraction using 20m buffer region.'}
0 commit comments