Description Usage Arguments Value
FARSITE requires a polygon shapefile for ignition location. This function takes the coordinates for a point, creates a square polygon around it of specified width, and saves this as a shapefile.
1 | create_ignition_polygon(path, xy, width, crs = sf::NA_crs_)
|
path |
Path for the output shapefile. |
xy |
Two element vector with X and Y ordinates of ignition location. |
width |
Width of the polygon to create. |
crs |
Optional coordinate reference sytem (e.g. EPSG integer code). |
A spatial data frame (sf
object) with the ignition polygon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.