Decode and encode a flexible polyline for/from HERE API
Version 1.1.2 (4.54 KB) by
Reno Filla
Decode and encode a flexible polyline with coordinates and possibly a 3rd dimension
This is the Matlab version of flexible polyline
Example: the following coordinates
(50.10228, 8.69821), (50.10201, 8.69567), (50.10063, 8.69150), (50.09878, 8.68752)
are encoded with precision 5 as follows:
B F oz5xJ 67i1B 1B 7P zI ha xL 7Y
- The initial B is the header version (v.1)
- The second letter F is the header, corresponding to the precision 5 and no 3rd dimension set.
- The rest of the string are the encoded coordinates.
Cite As
Reno Filla (2024). Decode and encode a flexible polyline for/from HERE API (https://www.mathworks.com/matlabcentral/fileexchange/101283-decode-and-encode-a-flexible-polyline-for-from-here-api), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.