bbox.mat {AIGIS} | R Documentation |
Given a list of polygons of class gpc.poly, this creates a matrix where each row contains the bounding box data for corresponding polygon.
bbox.mat(zones = cabggpc)
zones |
The list of polygons from which to extract bounding box information. |
A matrix of dimension length(zones)
by 4. The columns correspond to low longitude, high longitude, low latitude and high latitude respectively.
Benjamin P. Bryant, bryant@prgs.edu
data(cabgbbmat) data(cabggpc) moh <- bbox.mat(cabggpc) identical(cabgbbmat, moh)