anyways-open / itinero-transit-server

Wrapper around itinero-transit to make it available as HTTP-service
MIT License
2 stars 0 forks source link

Internal server error when crowflight is set too low to cause no route found. #10

Closed xivk closed 5 years ago

xivk commented 5 years ago

This should probably give 400 - not found:

https://routing.anyways.eu/transitapi/GeoJsonJourney?from=https%3A%2F%2Fwww.openstreetmap.org%2F%23map%3D19%2F51.21576%2F3.22001&to=http%3A%2F%2Firail.be%2Fstations%2FNMBS%2F008892007&departure=2019-07-05T10%3A36%3A59Z&arrival=2019-07-05T12%3A36%3A59Z&internalTransferTime=180&walksGeneratorDescription=https%3A%2F%2Fopenplanner.team%2Fitinero-transit%2Fwalks%2Fcrowsflight%26maxDistance%3D500&maxNumberOfTransfers=4&prune=true

This works:

https://routing.anyways.eu/transitapi/GeoJsonJourney?from=https%3A%2F%2Fwww.openstreetmap.org%2F%23map%3D19%2F51.21576%2F3.22001&to=http%3A%2F%2Firail.be%2Fstations%2FNMBS%2F008892007&departure=2019-07-05T10%3A36%3A59Z&arrival=2019-07-05T12%3A36%3A59Z&internalTransferTime=180&walksGeneratorDescription=https%3A%2F%2Fopenplanner.team%2Fitinero-transit%2Fwalks%2Fcrowsflight%26maxDistance%3D2500&maxNumberOfTransfers=4&prune=true