1 - Fixed print progress info in print_progress() function.
2 - To prevent unused flags (addways and addrelations) from appearing in "Command Line Configuration" print info, I included it in preprocessor directivein process_command_line() function. If you use addnodes flag osm_ways and osm_relations are populated but in print info appears a contradictory message. You can see "Command Line Configuration" print info before and after:
Before:
***************************************************
COMMAND LINE CONFIGURATION *
***************************************************
Filename = /tmp/output_data.osm
Configuration file = /usr/src/app/itinera/mapconfig/mapconfig.xml
host = localhost
port = 5432
dbname = routing
username = routing_admin
password = routing
schema= bcn_tags_demo3
prefix =
suffix =
Don't Install postgis if not found
Drop tables
Don't create indexes
Add OSM nodes
Don't add OSM ways
Don't add OSM relations
***************************************************
After:
***************************************************
COMMAND LINE CONFIGURATION *
***************************************************
Filename = /tmp/output_data.osm
Configuration file = /usr/src/app/itinera/mapconfig/mapconfig.xml
host = localhost
port = 5432
dbname = routing
username = routing_admin
password = routing
schema= bcn_tags_demo3
prefix =
suffix =
Don't Install postgis if not found
Drop tables
Don't create indexes
Add OSM nodes
***************************************************
Hi,
1 - Fixed print progress info in
print_progress()
function.2 - To prevent unused flags (addways and addrelations) from appearing in "Command Line Configuration" print info, I included it in preprocessor directivein
process_command_line()
function. If you use addnodes flag osm_ways and osm_relations are populated but in print info appears a contradictory message. You can see "Command Line Configuration" print info before and after:Before:
After:
Thanks, Cayetano