feat: routing and isochrone server #217
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the
server
package to eqasim. It can be started using theRunServer
script and it provides an API to perform four different tasks, based on the MATSim network and the transit schedule of a scenario:Both endpoints are designed such that they should yield the same results as agents would be routed in the simulation. However, certain settings can be overridden, such as the routing costs per transit mode for the SwissRailRaptor. The server then makes it possible to evaluate relatively quickly different parameters set-ups and thus calibrate the routing costs based on a travel survey.
All of this should have much more documentation to be useable. This will follow, for now the code has been heavily cleaned up and I publish it here so it stays up to date.
All endpoints optionally provide geometry information in WKT format as part of the API response. This makes it easy to directly visualize the results.