interp_init: Initialize data before interpolation

View source: R/interp_gps.R

interp_initR Documentation

Initialize data before interpolation

Description

List photos in input directory and creates an environment for storing data during interpolation iterative process. This is a mandatory prerequisite for interpolating positions.

Usage

interp_init(path = ".")

Arguments

path

(optional) path where input and output are located. This is not necessary if the working directory is already set to that location.

Details

Search for image files in input/photo and stores them in a data.frame.

As the process is iterative (a succession of manual modifications in JOSM and interpolations in R), it is necessary to keep track of intermediate results. Therefore, a temporary environment (named .exif) is created.

Once interpolation is over, it is possible to delete that environment with interp_cleanup.

Value

Nothing. Only .exif$base is created.

Examples

interp_init()

the-knife/gpsinterp documentation built on July 31, 2023, 9:04 p.m.