geom_from_boundary: Make Geometry from boundary

Description Usage Arguments Details

Description

Takes a dataframe at returns an sf object.

Usage

1
geom_from_boundary(df, epsg, add = T)

Arguments

df

A dataframe including the columns xmin, xmax, ymin, max

epsg

Intger value of the CRS the data is set to.

add

A boolean determining whether the geometries should be added to the input dataframe (add = TRUE) or if only the geometries should be returned (add = FALSE).

Details

This function takes a dataframe and returns an sf object. The dataframe must contain the columns, xmin, xmax, ymin, max, which will be turned into the edges of a rectangular sf polygon.


swissgeodata4r/swissrastermaps4r documentation built on May 31, 2019, 6:44 p.m.