infer_geoarrow_schema: Infer a GeoArrow-native type from a vector
Description
Infer a GeoArrow-native type from a vector
Usage
infer_geoarrow_schema(x, ..., promote_multi = TRUE, coord_type = NULL)
Arguments
- x
An object from which to infer a schema.
- ...
Passed to S3 methods.
- promote_multi
Use TRUE
to return a MULTI type when both normal and
MULTI elements are in the same array.
- coord_type
Specify the coordinate type to use if returning
Examples
Run this codeinfer_geoarrow_schema(wk::wkt("POINT (0 1)"))
Run the code above in your browser using DataLab