Skip to content

Commit

Permalink
Merge pull request #98 from XavDmz/local/native_motors_api
Browse files Browse the repository at this point in the history
limited OSRM native routing API
  • Loading branch information
lgrd authored Jan 24, 2024
2 parents 4417eb2 + d9d931b commit f249ca2
Show file tree
Hide file tree
Showing 10 changed files with 1,766 additions and 7 deletions.
4 changes: 4 additions & 0 deletions docker/config/service.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
{
"name" : "simple",
"version" : "1.0.0"
},
{
"name" : "osrm",
"version" : "1.0.0"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion docker/distributions/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apt-get update && \
libsqlite3-mod-spatialite libzmq3-dev libczmq-dev

### Installation prime-server
COPY --from=build /usr/local/lib/libprime_server.so.0.7.0 /usr/lib/libprime_server.so.0.0.0
COPY --from=build /usr/local/lib/libprime_server.so.0.7.1 /usr/lib/libprime_server.so.0.0.0
COPY --from=build /usr/local/lib/libprime_server.so.0 /usr/lib/libprime_server.so.0
COPY --from=build /usr/local/lib/libprime_server.so /usr/lib/libprime_server.so

Expand Down
4 changes: 2 additions & 2 deletions documentation/apis/osrm/1.0.0/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
}
}
},
"/resource/{resourceId}/{profileId}/{optimizationId}/route/v1/profile/{coordinates}": {
"/{resourceId}/{profileId}/{optimizationId}/route/v1/_/{coordinates}": {
"get": {
"tags": [
"Route"
Expand All @@ -71,7 +71,7 @@
},
{
"name": "coordinates",
"in": "query",
"in": "path",
"description": "String of format {longitude},{latitude};{longitude},{latitude}[;{longitude},{latitude} ...] or polyline({polyline}).",
"required": true,
"schema": {
Expand Down
Loading

0 comments on commit f249ca2

Please sign in to comment.