xplot: xplot

Description Usage Arguments Details Value See Also Examples

View source: R/xplot.R

Description

Identifies images containing the locations.

Usage

1
xplot(locations, localPath = tempdir())

Arguments

locations

A data.frame object with locations data.

localPath

Path to store the images. Default: tempdir()

Details

This function is useful for checking if locations were correctly informed, but its output is not required by ximages or xsoil. If a given location falls in the border of an image (round coordinates), the function will make sure a minimum number of images is downloaded.

Value

It returns a ggplot object and exports a .jpeg image with the locations map. Images will be saved under a new directory, called POLARISOut. The directory will be created within the localPath and used to store the raster images from the POLARIS database.

See Also

ximages,xsoil

Examples

1
2
3
4
5
## Not run: 
df_test <- exkansas
xplot(locations = df_test)

## End(Not run)

XPolaris documentation built on Sept. 24, 2021, 1:07 a.m.