These functions provide GeoArrow type definitions as zero-length vectors.
geoarrow_wkb(crs = NULL, edges = "PLANAR")geoarrow_wkt(crs = NULL, edges = "PLANAR")
geoarrow_large_wkb(crs = NULL, edges = "PLANAR")
geoarrow_large_wkt(crs = NULL, edges = "PLANAR")
geoarrow_native(
geometry_type,
dimensions = "XY",
coord_type = "SEPARATE",
crs = NULL,
edges = "PLANAR"
)
geoarrow_point(
dimensions = "XY",
coord_type = "SEPARATE",
crs = NULL,
edges = "PLANAR"
)
geoarrow_linestring(
dimensions = "XY",
coord_type = "SEPARATE",
crs = NULL,
edges = "PLANAR"
)
geoarrow_polygon(
dimensions = "XY",
coord_type = "SEPARATE",
crs = NULL,
edges = "PLANAR"
)
geoarrow_multipoint(
dimensions = "XY",
coord_type = "SEPARATE",
crs = NULL,
edges = "PLANAR"
)
geoarrow_multilinestring(
dimensions = "XY",
coord_type = "SEPARATE",
crs = NULL,
edges = "PLANAR"
)
geoarrow_multipolygon(
dimensions = "XY",
coord_type = "SEPARATE",
crs = NULL,
edges = "PLANAR"
)
A geoarrow_vctr
An object representing a CRS. For maximum portability,
it should implement wk::wk_crs_projjson()
.
One of "PLANAR" or "SPHERICAL".
One of "POINT", "LINESTRING", "POLYGON", "MULTIPOINT", "MULTILINESTRING", "MULTIPOLYGON".
One of "XY", "XYZ", "XYM", or "XYZM"
One of "SEPARATE" or "INTERLEAVED"
geoarrow_wkb()
geoarrow_wkt()
geoarrow_point()
Run the code above in your browser using DataLab