Learn R Programming

RiskMap (version 1.0.0)

propose_utm: EPSG of the UTM Zone

Description

Suggests the EPSG code for the UTM zone where the majority of the data falls.

Usage

propose_utm(data)

Value

An integer indicating the EPSG code of the UTM zone.

Arguments

data

An object of class sf containing the coordinates.

Author

Emanuele Giorgi e.giorgi@lancaster.ac.uk Claudio Fronterre c.fronterr@lancaster.ac.uk

Details

The function determines the UTM zone and hemisphere where the majority of the data points are located and proposes the corresponding EPSG code.