as_proj: Create CRS definition in Proj system

Description Usage Arguments Value Examples

View source: R/as_proj.R

Description

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

Usage

1

Arguments

x

A list of named Proj elements

Value

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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
  )
)

crowcanyon/localgrid documentation built on March 21, 2021, 4:36 a.m.