project_window: projects owin-object to another coordinate system

View source: R/project_window.R

project_windowR Documentation

projects owin-object to another coordinate system

Description

This function projects an owin object to another coordinate system, which can be specified.

Usage

project_window(win, old_crs = "EPSG:4326", new_crs = "ESRI:54009")

Arguments

win

owin-object

old_crs

coordinate system of the input owin-object. Defaults to longitude/latitude "EPSG:4326"

new_crs

coordinate system of the output owin-object. Defaults to the Mollweide Projection "ESRI:54009"

Value

owin-object with projected coordinate-system

Examples

new_win <- project_window(mro2D$destination$win,
old_crs = mro2D$destination$crs)


SaskiaSchirmer/CONSURE documentation built on Sept. 3, 2023, 8:52 a.m.