Description Usage Arguments Value Author(s) See Also Examples
This function generates a matrix with bounding box information for a global tiling system (based on Lat/Lon!).
1 2 |
tileSize |
Numeric. Size of a single tile, in degrees (Lat/Lon, WGS84) |
offset |
Numeric. Shift the tiling system in upper-left direction. |
StartNameFrom |
Numeric. "c(Lat-Direction,Lon-Direction)" start number in the naming of the tiles. |
extent |
list. Tile system Extent information (basically the coverage of the data on server). |
Matrix
Matteo Mattiuzzi
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
e1 <- genTile() # 1x1 degree tiling system.
# 10x10 degree tiling system with offset to be aligned to Geoland2 Dataset
e2 <- genTile(tileSize=10,offset=(1/112)/2)
# Tiling system for SRTMv4 data (CGIAR-CSI)
e3 <- genTile(tileSize=5,StartNameFrom = c(1, 1),
extent=list(xmin = -180, xmax = 180, ymin = -60,ymax = 60))
head(e1)
head(e2)
head(e3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.