Converts a variety of possible input geometries to geojson for
h3jsr::polygon_to_cells()
.
prep_for_polyfill(polys = NULL)# S3 method for sf
prep_for_polyfill(polys = NULL)
# S3 method for sfc
prep_for_polyfill(polys = NULL)
# S3 method for sfg
prep_for_polyfill(polys = NULL)
`geojson` representation of supplied geometry.
sf
, sfc
or sfg
POLYGON/MULTIPOLYGON object.