sgo_wgs84_en {sgo} | R Documentation |
WGS84 to Easting Northing (Pseudo - Mercator)
Description
Converts WGS84 coordinates to Easting/Northing (Pseudo-Mercator)
Usage
sgo_wgs84_en(x, to = 3857)
Arguments
x |
A |
to |
Numeric. Sets the |
Details
This routine also accepts source data expressed in ETRS89 coordinates (EPSG=4258 or 4937) as it is considered the difference between those two GCS is far less than the accuracy available when working with Pseudo-Mercator coordinates.
The results can be used in maps where Pseudo-Mercator coordinates are needed. Usually, those include Google, Bing, OpenStreetMap and several other webmap applications.
Value
An object of class sgo_points
whose coordinates are defined as
Easting/Northing.
References
IOGP Publication 373-7-2 - Geomatics Guidance Note number 7, part 2 (October 2020). https://epsg.org/guidance-notes.html
See Also
Examples
p <- sgo_points(list(-3.9369, 56.1165), epsg=4326)
res <- sgo_wgs84_en(p)