This function calls hf::get_third_dimension of the C++ implementation of the flexible polyline encoding by HERE and return the type of the third dimension.

get_third_dimension(encoded)

Arguments

encoded

character, encoded flexible polyline string.

Value

A string describing the third dimension.

Examples

# 2d line
get_third_dimension("BFoz5xJ67i1B1B7PzIhaxL7Y")
#> [1] "ABSENT"

# 3d line
get_third_dimension("BlBoz5xJ67i1BU1B7PUzIhaUxL7YU")
#> [1] "ALTITUDE"