maputils: maputils: SNAP-specific Leaflet utilities and maps collection...

Description Details

Description

The maputils package contains common utility functions and polygon maps used across multiple Shiny apps specific to a SNAP context, like the snaputils package but separate and also specific to Leaflet maps. This package inherents from the apputils package and is a satellite member of the SNAPverse collection of R packages.

Details

maputils contains SpatialPolygonsDataFrame data sets useful in SNAP Shiny apps for visual representation of geographic regions via Leaflet maps. These data sets are simplified derivations of the maps offered by the snappoly package, containing fewer vertices. This allows them to be used for efficient map display in apps without slowing apps down due to unnecessarily high map resolution. Use the maps in maputils only for Leaflet widgets in apps. For data analysis, e.g., extracting data by polygon, use the higher resolution source maps in snappoly.

Each map is in WGS84 lon/lat rather than NAD83 Alaska Albers like the source maps in snappoly. There are slight differences in derived maps from the snappoly source maps as noted below.

There are ten available maps:

akcan

The full SNAP PRISM domain, a single union polygon of the State of Alaska and the five SNAP-relevant western Canadian provinces: Alberta, British Columbia, Manitoba, Saskatchewan and Yukon Territory.

akcan2

The same as akcan, but retaining the six distinct encompassing state/province polygons. See snappoly::canada for all provinces.

ecoreg1

Alaska level 1 ecological regions (ecoregions). Ecoregion maps are flattened, one map for each level, compared to snappoly::ecoreg.

ecoreg2

Alaska level 2 ecoregions.

ecoreg3

Alaska level 3 ecoregions.

aklcc

Alaska Landscape Conservation Cooperative.

lcc

Alaska and Canada Landscape Conservation Cooperative.

cavm

Circumpolar Arctic Vegetation (Alaska).

fmz

Alaska Fire Service fire management zones.

tpa

Terrestrial protected areas.


leonawicz/maputils documentation built on May 20, 2019, 8:49 a.m.