Re: [R-sig-Geo] Migrating from proj strings to WKT/EPSG

2021-11-22 Thread Ben Tupper
Doh! Forehead slap! How the heck did I overlook that simple solution. Thank you! On Mon, Nov 22, 2021 at 2:51 PM Diego Hernangómez Herrero wrote: > > Hi Ben: > > I don't know if this is relevant for your question, but you can use > proj4strings with sf::st_crs() without using rgdal: > > ```

Re: [R-sig-Geo] Migrating from proj strings to WKT/EPSG

2021-11-22 Thread Diego Hernangómez Herrero
Hi Ben: I don't know if this is relevant for your question, but you can use proj4strings with sf::st_crs() without using rgdal: ``` r proj <- "+proj=tmerc +datum=NAD83 +lon_0=-70d10 lat_0=42d50 k=.6667 x_0=90 y_0=0" sf::st_crs(proj) #> Coordinate Reference System: #> User

[R-sig-Geo] Migrating from proj strings to WKT/EPSG

2021-11-22 Thread Ben Tupper
Hello, I have a spatial mesh that provides the following CRS. proj <- "proj=tmerc +datum=NAD83 +lon_0=-70d10 lat_0=42d50 k=.6667 x_0=90 y_0=0" To use this with the sf package it must be formed as Well Known Text or a EPSG code. In this particular case there is no EPSG code in