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

Small mistake in Pedestrian routing /ppr/route documentation, property duration_limit #448

Closed
GerdC opened this issue Feb 22, 2024 · 1 comment · Fixed by #449
Closed

Comments

@GerdC
Copy link

GerdC commented Feb 22, 2024

Documentation https://europe.motis-project.de/openapi/#/operations/pprRoute (center of page) says

duration_limit number<double>
Upper limit for walking duration in seconds

the executable example box on the right hand side says

"search_options": {
    "profile": "default",
    "duration": 1800
},

So in the documentation, the property name is duration_limit, in the example, the property name is duration. Experiment says duration_limit is correct.

I'm not familiar with the project, but the mistake might be im ppr.yaml:

@pablohoch
Copy link
Member

Thank you, that is indeed the mistake.

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

Successfully merging a pull request may close this issue.

2 participants