Home
last modified time | relevance | path

Searched refs:osrm (Results 1 – 25 of 747) sorted by relevance

12345678910>>...30

/dports/www/osrm-backend/osrm-backend-5.26.0/test/data/
H A DMakefile17 data: ch/$(DATA_NAME).osrm.hsgr corech/$(DATA_NAME).osrm.hsgr mld/$(DATA_NAME).osrm.partition
23 ch/$(DATA_NAME).osrm: $(DATA_NAME).osrm
25 cp $(DATA_NAME).osrm $(DATA_NAME).osrm.* ch/
27 corech/$(DATA_NAME).osrm: $(DATA_NAME).osrm
29 cp $(DATA_NAME).osrm $(DATA_NAME).osrm.* corech/
31 mld/$(DATA_NAME).osrm: $(DATA_NAME).osrm
33 cp $(DATA_NAME).osrm $(DATA_NAME).osrm.* mld/
41 ch/$(DATA_NAME).osrm.hsgr: ch/$(DATA_NAME).osrm $(PROFILE) $(OSRM_CONTRACT)
63 @rm osrm-routed.pid
68 @rm osrm-routed.pid
[all …]
/dports/www/osrm-backend/osrm-backend-5.26.0/src/nodejs/
H A Dnode_osrm.cpp187 std::shared_ptr<osrm::OSRM> osrm; in async() member
259 std::shared_ptr<osrm::OSRM> osrm; in asyncForTiles() member
309 osrm::Status (osrm::OSRM::*route_fn)(const osrm::RouteParameters &params, in NAN_METHOD()
311 &osrm::OSRM::Route; in NAN_METHOD()
352 osrm::Status (osrm::OSRM::*nearest_fn)(const osrm::NearestParameters &params, in NAN_METHOD()
407 osrm::Status (osrm::OSRM::*table_fn)(const osrm::TableParameters &params, in NAN_METHOD()
441 osrm::Status (osrm::OSRM::*tile_fn)(const osrm::TileParameters &params, in NAN_METHOD()
443 &osrm::OSRM::Tile; in NAN_METHOD()
498 osrm::Status (osrm::OSRM::*match_fn)(const osrm::MatchParameters &params, in NAN_METHOD()
571 osrm::Status (osrm::OSRM::*trip_fn)(const osrm::TripParameters &params, in NAN_METHOD()
[all …]
/dports/www/osrm-backend/osrm-backend-5.26.0/unit_tests/library/
H A Dtile.cpp21 osrm::Status run_tile(const osrm::OSRM &osrm, in run_tile() argument
171 void validate_tile(const osrm::OSRM &osrm, bool use_string_only_api) in validate_tile() argument
173 using namespace osrm; in validate_tile()
194 using namespace osrm; in test_tile_ch()
205 using namespace osrm; in test_tile_corech()
206 auto osrm = in test_tile_corech() local
215 using namespace osrm; in test_tile_mld()
222 void test_tile_turns(const osrm::OSRM &osrm, bool use_string_only_api) in test_tile_turns() argument
224 using namespace osrm; in test_tile_turns()
369 void test_tile_speeds(const osrm::OSRM &osrm, bool use_string_only_api) in test_tile_speeds() argument
[all …]
H A Dtrip.cpp14 osrm::Status run_trip_json(const osrm::OSRM &osrm, in run_trip_json() argument
23 osrm::engine::api::ResultT result = osrm::json::Object(); in run_trip_json()
33 using namespace osrm; in BOOST_AUTO_TEST_SUITE()
83 using namespace osrm; in test_roundtrip_response_for_locations_in_small_component_skip_waypoints()
116 using namespace osrm; in test_roundtrip_response_for_locations_in_big_component()
166 using namespace osrm; in test_roundtrip_response_for_locations_across_components()
220 using namespace osrm; in test_tfse_1()
268 using namespace osrm; in test_tfse_2()
321 void CheckNotImplemented(const osrm::OSRM &osrm, in CheckNotImplemented() argument
325 using namespace osrm; in CheckNotImplemented()
[all …]
H A Dnearest.cpp14 osrm::Status run_nearest_json(const osrm::OSRM &osrm, in run_nearest_json() argument
23 osrm::engine::api::ResultT result = osrm::json::Object(); in run_nearest_json()
24 auto rc = osrm.Nearest(params, result); in run_nearest_json()
35 using namespace osrm; in BOOST_AUTO_TEST_SUITE()
64 using namespace osrm; in test_nearest_response_skip_waypoints()
92 using namespace osrm; in test_nearest_response_no_coordinates()
116 using namespace osrm; in test_nearest_response_multiple_coordinates()
142 using namespace osrm; in test_nearest_response_for_location_in_small_component()
188 using namespace osrm; in BOOST_AUTO_TEST_CASE()
217 using namespace osrm; in BOOST_AUTO_TEST_CASE()
[all …]
H A Dlimits.cpp19 return {osrm::util::FloatLongitude{0}, osrm::util::FloatLatitude{0}}; in getZeroCoordinate()
27 using namespace osrm; in BOOST_AUTO_TEST_CASE()
34 OSRM osrm{config}; in BOOST_AUTO_TEST_CASE() local
55 using namespace osrm; in BOOST_AUTO_TEST_CASE()
62 OSRM osrm{config}; in BOOST_AUTO_TEST_CASE() local
83 using namespace osrm; in BOOST_AUTO_TEST_CASE()
90 OSRM osrm{config}; in BOOST_AUTO_TEST_CASE() local
111 using namespace osrm; in BOOST_AUTO_TEST_CASE()
118 OSRM osrm{config}; in BOOST_AUTO_TEST_CASE() local
146 OSRM osrm{config}; in BOOST_AUTO_TEST_CASE() local
[all …]
H A Dmatch.cpp14 osrm::Status run_match_json(const osrm::OSRM &osrm, in run_match_json() argument
21 return osrm.Match(params, json_result); in run_match_json()
24 auto rc = osrm.Match(params, result); in run_match_json()
33 using namespace osrm; in BOOST_AUTO_TEST_SUITE()
35 auto osrm = getOSRM(OSRM_TEST_DATA_DIR "/ch/monaco.osrm"); in BOOST_AUTO_TEST_SUITE() local
83 using namespace osrm; in test_match_skip_waypoints()
107 using namespace osrm; in test_match_split()
160 using namespace osrm; in BOOST_AUTO_TEST_CASE()
171 const auto rc = osrm.Match(params, result); in BOOST_AUTO_TEST_CASE()
201 using namespace osrm; in BOOST_AUTO_TEST_CASE()
[all …]
H A Dtable.cpp14 osrm::Status run_table_json(const osrm::OSRM &osrm, in run_table_json() argument
21 return osrm.Table(params, json_result); in run_table_json()
23 osrm::engine::api::ResultT result = osrm::json::Object(); in run_table_json()
24 auto rc = osrm.Table(params, result); in run_table_json()
33 using namespace osrm; in BOOST_AUTO_TEST_SUITE()
101 using namespace osrm; in test_table_three_coords_one_source_one_dest_matrix_no_waypoints()
158 using namespace osrm; in test_table_three_coords_one_source_matrix()
214 using namespace osrm; in test_table_three_coordinates_matrix()
266 using namespace osrm; in test_table_no_segment_for_some_coordinates()
297 using namespace osrm; in BOOST_AUTO_TEST_CASE()
[all …]
H A Droute.cpp18 osrm::Status run_route_json(const osrm::OSRM &osrm, in run_route_json() argument
27 osrm::engine::api::ResultT result = osrm::json::Object(); in run_route_json()
39 using namespace osrm; in BOOST_AUTO_TEST_SUITE()
145 using namespace osrm; in test_route_same_coordinates()
299 using namespace osrm; in test_route_same_coordinates_no_waypoints()
353 using namespace osrm; in test_route_response_for_locations_in_small_component()
396 using namespace osrm; in test_route_response_for_locations_in_big_component()
439 using namespace osrm; in test_route_response_for_locations_across_components()
484 using namespace osrm; in test_route_user_disables_generating_hints()
512 using namespace osrm; in speed_annotation_matches_duration_and_distance()
[all …]
/dports/www/osrm-backend/osrm-backend-5.26.0/src/tools/
H A Dio-benchmark.cpp23 namespace osrm namespace
57 osrm::util::Log() << "Not supported on FreeBSD"; in main()
61 osrm::util::Log() << "Not supported on Windows"; in main()
65 osrm::util::LogPolicy::GetInstance().Unmute(); in main()
74 osrm::util::Log(logDEBUG) << "temporary file: " << test_path.string(); in main()
86 int *random_array = new int[osrm::tools::NUMBER_OF_ELEMENTS]; in main()
132 osrm::tools::Statistics stats; in main()
172 osrm::util::Log(logDEBUG) << "running 1000 random I/Os of 4KB"; in main()
227 osrm::tools::runStatistics(timing_results_raw_random, stats); in main()
296 osrm::tools::runStatistics(timing_results_raw_seq, stats); in main()
[all …]
/dports/www/osrm-backend/osrm-backend-5.26.0/include/util/
H A Dgeojson_validation.hpp9 namespace osrm namespace
17 throw osrm::util::exception("Feature geometry has a non-array coordinate."); in validateCoordinate()
20 throw osrm::util::exception( in validateCoordinate()
37 throw osrm::util::exception("Feature is missing type member."); in validateFeature()
41 throw osrm::util::exception("Feature has non-string type member."); in validateFeature()
45 throw osrm::util::exception("Feature is missing properties member."); in validateFeature()
49 throw osrm::util::exception("Feature has non-object properties member."); in validateFeature()
53 throw osrm::util::exception("Feature is missing geometry member."); in validateFeature()
57 throw osrm::util::exception("Feature non-object geometry member."); in validateFeature()
62 throw osrm::util::exception("Feature geometry is missing type member."); in validateFeature()
[all …]
/dports/www/osrm-backend/osrm-backend-5.26.0/unit_tests/util/
H A Dio.cpp22 using namespace osrm;
32 osrm::storage::io::FileWriter outfile(IO_TMP_FILE, in BOOST_AUTO_TEST_CASE()
38 osrm::storage::io::FileReader infile(IO_TMP_FILE, in BOOST_AUTO_TEST_CASE()
70 osrm::storage::io::FileReader infile(IO_NONEXISTENT_FILE, in BOOST_AUTO_TEST_CASE()
74 catch (const osrm::util::RuntimeError &e) in BOOST_AUTO_TEST_CASE()
79 BOOST_REQUIRE(e.GetCode() == osrm::ErrorCode::FileOpenError); in BOOST_AUTO_TEST_CASE()
90 osrm::storage::io::FileWriter outfile( in BOOST_AUTO_TEST_CASE()
104 osrm::storage::io::FileReader infile(IO_TOO_SMALL_FILE, in BOOST_AUTO_TEST_CASE()
111 catch (const osrm::util::RuntimeError &e) in BOOST_AUTO_TEST_CASE()
140 catch (const osrm::util::RuntimeError &e) in BOOST_AUTO_TEST_CASE()
[all …]
/dports/www/osrm-backend/osrm-backend-5.26.0/include/extractor/
H A Dtravel_mode.hpp34 namespace osrm namespace
43 const constexpr osrm::extractor::TravelMode TRAVEL_MODE_INACCESSIBLE = 0;
44 const constexpr osrm::extractor::TravelMode TRAVEL_MODE_DRIVING = 1;
45 const constexpr osrm::extractor::TravelMode TRAVEL_MODE_CYCLING = 2;
46 const constexpr osrm::extractor::TravelMode TRAVEL_MODE_WALKING = 3;
47 const constexpr osrm::extractor::TravelMode TRAVEL_MODE_FERRY = 4;
48 const constexpr osrm::extractor::TravelMode TRAVEL_MODE_TRAIN = 5;
51 const constexpr osrm::extractor::TravelMode TRAVEL_MODE_STEPS_UP = 8;
52 const constexpr osrm::extractor::TravelMode TRAVEL_MODE_STEPS_DOWN = 9;
53 const constexpr osrm::extractor::TravelMode TRAVEL_MODE_RIVER_UP = 10;
[all …]
/dports/www/osrm-backend/osrm-backend-5.26.0/
H A DREADME.md5osrm-backend.png?branch=master)](https://travis-ci.org/Project-OSRM/osrm-backend) | [![AppVeyor](h…
23 - [osrm-text-instructions](https://github.com/Project-OSRM/osrm-text-instructions) - Text instructi…
24 - [osrm-backend-docker](https://hub.docker.com/r/osrm/osrm-backend/) - Ready to use Docker images
30 - [Hosted documentation](http://project-osrm.org)
49 …line instead replace `osrm-partition` and `osrm-customize` with a single `osrm-contract` and chang…
53 …images ([backend](https://hub.docker.com/r/osrm/osrm-backend/), [frontend](https://hub.docker.com/…
61 …docker run -t -v "${PWD}:/data" osrm/osrm-backend osrm-extract -p /opt/car.lua /data/berlin-latest…
65 docker run -t -v "${PWD}:/data" osrm/osrm-backend osrm-partition /data/berlin-latest.osrm
66 docker run -t -v "${PWD}:/data" osrm/osrm-backend osrm-customize /data/berlin-latest.osrm
70 …run -t -i -p 5000:5000 -v "${PWD}:/data" osrm/osrm-backend osrm-routed --algorithm mld /data/berli…
[all …]
H A D.gitignore8 osrm-deps
77 /osrm-extract
78 /osrm-io-benchmark
79 /osrm-components
80 /osrm-routed
81 /osrm-datastore
82 /osrm-prepare
83 /osrm-unlock-all
84 /osrm-cli
85 /osrm-check-hsgr
[all …]
H A Dappveyor-build.bat60 IF EXIST osrm-deps ECHO deleting osrm-deps... && RD /S /Q osrm-deps
68 ::tree osrm-deps
166 %Configuration%\osrm-extract.exe
169 XCOPY %test_region%.osrm.* ch\
170 XCOPY %test_region%.osrm ch\
175 XCOPY %test_region%.osrm.* mld\
176 XCOPY %test_region%.osrm mld\
177 %Configuration%\osrm-contract.exe %test_region_ch%.osrm
178 %Configuration%\osrm-contract.exe --core 0.8 %test_region_corech%.osrm
179 %Configuration%\osrm-partition.exe %test_region_mld%.osrm
[all …]
H A DCHANGELOG.md38osrm.turn_penalites_index` dump processing same with `.osrm.turn_weight_penalties` and `.osrm.turn…
343 - New file `.osrm.cell_metrics` created by `osrm-customize`.
467 …- Quickstart: `osrm-extract data.osm.pbf`, `osrm-partition data.osrm`, `osrm-customize data.osrm`,…
474 - .osrm.datasource_index file was removed. Data is now part of .osrm.geometries.
476 - `osrm-contract` does not depend on the `.osrm.fileIndex` file anymore
477 - `osrm-extract` creates new file `.osrm.cnbg` and `.cnbg_to_ebg`
478 - `osrm-partition` creates new file `.osrm.partition` and `.osrm.cells`
479 - `osrm-customize` creates new file `.osrm.mldgr`
859 - BREAKING: Renamed osrm-prepare to osrm-contract
860 - BREAKING: Removes profiles from osrm-contract, only needed in osrm-extract.
[all …]
/dports/www/osrm-backend/osrm-backend-5.26.0/src/updater/
H A Dcsv_source.cpp9 BOOST_FUSION_ADAPT_STRUCT(osrm::updater::Segment,
10 (decltype(osrm::updater::Segment::from), from)
11 (decltype(osrm::updater::Segment::to), to))
12 BOOST_FUSION_ADAPT_STRUCT(osrm::updater::SpeedSource,
14 (decltype(osrm::updater::SpeedSource::rate), rate))
15 BOOST_FUSION_ADAPT_STRUCT(osrm::updater::Turn,
16 (decltype(osrm::updater::Turn::from), from)
17 (decltype(osrm::updater::Turn::via), via)
18 (decltype(osrm::updater::Turn::to), to))
19 BOOST_FUSION_ADAPT_STRUCT(osrm::updater::PenaltySource,
[all …]
/dports/www/osrm-backend/osrm-backend-5.26.0/features/options/datastore/
H A Ddatastore.feature2 Feature: osrm-datastore command line options
15 Scenario: osrm-datastore - Help should be shown when no options are passed
16 When I try to run "osrm-datastore --dataset-name test_dataset_42 {processed_file}"
18 When I try to run "osrm-datastore --list"
23 Scenario: osrm-datastore - Only metric update should work
29 When I try to run "osrm-datastore {processed_file} --dataset-name cucumber/only_metric_test"
31 When I try to run "osrm-customize --segment-speed-file {speeds_file} {processed_file}"
36 Scenario: osrm-datastore - Displaying help should work
37 When I try to run "osrm-datastore {processed_file} --help"
40 Scenario: osrm-datastore - Errors on invalid path
[all …]
/dports/www/osrm-backend/osrm-backend-5.26.0/features/options/customize/
H A Dhelp.feature2 Feature: osrm-customize command line options: help
4 Scenario: osrm-customize - Help should be shown when no options are passed
5 When I try to run "osrm-customize"
7 And stdout should contain /osrm-customize(.exe)? <input.osrm> \[options\]:/
16 Scenario: osrm-customize - Help, short
17 When I run "osrm-customize -h"
19 And stdout should contain /osrm-customize(.exe)? <input.osrm> \[options\]:/
28 Scenario: osrm-customize - Help, long
29 When I run "osrm-customize --help"
31 And stdout should contain /osrm-customize(.exe)? <input.osrm> \[options\]:/
/dports/www/osrm-backend/osrm-backend-5.26.0/unit_tests/engine/
H A Dbase64.cpp16 using namespace osrm::engine; in BOOST_AUTO_TEST_CASE()
28 using namespace osrm::engine; in BOOST_AUTO_TEST_CASE()
40 using namespace osrm::engine; in BOOST_AUTO_TEST_CASE()
41 using namespace osrm::util; in BOOST_AUTO_TEST_CASE()
45 const osrm::test::MockDataFacade<osrm::engine::routing_algorithms::ch::Algorithm> facade{}; in BOOST_AUTO_TEST_CASE()
61 using namespace osrm::engine; in BOOST_AUTO_TEST_CASE()
62 using namespace osrm::util; in BOOST_AUTO_TEST_CASE()
66 const osrm::test::MockDataFacade<osrm::engine::routing_algorithms::ch::Algorithm> facade{}; in BOOST_AUTO_TEST_CASE()
/dports/www/osrm-backend/osrm-backend-5.26.0/features/options/contract/
H A Dhelp.feature2 Feature: osrm-contract command line options: help
4 Scenario: osrm-contract - Help should be shown when no options are passed
5 When I try to run "osrm-contract"
7 And stdout should contain /osrm-contract(.exe)? <input.osrm> \[options\]:/
18 Scenario: osrm-contract - Help, short
19 When I run "osrm-contract -h"
21 And stdout should contain /osrm-contract(.exe)? <input.osrm> \[options\]:/
32 Scenario: osrm-contract - Help, long
33 When I run "osrm-contract --help"
35 And stdout should contain /osrm-contract(.exe)? <input.osrm> \[options\]:/
/dports/www/osrm-backend/osrm-backend-5.26.0/docs/nodejs/
H A Dreleasing.md3 Releasing a new version of `node-osrm` is mostly automated using Travis CI.
5osrm` is locked to the same version as `osrm-backend`. Every `node-osrm` should have a `osrm-backe…
11 1. Update the `osrm_release` field in `package.json` to the corresonding git tag in `osrm-backend.`
15 1. Bump node-osrm version
19 1. Check that Travis CI [builds are passing](https://travis-ci.org/Project-OSRM/node-osrm) for the …
49 1. Publish node-osrm. **we only do this for stable releases**
66 Now we're ready to publish `node-osrm` to <https://www.npmjs.org/package/osrm>:
76 "osrm": "^MAJOR.MINOR.PATCH"
84 "osrm": "https://github.com/Project-OSRM/node-osrm/archive/vMAJOR.MINOR.PATCH.tar.gz"
/dports/www/osrm-backend/osrm-backend-5.26.0/include/engine/api/flatbuffers/
H A Dfbresult_generated.h9 namespace osrm {
616 osrm::engine::api::fbresult::ManeuverType type;
617 osrm::engine::api::fbresult::Turn modifier;
709 osrm::engine::api::fbresult::ManeuverType type = osrm::engine::api::fbresult::ManeuverType_Turn,
710 osrm::engine::api::fbresult::Turn modifier = osrm::engine::api::fbresult::Turn_None,
793 return osrm::engine::api::fbresult::CreateLane(
1214 return osrm::engine::api::fbresult::CreateStep(
1359 return osrm::engine::api::fbresult::CreateLeg(
2072 return osrm::engine::api::fbresult::CreateLane( in CreateLane()
2173 return osrm::engine::api::fbresult::CreateStep( in CreateStep()
[all …]
/dports/www/osrm-backend/osrm-backend-5.26.0/features/options/partition/
H A Dhelp.feature2 Feature: osrm-partition command line options: help
4 Scenario: osrm-partition - Help should be shown when no options are passed
5 When I try to run "osrm-partition"
7 And stdout should contain /osrm-partition(.exe)? <input.osrm> \[options\]:/
21 Scenario: osrm-partition - Help, short
22 When I run "osrm-partition -h"
24 And stdout should contain /osrm-partition(.exe)? <input.osrm> \[options\]:/
38 Scenario: osrm-partition - Help, long
39 When I run "osrm-partition --help"
41 And stdout should contain /osrm-partition(.exe)? <input.osrm> \[options\]:/

12345678910>>...30