Open YaroShkvorets opened 5 years ago
sorry I recently re-worked the preprocessor for low latency.
I thought I did everything for keeping existing scripts to worked, but as I did not test that, you cannot assume that it works.
So you habe to options:
use the old "brouter.jar" that is contained in zthe pbfparser dir for preprocessing
I copied the production script to the git repo ( scripts/process_pbf_planet_production.sh ) If you strip the upper and the lower part, it should work for you
There is still, however, this 2 minutes pause that the parser makes befor starting That is because I adapted the parser to read a pbf file while it is written, so there has to be some heuristic flow control.
The re-work of the preprocessor still needs to be finished, I want to eliminate most of the command line parameters and replace it by hardcoded file/dir names, as there's no use in changing them anyhow. And I want to drop compatibility with the old script - so I leave this issue her open
Production script works. Thanks.
The inconsistency in the "old way" is file extensions. OsmCutter
(now) produces .ntl
files, however NodeFilter, NodeCutter & WayCutter still expect .tls
and .tlf
files. Hence the NodeFilter call above just ready the ways.dat file, then however not a single node tile file and hence simply emits no output to be processed in subsequent steps.
Changing both .tls
and .tlf
to just .ntl
makes the "old way" work as well
related PRs:
oh, I haven't seen the PR so far, just debugged my way through the "old way" and then found this issue here :-)
... and to be honest I haven't found the "new way" before coming here, since both mapcreation.md
and process_pbf_planet.sh
link to it.
... anyways, in order to just "play around" the "old way" is a bit easier to get into IMHO. Actually I'm currently just playing around with adding "pseudo tags" to ways based on heatmap data I've been collecting, so I can have profiles that slightly prefer ways I've never ridden before.
And with the step-by-step approach I can just add one more level of batch processing :)
process_pbf_planet_production.sh
The script does not execute correctly. Do you need to make some modifications? ./scan_world.sh
and ./traffic_simulation.sh
not existis
After building brouter and pbfparser I'm trying to run map creation script but it doesn't seem to be working. I'm using
monaco-latest.osm.pbf
from geofabrikThere is only one file in
nodetiles
directory:E0_N30.ntl
All other directories
ftiles
,nodes55
,segments
,unodes55
,waytiles
,waytiles55
are emptyThoughts?