From 63c6c064360599817b74d5cef74712917bdcb031 Mon Sep 17 00:00:00 2001 From: Emil Tin Date: Fri, 25 May 2012 14:13:00 +0200 Subject: [PATCH] convert to protobuffer before loading into osrm --- features/support/data.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/support/data.rb b/features/support/data.rb index 19cd0bd4b..04dbb418d 100644 --- a/features/support/data.rb +++ b/features/support/data.rb @@ -166,11 +166,11 @@ def reprocess Dir.chdir TEST_FOLDER do write_speedprofile write_osm - #convert_osm_to_pbf + convert_osm_to_pbf unless extracted? log_preprocess_info log "== Extracting #{@osm_file}.osm...", :preprocess - unless system "../osrm-extract #{@osm_file}.osm 1>>#{PREPROCESS_LOG_FILE} 2>>#{PREPROCESS_LOG_FILE}" + unless system "../osrm-extract #{@osm_file}.osm.pbf 1>>#{PREPROCESS_LOG_FILE} 2>>#{PREPROCESS_LOG_FILE}" log "*** Exited with code #{$?.exitstatus}.", :preprocess raise "*** osrm-extract exited with code #{$?.exitstatus}. The file preprocess.log might contain more info." end