Open brad-4k opened 1 year ago
The encoder / decoder is a library (libpolyline) from the Rust polyline library: https://github.com/georust/polyline
I haven't looked at it in detail, but it seems like the flex polyline implementation is quite substantially different – it would require a from-scratch implementation in Rust to be usable in the polyline crate.
HEREmaps has an output that contains a bit more data than a standard polyline. They call it a "flexible" polyline (https://pypi.org/project/flexpolyline/) and besides slightly changing the encoding they add the ability to encode an elevation as well.
I'd be happy to implement a parser for this but need a few pointers on how to build pypolyline. I've looked into it a little but not quite sure I understand the process fully (the building).
Thank you