Learn R Programming

leafletR (version 0.4-0)

checkPolyHole: Internal function of spToGeoJSON

Description

Checks if hole is part of polygon or not. Used by spToGeoJSON.

Usage

checkPolyHole(polyCoord, holeCoord)

Arguments

polyCoord
Polygon coordinates as data.frame.
holeCoord
Hole coordinates as data.frame.

Value

See Also

spToGeoJSON