This function creates a new Proj-style CRS definition from list of named elements.

as_proj(x)

Arguments

x

A list of named Proj elements

Value

A length-1 character string with the Proj-style CRS definition

Examples

as_proj( list( proj = "omerc", lat_0 = 37.385, lonc = -108.51, alpha = 0, gamma = 0, k_0 = 1, x_0 = 500, y_0 = 500 ) )
#> [1] "+proj=omerc +lat_0=37.385 +lonc=-108.51 +alpha=0 +gamma=0 +k_0=1 +x_0=500 +y_0=500"