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

Faulty geometries returned by HereMaps.isochrones() #29

Closed
chrstnbwnkl opened this issue Jun 24, 2021 · 1 comment
Closed

Faulty geometries returned by HereMaps.isochrones() #29

chrstnbwnkl opened this issue Jun 24, 2021 · 1 comment

Comments

@chrstnbwnkl
Copy link
Contributor

Here's what I did

Wanted to calculate isochrones with HereMaps:

api = get_router_by_name("heremaps")(api_key="tm04dMxnZ5rRKQVxfvGTtgkpV3FEerIDoExbDG0kEPs")

location = [13.410701945045075, 52.56057471477219]

isochrones = api.isochrones(locations=location, profile="car", intervals=[300,600])

Here's what I got

  • An Isochrones object with geometries consisting of list of list_reverseiterators

Here's what I was expecting

  • An Isochrones object with geometries consisting of lists of coordinates

Here's what I think could be improved

  • when parsing the result returned by the API, make sure to convert the reversed coordinates to a list on line 1094
@nilsnolde
Copy link
Owner

fixed in #31

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