DevinClark / go-polyline-to-geojson

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Go 100.0%