lonlatToXY.Rd (781B)
1 % Generated by roxygen2: do not edit by hand 2 % Please edit documentation in R/lonlatToXY.R 3 \name{lonlatToXY} 4 \alias{lonlatToXY} 5 \title{Convert lon/lat coordinates to north/east coordinates (in feet) using a 6 flat-Earth approximation.} 7 \usage{ 8 lonlatToXY(longitude, latitude, originLongitude, originLatitude) 9 } 10 \arguments{ 11 \item{longitude}{A numeric vector.} 12 13 \item{latitude}{A numeric vector.} 14 15 \item{originLatitude}{The latitude for which x = 0 feet.} 16 17 \item{originLongintude}{The logntidue for which x = 0 feet.} 18 } 19 \value{ 20 A n x 2 matrix giving the x and y distance (respectively), in feet, 21 of each longitude/latitude pair from the origin longitude/latitude. 22 } 23 \description{ 24 Convert lon/lat coordinates to north/east coordinates (in feet) using a 25 flat-Earth approximation. 26 } 27