[osrm] 03/08: Command corrections

Christopher Baines cbaines-guest at moszumanska.debian.org
Sat Jul 18 11:40:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

cbaines-guest pushed a commit to branch master
in repository osrm.

commit 6da5c350301e31b54d29cb2acedfd8f9bef64b2b
Author: Christopher Baines <mail at cbaines.net>
Date:   Sat Jul 18 11:42:35 2015 +0100

    Command corrections
---
 debian/man/osrm.7 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/man/osrm.7 b/debian/man/osrm.7
index 2fe7bdf..85ecd0d 100644
--- a/debian/man/osrm.7
+++ b/debian/man/osrm.7
@@ -27,7 +27,7 @@ the speed information in to OSRM.
 .SH EXAMPLE
 The following example uses an OSM file called planet-latest.osm.pbf, however this will work with raw OSM data, or pbf data. The prefix for the osrm files will be planet-latest, this is taken from the name of the OSM file, if you use a differently named file, you must change the prefix in the below commands. The files used will be placed in /var/cache/osrm, as this is the default location, as set in /etc/osrm/server.ini, the configuration file used by the osrm service.
 
-The latest planet file can be downloaded from the planet.openstreetmap.org site by using the following command (run in the /var/cache/osrm directory):
+The latest planet file can be downloaded from the planet.openstreetmap.org site by using the following command (run in the /var/lib/osrm directory). Note that you may need to run these commands as root, or change the permissions on the directory:
 
       wget http://planet.openstreetmap.org/pbf/planet-latest.osm.pbf
 
@@ -35,13 +35,13 @@ The following commands assume that the OSM data is in the /var/lib/osrm director
 
 For this example, the profile /etc/osrm/profiles/car.lua will be used, but this can either be changed, or a different profile can be used. There are additional sample profiles available in /etc/osrm/profiles. To run the extraction, run:
 
-      osrm-extract planet-latest.osm.pbf /etc/osrm/profiles/car.lua
+      osrm-extract planet-latest.osm.pbf --profile /etc/osrm/profiles/car.lua
 
 Once finished, you should have the files planet-latest.osrm, planet-latest.osrm.names, planet-latest.osrm.restrictions present. You will also have some stxxl related files, but these are not directly related to osrm.
 
 To proceed, use osrm-prepare to generate the hierarchy:
 
-      osrm-prepare planet-latest.osrm planet-latest.osrm.restrictions /etc/osrm/profiles/car.lua
+      osrm-prepare planet-latest.osrm --restrictions planet-latest.osrm.restrictions --profile /etc/osrm/profiles/car.lua
 
 In the working directory, you should now have in addition to the above files planet-latest.osrm.hsgr, planet-latest.osrm.edges, planet-latest.osrm.nodes, planet-latest.osrm.ramindex and planet-latest.osrm.fileIndex. You can then start the service.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osrm.git



More information about the Pkg-grass-devel mailing list