Commit Graph

8130 Commits

Author SHA1 Message Date
Jay
b1446e4add Improve compile data in docker and publish data (#21)
* chore: misc improve for telenav/osrm-backend docker

* chore: improve entrypoint for easy integrated by CI

* chore: fix profiles not found issue

* chore: also support package and publish compiled data by .tar.gz

* docs: update example

* docs: update for compile data automation

* docs: update item names

* docs: add docker run

* docs: update design doc
2019-06-18 21:18:20 -07:00
Xun(Perry) Liu
79d565b2ec Feature/docker orchestration perry (#19)
* fix: Fix the issue in shell script to build docker image

- Fix the issue in the if

* fix: Fix the issue in shell script to build docker image

- Fix the issue related with profile, currently use car.lua to build data

* fix: Fix the issue in shell script to build docker image

- Need curl installed in docker image to download pbf file

* fix: Fix the issue in shell script to build docker image

- To download osm data from geofabrik, need ca-certificates otherwise will meet error like:
curl: (77) error setting certificate verify locations

* doc: Add document to record how to use docker-orchestration/osrm-backend
2019-06-18 09:35:52 +08:00
CoderBear801
99fa6f63a1 fix: Implement logic for processing professional vender's pbf with OSRM
- Put error detail into exceptions instead of using std::cout.
2019-06-18 09:33:55 +08:00
CoderBear801
df383d7e56 Feat: Implement logic for processing professional vender's pbf with OSRM
- Increase bits for node id due to definition in internal pbf is 64
bit range
- There are some very long tags in internal pbf, increase upper limit
for string definition.
- Add additional logs to debug pbf with long tags

Closes #7.
2019-06-18 09:33:55 +08:00
Jay
fa37e1f618 Integrate Telenav Traffic Design and traffic_updater implementation (#18)
feat: Define thrift protocol with traffic service and implement logic which generates traffic update file for OSRM

- OSRM with telenav traffic architecture
- Define traffic protocol in thrift and generate de-coding code
- Implement logic to pull result from traffic server and generate csv which could be used for OSRM customization

Closes #1, #2, #3
2019-06-17 13:50:31 -07:00
Jay
ec75a0a634
Merge pull request #17 from Telenav/feature/docker-orchestration-perry
Add docker entry point and adjust docker file
2019-06-17 11:04:32 +08:00
CoderBear801
6c2db92dc4 feat: add docker entry point and adjust docker file
- Modify docker file to add entry point

Related with #3.
2019-06-14 20:37:54 -07:00
CoderBear801
3c547fbbeb feat: add docker entry point and adjust docker file
- Add docker entry point file for supporting routed_startup, compile_mapdata

Related #3.
2019-06-14 19:51:47 -07:00
Jay
764a7d6053
Merge pull request #16 from Telenav/feature/docker-orchestration-perry
feat: Add docker image for OSRM frontend
2019-06-15 09:32:49 +08:00
CoderBear801
5fcfab1046 feat: Add docker image for OSRM frontend
- docker image contains OSRM frontend and nginx
2019-06-14 17:14:53 -07:00
Xun(Perry) Liu
fab977355b
Merge pull request #14 from Telenav/feature/docker-orchestration
Telenav osrm-backend docker for development&release
2019-06-14 15:14:02 -07:00
Jay Zhang
447b9b1a90 delete unnecessary Dockerfile 2019-06-14 17:46:20 +08:00
Jay Zhang
787addf1c1 readme 2019-06-11 23:27:49 +08:00
Jay Zhang
f39d662d9e dockerfile for telenav osrm-backend 2019-06-11 08:13:25 -07:00
Jay Zhang
f8ccd98747 dev docker for osrm-backend 2019-06-11 06:07:41 -07:00
Jay Zhang
f1a9221b64 fix copy contents issue 2019-04-07 20:13:02 -07:00
Jay Zhang
87ccf7a6e8 make mapdata mountable 2019-04-04 01:18:06 -07:00
Jay Zhang
6f17286a9a fix osrm-route not in path issue 2019-04-02 19:04:37 -07:00
Jay Zhang
5b2b97bb05 osrm-data-docker Dockerfile 2019-04-02 03:47:06 -07:00
Jay Zhang
c9347144af osrm-routed docker based on centos7-osrm-soe 2019-04-01 07:41:00 -07:00
Liu
016adf6439 Initial commit test. 2019-02-07 11:00:46 -08:00
Daniel Patterson
0a556fe450
Fix changelog. 2019-02-04 16:15:19 -08:00
Daniel Patterson
f2f167c95d
Allow routing past barrier=arch. (#5352) 2019-02-04 16:14:43 -08:00
Lev Dragunov
8b45ff7a18
Store metadata about original OSM data, and return it in the API response, if available. 2019-01-30 15:31:56 -08:00
Daniel Patterson
4c665b24d9
Add optional builds for lts and node version aliases. This will give us a heads up when new Node (#5347)
versions break bindings, and might automagically get us support for new versions if it "just works".
2019-01-30 12:17:04 -08:00
Daniel Patterson
381d492a8f
Add waypoints parameter to viaroute API (#5345)
* Add silent waypoints to viaroute API.
2019-01-24 16:19:59 -08:00
Daniel Patterson
e250c83c21 Add BUILD_CONCURRENCY argument so that we can limit concurrency on Docker Hub (and thus reduce peak memory need for build) 2019-01-17 16:16:44 -08:00
Andrii Dmytrenko
e2e326d15e Fix cpack config by pointing to a correct LICENSE file 2019-01-17 09:45:11 -08:00
Daniel Patterson
4abca85474 Downgrade to debian:stretch-slim to ensure stable environment for building. 2019-01-11 16:46:28 -08:00
Daniel Patterson
2c78d862a3
Reset master for next release. 2018-12-18 16:25:51 -07:00
Daniel Patterson
b1451a7421
Release 5.21.0 2018-12-18 16:17:34 -07:00
Daniel Patterson
da1c251144
Prep 5.21.0-rc.1 2018-12-15 21:43:10 -07:00
Daniel Patterson
1eab7b41d1 Update CHANGELOG. 2018-12-15 21:07:06 -07:00
Daniel Patterson
1dca8ae76a Correct invalid tests - these captured the incorrect behaviour, the matrices should've been symmetrical (a->o == o->a for these cases) 2018-12-15 21:07:06 -07:00
Daniel Patterson
002e86863d Add test to ensure forward/reverse snapping distances are correct, and fix some tests that were incorrect due to the bug. 2018-12-15 21:07:06 -07:00
Daniel Patterson
1d82b01816 Count reverse offset from the back of the geometry, not the front. 2018-12-15 21:07:06 -07:00
Frédéric Rodrigo
714719c377 Lua maxspeed parsing refactoring (#5144)
* Lua maxspeed parsing refactoring
2018-12-14 21:58:07 -07:00
Huyen Chau Nguyen
77b4fbb69c Fix maxspeed to consider source:maxspeed tags (#5217)
* In Belgium the maximum speed in rural areas is 70 in the region Flanders
* parse maxspeed using source:maxspeed and maxspeed:type tags
* add changelog
* make maxspeed:advisory more important than maxspeed
* add test for source:maxspeed
2018-12-14 21:42:44 -07:00
Matt Riggott
11fde865f7 Document switch to Debian base images (#5281)
* Document switch to Debian base images
2018-12-14 21:36:09 -07:00
Salim KAYABASI
717406043a Remove unused Node binary publishing, and upgrade build environment.
Upgrades the build environment to Node 10, which let's us pull down some security fixes in package dependencies that were unfixed in Node 4.

Also removes Node 4 and 6 binary publishing which were almost never used (20 downloads out of 50,000).

Fixes https://github.com/Project-OSRM/osrm-backend/issues/5312
2018-12-14 21:34:48 -07:00
Daniel Patterson
1ef85c57cc Upgrade CI environment to Node 10, remove builds for < Node 8
Remove yarn, npm is fast now, and comes with node.
Synchronize package-lock.json and package.json
2018-12-14 14:56:21 -07:00
Daniel Patterson
d0180517a8
Merge branch 'master' of github.com:Project-OSRM/osrm-backend 2018-12-14 11:54:00 -07:00
Daniel Patterson
520b7ebbb6
Remove 5.20 build trigger from master branch - should only exist on release branches. 2018-12-14 11:53:48 -07:00
Dinesh Weerapurage
2caba96076 using libboost 1.67 in both build and run stages (#5311)
* using libboost 1.67 in both build and run stages, added execution permision for /opt
2018-12-14 11:51:05 -07:00
Daniel Patterson
81bc2f41a6
When matching, ignore 'is_startpoint' propert, snap to any edge (#5297)
Includes all edges in the rtree, but adds an `is_startpoint` flag to each.  Most plugin behaviour remains unchanged (non-startpoint edges aren't used as snapping candidates), but for map matching, we allow snapping to any edge.  This fixes map-matching across previously non-is_startpoint edges, like ferries, private service roads, and a few others.
2018-12-13 17:10:32 -07:00
Daniel Patterson
06e010b4d0 Include information on estimates in table response (#5259)
* Revert "Remove estimated_cells value in the response."

This reverts commit 364e35af06.

* Update changelog.

* fix linting

* adjust fallback_speed check

* change [].includes to [].indexOf !== -1 for compatibility with node 4

* change param name

* more cuke tests

* fix formatting
2018-12-11 12:21:57 -05:00
Kajari Ghosh
92d3ce789b
Fix scale_factor bug (#5303)
* check for scale_factor != 1

* changelog
2018-12-10 17:11:08 -05:00
Kajari Ghosh
01ca32c81c
Fix fallback speed validity checks (#5300)
* fix fallback_speeds check to only accept values > 0

* add invalid_fallback_speed
2018-12-10 14:53:30 -05:00
Kajari Ghosh
2e17f3010a
Add a multiplier to the matrix (#5298)
* add a multiplier to the matrix

* add rounding

* remove scale_factor restrictions

* clamp for overflow error

* update check to match error message

* enforce clamping on < 0 and increase test coverage

* add an invalid scale_factor value to node tests

* increase test coverage

* changelog
2018-12-10 13:41:44 -05:00
Kajari Ghosh
c4238c4ed6
Backport-v5.20.0 (#5301)
* Prepare RC.1

* Bump version.

* remove destination/sources length <= coordinates length check (#5289)

* Add node 10 builds to travis (#5246)

* Add node 10 builds to travis

* Add changelog

* bump version to rc5

* Fix fallback_speed vector access (#5291)

* add failing cuke test

* correctly access durations vector

* changelog

* one more cuke test

* bump rc version

* 5.20.0

* remove line from changelog about commit that isn't actually in here

* update CHANGELOG and osrm version in package.json for v5.20.0

* bump to restart appveyor
2018-12-10 11:27:13 -05:00