findUTMzone: Identify the Universal Transverse Mercator coordinate system...

View source: R/findUTMzone.R

findUTMzoneR Documentation

Identify the Universal Transverse Mercator coordinate system zone

Description

Function for querying the database to identify the UTM zone from the corresponding farm for the field the user is working with. This function is used many times and requires a database connection and either a farm name or farm id, or a field name. The returned value is the UTM EPSG code for the WGS84 datum.

Usage

findUTMzone(db, farm = NULL, fieldname = NULL)

Arguments

db

Connection to an OFPE formatted database.

farm

Either a farm id (integer), or a farm name.

fieldname

Name of the field for aggregation.

Value

WGS84 UTM code (i.e. 32612, 32614).


paulhegedus/OFPE documentation built on Nov. 23, 2022, 5:09 a.m.