get_third_dimension {flexpolyline}R Documentation

Get third dimension of a flexible polyline encoded string

Description

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.

Usage

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")

# 3d line
get_third_dimension("BlBoz5xJ67i1BU1B7PUzIhaUxL7YU")

[Package flexpolyline version 0.3.0 Index]