create_ignition_polygon: Create an ignition point shapefile

Description Usage Arguments Value

Description

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.

Usage

1
create_ignition_polygon(path, xy, width, crs = sf::NA_crs_)

Arguments

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).

Value

A spatial data frame (sf object) with the ignition polygon.


mbedward/farsitebatch documentation built on May 8, 2019, 1:51 p.m.