Open JosiahParry opened 8 months ago
Similar to the coord utilities n_coords(), coord_first(), coord_last() etc. Here it could be like n_geoms() and a vec![MultiPoint(Point, Point, Point), MultiPoint(Point)] would return c(3, 1)
n_coords()
coord_first()
coord_last()
n_geoms()
vec![MultiPoint(Point, Point, Point), MultiPoint(Point)]
c(3, 1)
inspired by https://github.com/JosiahParry/rsgeo/issues/34 lengths(expand_geoms(x)) is annoying
lengths(expand_geoms(x))
Similar to the coord utilities
n_coords()
,coord_first()
,coord_last()
etc. Here it could be liken_geoms()
and avec![MultiPoint(Point, Point, Point), MultiPoint(Point)]
would returnc(3, 1)
inspired by https://github.com/JosiahParry/rsgeo/issues/34
lengths(expand_geoms(x))
is annoying