Drag and Drop Encoded Polyline to geoJSON Conversion

With Massive Respect to THIS HERO who wrote the whole file conversion framework, and THESE HEROES who wrote the converter. I just glued the bits together.

Drop or select a file with google-encoded polylines file and this will convert it and return a link to a geoJSON file. Save the generated link to your PC and load into your favourite GIS.


A google-encoded polyline looks a bit like this:

You can't paste that in here, save it to a local file and drop it on the target or hit the button and select it. That fragment above can actually be used and translates to the following geoJSON:
"type": "FeatureCollection",
"features": [
{ "type": "Feature", "id": 1, "properties": { "ID": 1.000000 }, "geometry": { "type": "LineString", "coordinates": [ 

] } }

Hacked together by Barry Rowlingson