Decode and encode a polyline for/from Google Maps

Decode and encode a polyline with coordinates from Google Maps

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

...

1.0.0