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
21 Downloads
Updated 14 Nov 2021

View License

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 Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.2

Bugfix encode: now also precision_3rd_dim=0 possible

1.1.1

Encode + decode

1.1.0

Encode added
Cosmetic fix in decode

1.0.0