Decode and encode a polyline for/from Google Maps

Version 1.0.1 (2.63 KB) by Reno Filla
Decode and encode a polyline with coordinates from Google Maps
62 Downloads
Updated 26 Nov 2021

View License

This is the Matlab version of polyline
(see: https://developers.google.com/maps/documentation/utilities/polylinealgorithm)
Example: the following coordinates
(38.5, -120.2), (40.7, -120.95), (43.252, -126.453)
are encoded as: _p~iF~ps|U_ulLnnqC_mqNvxq`@

Cite As

Reno Filla (2026). Decode and encode a polyline for/from Google Maps (https://www.mathworks.com/matlabcentral/fileexchange/101984-decode-and-encode-a-polyline-for-from-google-maps), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.1

...

1.0.0