Classify data in management zones of maps obtained with the Zoning algorithms.
methods
DataInZone(data, maps, use_id =FALSE)
Arguments
data: sp::SpatialPointsDataFrame or sp::SpatialMultiPointsDataFrame object, The input data.
maps: sp::SpatialPolygonsDataFrame object, or a list of sp::SpatialPolygonsDataFrame , The map or list of maps to process.
use_id: boolean, Use the id attribute of the zone in the map if TRUE, or the order index (1-based indexed) of the zone in the map if FALSE (the default).
Returns
sp::SpatialPointsDataFrame or sp::SpatialMultiPointsDataFrame object depending of the type of input data. Return table of membership of each point in the zones for each map, the input data and a column for each map processed (named "map{number of zones in the map}") with the class of each point.