From c3be71a5ab1f625cc9aad88dd770351131657cb1 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Tue, 27 Sep 2022 19:51:15 +0200 Subject: [PATCH] Do not generate intermediate .osrm file in osrm-extract. --- src/nodejs/node_osrm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nodejs/node_osrm.cpp b/src/nodejs/node_osrm.cpp index 37944d60c..b04b81d87 100644 --- a/src/nodejs/node_osrm.cpp +++ b/src/nodejs/node_osrm.cpp @@ -55,8 +55,8 @@ NAN_MODULE_INIT(Engine::Init) // clang-format off /** * The `OSRM` method is the main constructor for creating an OSRM instance. - * An OSRM instance requires a `.osrm` dataset, which is prepared by the OSRM toolchain. - * You can create such a `.osrm` file by running the OSRM binaries we ship in `node_modules/osrm/lib/binding/` and default + * An OSRM instance requires a `.osrm.*` dataset(`.osrm.*` because it contains several files), which is prepared by the OSRM toolchain. + * You can create such a `.osrm.*` dataset by running the OSRM binaries we ship in `node_modules/osrm/lib/binding/` and default * profiles (e.g. for setting speeds and determining road types to route on) in `node_modules/osrm/profiles/`: * * node_modules/osrm/lib/binding/osrm-extract data.osm.pbf -p node_modules/osrm/profiles/car.lua @@ -64,7 +64,7 @@ NAN_MODULE_INIT(Engine::Init) * * Consult the [osrm-backend](https://github.com/Project-OSRM/osrm-backend) documentation for further details. * - * Once you have a complete `network.osrm` file, you can calculate routes in javascript with this object. + * Once you have a complete `network.osrm.*` dataset, you can calculate routes in javascript with this object. * * ```javascript * var osrm = new OSRM('network.osrm');