image thumbnail

Google Maps API Polyline Decoder

version (2.98 KB) by chris hinkle
Decodes google maps API polyline string into lat/lon positions.


Updated 03 Aug 2011

View License

Takes a single string array which follows the google maps API encoded polyline string and parses it into arrays of lat/lon pairs. Algorithm documentation from google can be found at

Cite As

chris hinkle (2021). Google Maps API Polyline Decoder (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
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!