Skip to content

CLI tool to decode Google's encoded polyline format and output a GeoJSON LineString.

License

Notifications You must be signed in to change notification settings

DevinClark/go-polyline-to-geojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Encoded Polyline to GeoJSON

Decodes Google's encoded polyline format and outputs a GeoJSON LineString. CLI tool. Accepts string polyline as an argument or it can be piped in. Uses go.geojson to convert the lat/lng list to GeoJSON.

Usage

./polyline-to-geojson '}vzuEvnxqQspYthE'

Output for that example will be this GeoJSON.

About

CLI tool to decode Google's encoded polyline format and output a GeoJSON LineString.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages