sgo_en_wgs84: Pseudo - Mercator to WGS84 Longitude/Latitude

View source: R/sgo_wgs84.R

sgo_en_wgs84R Documentation

Pseudo - Mercator to WGS84 Longitude/Latitude

Description

Converts Pseudo - Mercator coordinates to WGS84 (EPSG=4326)

Usage

sgo_en_wgs84(x, to = 4326)

Arguments

x

A sgo_points object describing a set of points in the geodetic coordinate system EPSG=3857.

to

Numeric. Sets the epsg code of the destination Geodetic Coordinate System. 4326 (WGS84) by default. And currently doesn't support any other.

Details

Currently converts ONLY from EPSG 3857 to 4326 (Longitude/Latitude).

Value

An object of class sgo_points whose coordinates are defined as Longitude/Latitude.

References

IOGP Publication 373-7-2 - Geomatics Guidance Note number 7, part 2 (October 2020). https://epsg.org/guidance-notes.html

See Also

sgo_points, sgo_wgs84_en.

Examples

p <- sgo_points(list(-11169055.58, 2810000.00), epsg=3857)
res <- sgo_en_wgs84(p)

sgo documentation built on Sept. 23, 2022, 5:08 p.m.