Skip to contents

Convert a simple features spatial object from sf to a Parquet file using write_parquet. Geometry columns (type sfc) are converted to well-known binary (WKB) format.

Usage

st_write_parquet(
  obj,
  dsn,
  hf_version = "2.2",
  license = "ODbL",
  source = "lynker-spatial",
  ...
)

Arguments

obj

object of class sf

dsn

data source name. A path and file name with .parquet extension

hf_version

dataset version

license

dataset license

source

dataset source

...

additional options to pass to write_parquet

Value

obj invisibly

Details

Adopted from wcjochem/sfarrow

See also