frederickjansen / polyline

A Python implementation of Google's Encoded Polyline Algorithm Format.
http://goo.gl/PvXf8Y
MIT License
117 stars 19 forks source link

URL safe encoding #17

Closed pedro-cf closed 6 months ago

pedro-cf commented 8 months ago

Is it possible to generate URL safe encoded strings? (only uses a-z, A-Z, 0-9, and URL safe characters like + * _ -.)

Similar to: https://github.com/LiveBy/url-safe-polyline

frederickjansen commented 8 months ago

Hi @pedro-cf, this is currently not supported. I would probably add this function to a separate project, or advise people to use something like https://github.com/heremaps/flexible-polyline.