Learn R Programming

geozoning (version 1.0.0)

getNumZone: getNumZone

Description

getNumZone

Usage

getNumZone(ptsp, Z)

Arguments

ptsp

SpatialPointsDataFrame

Z

zoning geometry (list of SpatialPolygons)

Value

the zone number

Details

get zone numbers to which each point in a SpatialPointsDataFrame belongs

Examples

Run this code
# NOT RUN {
data(mapTest)
data(resZTest)
K=resZTest
Z=K$zonePolygone
getNumZone(mapTest$krigData,Z)
# }

Run the code above in your browser using DataLab