sfCoords | R Documentation |
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).
sfCoords(lon, lat, crs)
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 |
points as sfc_POINTS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.