Convert well-known binary to hex

wkb_to_hex(x)

Arguments

x

A wkb() vector

Value

A hex encoded wkb() vector

Examples

x <- as_wkb(xyz(1:5, 6:10, 11:15))
wkb_to_hex(x)
#> [1] "0101000080000000000000f03f00000000000018400000000000002640"
#> [2] "010100008000000000000000400000000000001c400000000000002840"
#> [3] "0101000080000000000000084000000000000020400000000000002a40"
#> [4] "0101000080000000000000104000000000000022400000000000002c40"
#> [5] "0101000080000000000000144000000000000024400000000000002e40"