ll2km: Lon Lat to km

Description Usage Arguments Details Value

View source: R/formatStrat.R

Description

Convert longitude and latitude in degrees to the same in kilometers

Usage

1
ll2km(x, y)

Arguments

x

longitude

y

latitude

Details

Simple function to turn lon-lat distances (in degrees) into the kilometer equivalent. Given kilometers, easy to get areas, etc.

Value

A named list with elements of Y (lat in km) and X (lon in km).


rBatt/trawlData documentation built on July 19, 2018, 1:26 a.m.