ptsInSp: ptInSp

Description Usage Arguments Details Value Examples

Description

ptInSp

Usage

1
ptsInSp(sp, pts, hole = FALSE)

Arguments

sp

SpatialPolygons

pts

data points

hole

if TRUE also consider points in holes

Details

finds data points in sp

Value

a data frame with data points within sp

Examples

1
2
3
4
data(mapTest)
data(resZTest)
Z=resZTest$zonePolygone
ptsInSp(Z[[5]],mapTest$krigData) # 5 data points within zone 5

geozoning documentation built on May 2, 2019, 9:43 a.m.