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

Export4.0 #1160

Merged
merged 4 commits into from
May 3, 2022
Merged

Export4.0 #1160

merged 4 commits into from
May 3, 2022

Conversation

koebi
Copy link
Collaborator

@koebi koebi commented Apr 29, 2022

Export endpoint ported to gh4.0.

Example request:

POST localhost:8082/ors/v2/export/driving-car/json
Content-Type: application/json

{
  "bbox": [[8.681495, 49.41461], [8.686507, 49.41943]]
}

Currently, the weighting as calculated here is exported - that might be changed to include any other info.

koebi added 4 commits April 29, 2022 12:05
For easier graph-theoretical analysis, exporting the base graph for a
given profile is an important feature.
This commit adds an endpoint whose design follows closely the centrality
endpoint design.
The new nomenclature makes clear that the response is a graph.
Changes are mainly taken from the centrality-port.
@koebi koebi requested a review from takb April 29, 2022 12:11
Copy link
Contributor

@takb takb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, thx!

@takb takb merged commit 404c3e6 into gh-4.0-upgrade-compiling May 3, 2022
@koebi koebi deleted the export4.0 branch May 5, 2022 11:37
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 this pull request may close these issues.

2 participants