Create the Sample Raster: This is for linear features. You pass the lines as a lines feature as well as the spatial sample smp. Then match by what was clipped in the Halton Boxes. Then draw a Halton sample along the lines. For continuous sampling inside a Halton box on a line.
1 | getPolyRast(shp, smp, bb, J = c(5, 3), base = c(2, 3))
|
shp |
Linear features for rivers or some sort of lines. |
smp |
The chosen samples as data.table. |
bb |
Master Sample bounding box. |
J |
Master Sample cuts to figure out what the raster is. |
base |
co-prime base. Almost always 2,3. Might really bugger things up if it weren't. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.