crs_engine_rproj: crs2crs transform engine

Description Usage Arguments Value

View source: R/pkg-crs2crs.R

Description

crs2crs transform engine

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
crs_engine_rproj(ctx = proj_context(), spatial_test = "intersects")

## S3 method for class 'rlibrpoj_crs2crs_engine'
crs_engine_proj_pipeline(
  engine,
  handleable,
  crs_to,
  crs_from = wk::wk_crs(handleable),
  bbox = wk::wk_bbox(handleable),
  accuracy = NA_real_,
  auth_name = NA_character_,
  allow_ballpark = NA,
  ...
)

## S3 method for class 'rlibrpoj_crs2crs_engine'
crs_engine_proj_pipeline_apply(engine, handleable, pipeline, ...)

## S3 method for class 'rlibrpoj_crs2crs_engine'
crs_engine_get_wk_trans(engine, handleable, crs_to, crs_from, ...)

Arguments

ctx

A proj_context()

spatial_test

Use "none" to skip using extents when selecting the appropriate transform between crs objects.

engine

A transform engine such as crs_engine_null()

handleable

A geometry vector (e.g., wkb(), wkt(), xy(), rct(), or sf::st_sfc()) for which wk_handle() is defined.

crs_to

Source and destination coordinate reference systems

crs_from

Source and destination coordinate reference systems

bbox

The bounding box to use when searching for appropriate transformations.

accuracy

The minimum desired accuracy for the transformation

auth_name

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

allow_ballpark

Use FALSE to omit ballpark transformations

...

Unused

pipeline

A character vector representing a PROJ coordinate operation

Value

An engine that can be used with crs_set_engine().


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