proj_create: Create PROJ objects

Description Usage Arguments

View source: R/proj.R

Description

In PROJ speak, a "proj" can be a transformation, conversion, CRS, ellipsoid, datum, or one of a few other types. The CRS and conversion types are the most common and the most useful but the other types are also occasionally returned.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
proj_create(definition, ctx = proj_context())

proj_clone(pj, ctx = proj_context())

proj_get_context(pj)

proj_create_crs_to_crs(
  source_crs,
  target_crs,
  area = NULL,
  options = character(),
  ctx = proj_context()
)

proj_create_from_wkt(wkt, options = character(), ctx = proj_context())

proj_get_source_crs(pj, ctx = proj_context())

proj_get_target_crs(pj, ctx = proj_context())

proj_identify(pj, auth_name = NULL, ctx = proj_context())

proj_get_non_deprecated(pj, ctx = proj_context())

proj_normalize_for_visualization(pj, ctx = proj_context())

as_proj(x, ..., ctx = proj_context())

## S3 method for class 'rproj_proj'
as_proj(x, ..., ctx = proj_context())

## S3 method for class 'character'
as_proj(x, ..., ctx = proj_context())

Arguments

definition

A character vector definition. This can be a PROJ string, WKT, Authority:Code, or any other format PROJ understands.

ctx

A proj_context()

pj

A PROJ object or definition coerced using as_proj().

source_crs, target_crs

Source and/or target CRS definitions, coerced using as_proj().

area

A PROJ area to use when selecting the best available transformation.

options

Options for instantiating the object by name

wkt

A well-known text definition of the PROJ object.

auth_name

An authority name (e.g., "EPSG" or "OGC")

x

An object to convert to a PROJ pointer

...

Passed to S3 methods


paleolimbot/rlibproj documentation built on Jan. 21, 2022, 1:03 p.m.