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
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 (2024). 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 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.