polylineencoder

A C++ implementation of Google Encoded Polyline Algorithm Format (encoder/decoder)

MIT License

Stars
20
Committers
4

Bot releases are visible (Hide)

polylineencoder - Add support for generic containers and C-style arrays Latest Release

Published by vahancho 12 months ago

Extend the API with a generic function to support all kinds of containers and C-style arrays.

polylineencoder - Properly handle negative values

Published by vahancho about 1 year ago

Applying left shift operator on a negative value is an UB. The algorithm (step 3) describes how to properly encode negative values.

polylineencoder - Fix the compiler warning

Published by vahancho almost 2 years ago

polylineencoder - Refactor the build system and remove 'gpaf2' namespace

Published by vahancho about 2 years ago

polylineencoder - Ensure the backward compatibility

Published by vahancho about 2 years ago

polylineencoder - Compiler error fix

Published by vahancho over 3 years ago

Make it compile with older compilers such as MSVC 14.x.

polylineencoder - Template class fix

Published by vahancho over 3 years ago

Move class template definition into the header file and remove source file. This will prevent linker error on client side. Polylineencoder is now a single header library.

polylineencoder - Configurable precision

Published by vahancho over 3 years ago

This version of Polyline Encoder allows to configure coordinates precision. It's defaulted to the precision of five decimal places.