sfCoords: Convert coordinates to sfc_POINTS

View source: R/sfCoords.R

sfCoordsR Documentation

Convert coordinates to sfc_POINTS

Description

This function converts normal coordinates in a grid configuration to to sfc_POINTS type. Keep in mind that the first grid should be the lower-left and the last one the upper-right (increasing longitude and latitude).

Usage

sfCoords(lon, lat, crs)

Arguments

lon

Numeric matrix with the longitude of each point

lat

Numeric matrix with the latitude of each point

crs

Integer or String. EPSG code or PROJ4 string of the points

Value

points as sfc_POINTS


profesorpaiche/polilla documentation built on Nov. 3, 2023, 2:23 a.m.