Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for "flexible polyline" #39

Open
brad-4k opened this issue May 15, 2023 · 1 comment
Open

Support for "flexible polyline" #39

brad-4k opened this issue May 15, 2023 · 1 comment

Comments

@brad-4k
Copy link

brad-4k commented May 15, 2023

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

@urschrei
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants