hughsturrock

hughsturrock / covariate_extractor / 0.1.2

README.md

Overview

Given a set of coordinates in decimal degrees, the function will return the values of select set of raster layers.

Applicable Scenarios and Problems

Currently works for bioclim layers (http://www.worldclim.org/bioclim)

Usage

Input

User must define a vector of "lng", "lat" and "layer_name", where "layer_name" is a vector of numbers between 1 and 19 relating to the bioclim layer of interest.

Output

A vector of values of the bioclim layers specified at the coordinates specified.

Examples

{ "lng":[51.5, 51.6], "lat":[ 0,0], "layer_name":[1,5] }