read_pts: Converts csv with crs latitude, longitude to spatial points...

View source: R/read_data.R

read_ptsR Documentation

Converts csv with crs latitude, longitude to spatial points data frame with crs Universal Transverse Mercator 14 (utm14).

Description

This function reads in a csv file with crs latitude and longitude, converts it to a spatial points data frame, and reprojects it to crs utm zone 14.

Usage

read_pts(
  filename,
 
    t_srs = CRS("+proj=utm +zone=14 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs")
)

Arguments

filename

The csv file with Normalized difference vegetation index (ndvi) data.

Value

The transformed points.

Examples

read_pts('ndvi.csv')

beardon/ninja-active-mapper documentation built on April 24, 2023, 10:06 a.m.