Learn R Programming

spNetwork (version 0.2.1)

surrounding_points: Points along polygon boundary

Description

Generate a SpatialPointsDataFrame by placing points along the border of polygons of a SpatialPolygonsDataFrame.

Usage

surrounding_points(polygons, dist)

Arguments

polygons

A SpatialPolygonsDataFrame

dist

The distance between the points

Value

A SpatialPolygonsDataFrame representing the grid

Examples

Run this code
# NOT RUN {
#This is an internal function, no example provided
# }

Run the code above in your browser using DataLab