Skip to contents

Coordinate matrix of a spatial object

Usage

morie_spatial_coords(x)

Arguments

x

A morie_spatial.

Value

A two-column numeric coordinate matrix.

Examples

morie_spatial_coords(morie_spatial(
  data.frame(lon = 1:3, lat = 1:3)))
#>      lon lat
#> [1,]   1   1
#> [2,]   2   2
#> [3,]   3   3