Last active
December 13, 2015 23:49
-
-
Save jlehtoma/4994222 to your computer and use it in GitHub Desktop.
ETRS-TM35FIN -> WGS84
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library("sp") | |
library("rgdal") | |
# df is a data frame holding the coords (in ETRS-TM35FIN) in east (easting) and north (northing) fields | |
sp.data <- SpatialPointsDataFrame(df[, c(north, east)], df, proj4string = CRS("+init=epsg:3067")) | |
# Project the spatial data to lat/lon | |
sp.data.wgs84 <- spTransform(sp.data, CRS("+proj=longlat +datum=WGS84")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment