Description Usage Arguments Details Value
View source: R/featuresForElevations.R
elevationsToRaster create a raster fileset of elevations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18  | elevationsToRaster(
  rasterFileSetName = "default",
  rasterDir,
  mapDataDir,
  USStatevec = NULL,
  CAProvincevec = NULL,
  USParkvec = NULL,
  worldCountryvec = NULL,
  mapWindow = NULL,
  cropbox = NULL,
  parkDir = NULL,
  mapbuffer = 0,
  mapmergebuffer = 0,
  maxrastercells = 2.5e+08,
  workProj4 = "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0",
  year = 2017,
  resstr = "_1arc_v3_bil"
)
 | 
rasterFileSetName | 
 names of saved raster data files  | 
rasterDir | 
 location to load and save raster files  | 
mapDataDir | 
 directory where zipped SRTM data files reside  | 
USStatevec | 
 vector of standard 2-letter abbreviations of US states, or pre-defined regional aggregations of states for use in defining map or finding features to include in the map  | 
CAProvincevec | 
 vector of standard 2-letter abbreviations of Canadian provinvces states, or pre-defined regional aggregations of states for use in defining map or finding features to include in the map  | 
USParkvec | 
 vector of US National Park names  | 
worldCountryvec | 
 vector of 3-letter ISO country abbreviations  | 
mapWindow | 
 a vector of 4 numbers which describe the region drawn. The format is c(lon_min, lon_max, lat_min, lat_max)  | 
cropbox | 
 vector of 4 numbers for cropping the map defined above The format is c(lon_min, lon_max, lat_min, lat_max).  | 
parkDir | 
 location of downloaded US Park boundary shapefiles downloaded from, for example, https://irma.nps.gov/DataStore/  | 
mapbuffer | 
 numeric value to expand defined map  | 
mapmergebuffer | 
 numeric value to expand components of the map defined before merging, to eliminate gaps from minor boundary inconsistencies  | 
maxrastercells | 
 maximum number of cells in each written raster  | 
workProj4 | 
 coordinte reference projection string  | 
year | 
 numeric year to use in calls for map boundaries/features  | 
resstr | 
 suffix on SRTM data files after lon/lat info  | 
Create a raster file set containing elevation data from SRTM BIL zip files stored in a local directory
a rasterLayer containing the elevations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.