Description Usage Arguments Details Value See Also Examples
Create points from coordinates. st_point is simply a wrapper around st_makepoint.
1 2 3 | st_makepoint(x, y)
st_point(x, y)
|
x |
Numeric vector of x coordinates (e.g. longitude) or a list of pairs
of coordinates. In the latter case |
y |
Numeric vector of y coordinates (e.g. latitude). |
x amd y must be of the same length. If one of the coordiantes are
missing, it creates and empty point geometry.
List column of points with the same length than x and y.
sf::st_point
Other make: st_makeline,
st_multi, st_numpoints
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.