Commit 7ebfa21d authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

Markdown stuff

parent b40aeac2
......@@ -28,23 +28,23 @@ Build
Go in the src dir, and use make for the target you want. The following target
are available:
- elevation_create_database: creation of elevation database from srtm files
- `elevation_create_database`: creation of elevation database from srtm files
- elevation_query_database: query of elevation by coordinates
- `elevation_query_database`: query of elevation by coordinates
- lmdb_rewriter: rewrite a lmdb database, usefull to rewrite big sparse file as
- `lmdb_rewriter`: rewrite a lmdb database, usefull to rewrite big sparse file as
little dense one.
- route_create_database_from_pbf: (needs osmpbf lib) creation of the route
- `route_create_database_from_pbf`: (needs osmpbf lib) creation of the route
database (constituted by two db, lookup and nodes) from a pbf file and using
elevation database.
- route_query_lookup_database: query lookup db in route db to found nodes id
- `route_query_lookup_database`: query lookup db in route db to found nodes id
near the given coordinates. Nodes are searched on the same connected
component.
- route_query_nodes_database: query nodes db in route db to have informations
- `route_query_nodes_database`: query nodes db in route db to have informations
about given nodes id.
- get_route: Give a route between given coordinated. The goal of the project.
- `get_route`: Give a route between given coordinated. The goal of the project.
......@@ -21,7 +21,7 @@ The `analyze_pbf` program give:
- in stdout the list of needed srtm tiles.
- is stderr the number of couple (way,node)s usefull for routing. Let N the
number of couple (way,node)s returned by analyze_pbf. The prediction are the
number of couple (way,node)s returned by `analyze_pbf`. The prediction are the
following:
- (150 Bytes) × N : the routing database size
......@@ -51,7 +51,7 @@ Unzip SRTM files
mkdir -p SOMEWHERE/srtm
find SOMEWHERE/srtmzip/ -print0 | xargs -0 -n1 -I{} unzip {} -d SOMEWHERE/srtm
We don't need SOMEWHERE/srtmzip anymore. You can remove it.
We don't need `SOMEWHERE/srtmzip` anymore. You can remove it.
Creating elevation db
......@@ -65,19 +65,19 @@ not planning to backup, or transfer this file, you can skip the next step, but
the time used in the next step is very small, and this is not a good idea in
general case.
We don't need SOMEWHERE/srtm anymore. You can remove it.
We don't need `SOMEWHERE/srtm anymore`. You can remove it.
Converting elevation db
-----------------------
We use the agnostic lmdb_rewriter programm. It read source database, and
We use the agnostic `lmdb_rewriter` programm. It read source database, and
re-write it sequencialy (without using writable map). The two database are
equivalent, but the created elevation db from last step is a big sparse file,
and after this step, the elevation db is a small dense file.
./src/lmdb_rewriter SOMEWHERE/ele_db_sparse SOMEWHERE/ele_db
SOMEWHERE/ele_db_sparse is not needed anymore.
`SOMEWHERE/ele_db_sparse` is not needed anymore.
Keep it
......@@ -92,7 +92,7 @@ part) creation will fail, with a explanation (maybe).
Testing the elevation database
------------------------------
The program elevation_query_database use coupe (lon,lat) in stdin and give
The program `elevation_query_database` use coupe (lon,lat) in stdin and give
elevation in stdout. For example, to get the elevation of the point given by
coords (lon=1.017, lat=48.513) use:
......@@ -123,7 +123,7 @@ The routing database is made by two databases, the lookup database, and the node
database.
First we test the lookup database. For that the program
route_query_lookup_database do the job. This program take a set of coupe
`route_query_lookup_database` do the job. This program take a set of coupe
(lon,lat) terminated by 0. For example, to get the nodes in the same connected
component which are near points of coords:
- (lon=0.044, lat=45.661)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment