load_gazetteer: Load and cache the SAFE gazetteer

Description Usage Details Value See Also

View source: R/index.R

Description

This function loads the SAFE gazetteer, stored as a geojson file in the root of the SAFE data directory, as an sf GIS object. The GIS data uses the WGS84 (EPSG:4326) geographic coordinate system.

Usage

1

Details

The gazetteer contains the following fields:

location

The official gazetteer name for a sampling site.

type

A short description of location type - typically the project that created the location

plot_size

Where applicable, the size of the plot at a location. Note that point locations may define a sampling area with a plot size.

display_order

DELETE

parent

DELETE

region

One of the four major large scale sampling areas: SAFE, Maliau, Danum and VJR

fractal_order

Only defined for the SAFE core sampling points, which follow a fractal layout.

transect_order

Again, for SAFE core sampling points, the location of a point along the sampling design transect.

centroid_x, centroid_y

The centroid of the feature

source

The original source GIS file that the feature was described in.

bbox_xmin, bbox_ymin, bbox_xmax, bbox_ymax

The bounding box of the feature.

geometry

The GIS geometry for the data - a column of class sfc.

When this function is first called in a session, the loaded sf object is cached for re-use (see load_index).

Value

An sf object containing the SAFE gazetteer locations.

See Also

load_location_aliases, load_index


ImperialCollegeLondon/safe_data documentation built on Oct. 8, 2019, 4:27 p.m.