sfg_point | R Documentation |
constructs sfg POINT object
sfg_point(obj, x = NULL, y = NULL, z = NULL, m = NULL)
obj |
matrix or data.frame |
x |
x geometry column |
y |
y geometry column |
z |
z geometry column |
m |
m geometry column |
sfg
object of POINT geometry
sfg_point( 1:2 )
sfg_point( 1:3 )
sfg_point( 1:4 )
sfg_point( matrix( 1:3, ncol = 3 ) )
sfg_point( data.frame( x = 1, y = 2, z = 3 ) )
sfg_point( data.frame( x = 1, y = 2, z = 3 ), x = "x", y = "y" )
sfg_point( data.frame( x = 1, y = 2, z = 3 ), x = 1, y = 3 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.