build_polygon_df: Transform a SpatialPolygonsDataFrame object into a data

Description Usage Arguments Value

Description

build_polygon_df takes a SpatialPolygonsDataFrame object and strips coordinates of points which define the polygons. Each point also carries it's associated polygon id.

Usage

1
build_polygon_df(polygons = NULL)

Arguments

polygons

SpatialPolygonsDataFrame object.

Value

Dataframe with three columns: x coordinate, y coordinate, and polygon id.


jwbannister/maricungaVeg documentation built on May 20, 2019, 6:22 a.m.