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

Isochrone response summary gives wrong 'range' when units != m #91

Closed
nilsnolde opened this issue Jan 31, 2018 · 1 comment
Closed

Isochrone response summary gives wrong 'range' when units != m #91

nilsnolde opened this issue Jan 31, 2018 · 1 comment
Assignees
Labels
bug 🐞 Erroneous behavior of the backend
Milestone

Comments

@nilsnolde
Copy link
Contributor

nilsnolde commented Jan 31, 2018

When specifying units=km/mi, the returned request summary specifies range in meter values.

Here a response for range=6 and units=mi:

...
 "service": "isochrones",
    "query": {
      "ranges": "9656.039999999999",
      "profile": "driving-car",
      "locations": [
        [
          8.34234,
          48.23424
        ]
      ],
      "units": "mi",
      "range_type": "distance",
      "location_type": "start"
    },
    "attribution": "openrouteservice.org | OpenStreetMap contributors",
    "timestamp": 1517404861719
  }
}
@nilsnolde nilsnolde added the bug 🐞 Erroneous behavior of the backend label Jan 31, 2018
@TimMcCauley TimMcCauley modified the milestone: 4.5 Feb 7, 2018
@rabidllama rabidllama added this to the 4.5.1 milestone Feb 27, 2018
@rabidllama rabidllama modified the milestones: 4.5.1, 4.5.2 Mar 20, 2018
@rabidllama rabidllama assigned aoles and HendrikLeuschner and unassigned Elli96 Jul 6, 2018
@rabidllama rabidllama modified the milestones: 4.5.2, 4.7 Jul 6, 2018
@HendrikLeuschner
Copy link
Collaborator

Fixed in #223

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Erroneous behavior of the backend
Projects
None yet
Development

No branches or pull requests

6 participants