Skip to content

ismailsunni/qgis-encoded-polyline

Repository files navigation

Encoded Polyline QGIS Plugin

The plugin helps you to decode and visualize an encoded polyline and load it on QGIS as a memory layer.

Encoded Polyline Dialog

Sample output: Yogyakarta Ring Road

Why?

It helps to decode or visualize an encoded polyline easier. Especially with a long polyline. I used it for debugging Valhalla's result because the online tool available is limited in functionalities (e.g. can't compare two polylines, hang if the line is long, or not possible to save the result)

Features

  • Custom layer name
  • Custom precision (Google uses 5, OpenStreetMap uses 6)
  • Some samples included

About Encoded Polyline

Polyline encoding is a lossy compression algorithm that allows you to store a series of coordinates as a single string. See more explanation by Google Maps here.

Alternatives

Acknowledgments