poly_tester {stppSim} | R Documentation |
Geometry and Coordinate Reference System test of a polygon
Description
Tests whether a polygon
has the correct geometry,
namely; S4
or sf
. Also, tests
that there is a valid projection attached to
the polygon.
Usage
poly_tester(poly)
Arguments
poly |
(as |
Details
Returns an error message if the polygon is not in the correct geometry or CRS.
Value
Returns error messages, or mute
Examples
#load boundary of Camden
load(file = system.file("extdata", "camden.rda",
package="stppSim"))
boundary = camden$boundary # get boundary
poly_tester(poly=boundary)
[Package stppSim version 1.3.4 Index]