These functions provide GeoArrow type definitions as zero-length vectors.
Usage
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"
)
Arguments
- crs
An object representing a CRS. For maximum portability, it should implement
wk::wk_crs_projjson()
.- edges
One of "PLANAR" or "SPHERICAL".
- geometry_type
One of "POINT", "LINESTRING", "POLYGON", "MULTIPOINT", "MULTILINESTRING", "MULTIPOLYGON".
- dimensions
One of "XY", "XYZ", "XYM", or "XYZM"
- coord_type
One of "SEPARATE" or "INTERLEAVED"