Learn R Programming

sits (version 1.1.0)

.sits_transform_samples: Transform samples to wgs84

Description

Transforming samples points to wgs84 and replace the longitude and latitude values.

Usage

.sits_transform_samples(samples, crs)

Value

A tibble with tranformed points.

Arguments

samples

Samples to be retrieved.

crs

A coordinate reference system of samples. The provided crs could be a character (e.g, "EPSG:4326" or "WGS84" or a proj4string), or a a numeric with the EPSG code (e.g. 4326). This parameter only works for 'csv' or data.frame' samples. Default is 4326.