"SpatialPolygonsDataFrame"
"SpatialPolygonsDataFrame"
)
and is spaced by a given distance.
get.Grid.size(shape, origin.grid, x.res = 0.05, y.res = 0.05, plot = FALSE)
"SpatialPolygonsDataFrame"
origin.grid
parametre. Say there is the
need to work on a nation-wide scale. For this you construct a
grid over the whole shapes constituting the country, naming is
extremal or external grid. Now to study
in detail a given state it is recomemded to construct a smaller
grid covering only state of interest and not the whole nation. Doing this
it is necesary to asure that the smaller grid intersects the
external grid. Providing the parametre commandorigin.grid constructs
a small grid over the given shape but that overlaps exactly with the
external grid commandorigin.grid. An example that illustrates the above
could be:
# External grid VE <- get.shape.state(get.shape.state()$Abb) External.Grid <- get.Grid.size(VE, plot=F, x.res=1, y.res=1) # Small grid over a state NE <- get.shape.state(c("MI","NE")) Small.Grid <- get.Grid.size(NE, External.Grid, plot=T, x.res=0.25, y.res=0.25)
grid.pngGrid overlay example
get.shape.venezuela
,
get.shape.state
,
get.shape.range
.