get_loc_data: Translate GPS data

View source: R/spatialise.R

get_loc_dataR Documentation

Translate GPS data

Description

This function decodes GPS data for use in em38_decode and returns it along with its timestamp data.

Usage

get_loc_data(block = NULL)

Arguments

block

Data frame holding GPS message data, usually a subset of $location_data in a decoded n38 object

Value

data frame with a single row

Examples

data('n38_demo')
n38_chunks  <- n38_chunk(n38_demo)
n38_decoded <- n38_decode(n38_chunks)
loc_1 <- em38:::get_loc_data(n38_decoded$survey_line_1$location_data[1:7, ])


obrl-soil/em38 documentation built on Sept. 25, 2023, 10:01 p.m.