R: Mark lists of raw vectors as well-known binary

wkb {wk} | R Documentation

## Mark lists of raw vectors as well-known binary

### Description

Mark lists of raw vectors as well-known binary

### Usage

    wkb(x = list())

    parse_wkb(x)

    as_wkb(x, ...)

    ## S3 method for class 'character'
    as_wkb(x, ...)

    ## S3 method for class 'wk_wkb'
    as_wkb(
      x,
      ...,
      include_z = NULL,
      include_m = NULL,
      include_srid = NULL,
      endian = NULL
    )

    ## S3 method for class 'wk_wkt'
    as_wkb(
      x,
      ...,
      include_z = NULL,
      include_m = NULL,
      include_srid = NULL,
      endian = NULL
    )

    ## S3 method for class 'wk_wksxp'
    as_wkb(
      x,
      ...,
      include_z = NULL,
      include_m = NULL,
      include_srid = NULL,
      endian = NULL
    )

    ## S3 method for class 'blob'
    as_wkb(x, ...)

    ## S3 method for class 'WKB'
    as_wkb(x, ...)

    ## S3 method for class 'blob'
    as_wksxp(x, ...)

    ## S3 method for class 'WKB'
    as_wksxp(x, ...)

### Arguments

`x` | A `list()` of `raw()` vectors or `NULL`.
`...` | Unused
`include_z` | Include the values of the Z and M coordinates and/or SRID in the output? Use `FALSE` to omit, `TRUE` to include, or `NA` to include only if present. Note that using `TRUE` may result in an error if there is no value present in the original.
`include_m` | Include the values of the Z and M coordinates and/or SRID in the output? Use `FALSE` to omit, `TRUE` to include, or `NA` to include only if present. Note that using `TRUE` may result in an error if there is no value present in the original.
`include_srid` | Include the values of the Z and M coordinates and/or SRID in the output? Use `FALSE` to omit, `TRUE` to include, or `NA` to include only if present. Note that using `TRUE` may result in an error if there is no value present in the original.
`endian` | For WKB writing, 0 for big endian, 1 for little endian. Defaults to `wk_platform_endian()` (slightly faster).

### Value

A `new_wk_wkb()`

### Examples

    wkb(wkt_translate_wkb("POINT (20 10)"))

[Package wk version 0.3.4 Index]