site2sf: convert site dataframe to simple feature

Description Usage Arguments

View source: R/site2sf.R

Description

convert site dataframe to simple feature

Usage

1
site2sf(df, id_cn, Lon_cn, Lat_cn, crs = 4326)

Arguments

df

a dataframe contain id, long, lat for sites

id_cn

a string for the name of id column in df

Lon_cn

a string for the name of the longitude column in df

Lat_cn

a string for the name of the latitude column in df

crs

a coordinate reference system for Map projections attempt to portray the surface of the earth or a portion of the earth on a flat piece of paper or computer screen.


WeiquanLuo/rivertopo documentation built on Jan. 28, 2020, 11:39 a.m.