Rewrite batch files for new indexer_tool options

This commit is contained in:
vng 2011-01-08 23:30:39 +02:00 committed by Alex Zolotarev
parent b13f75e996
commit 3ef586653d
10 changed files with 14 additions and 16 deletions

View file

@ -1,4 +0,0 @@
call set_vars.bat %1 %2
%UNZIP_TOOL% -dc %OSM_FILE% | %INDEXER_TOOL% --generate_intermediate_data=true --generate_final_data=false --use_light_nodes=true --generate_index=false --intermediate_data_path=D:\Temp\
%UNZIP_TOOL% -dc %OSM_FILE% | %INDEXER_TOOL% --generate_intermediate_data=false --generate_final_data=true --use_light_nodes=true --generate_index=true --sort_features --intermediate_data_path=D:\Temp\ --output=%2 --bucketing_level=0

View file

@ -1,3 +0,0 @@
call set_vars.bat %1 %2
%UNZIP_TOOL% -dc %OSM_FILE_PLANET% | %INDEXER_TOOL% --generate_intermediate_data=false --generate_final_data=true --use_light_nodes=false --generate_index=true --sort_features --intermediate_data_path=H:\omim\Intermediate\ --output=%2

View file

@ -1,4 +0,0 @@
set INDEXER_TOOL="..\..\out\%1\indexer_tool.exe"
%INDEXER_TOOL% --generate_intermediate_data=true --generate_final_data=false --use_light_nodes=true --generate_index=false --intermediate_data_path=D:\Temp\ < ..\..\data\tests\%2.osm
%INDEXER_TOOL% --generate_intermediate_data=false --generate_final_data=true --use_light_nodes=true --generate_index=true --sort_features --intermediate_data_path=D:\Temp\ --output=%2 < ..\..\data\tests\%2.osm --bucketing_level=0

4
tools/win/gen_all.bat Normal file
View file

@ -0,0 +1,4 @@
rem call process_xml.bat %1 %2
call gen_features.bat %1 %2
call gen_geometry %1 %2
call gen_index %1 %2

View file

@ -0,0 +1,3 @@
call set_vars.bat %1 %2
%UNZIP_TOOL% -dc %OSM_FILE% | %INDEXER_TOOL% --generate_features=true --use_light_nodes=true --intermediate_data_path=D:\Temp\ --output=%2 --bucketing_level=0

View file

@ -0,0 +1,3 @@
call set_vars.bat %1 %2
%INDEXER_TOOL% --generate_geometry=true --output=%2 --bucketing_level=0

View file

@ -1,3 +1,3 @@
call set_vars.bat %1 %2
%INDEXER_TOOL% --generate_intermediate_data=false --generate_final_data=false --generate_index=true --intermediate_data_path=D:\Temp\
%INDEXER_TOOL% --generate_index=true --intermediate_data_path=D:\Temp\ --output=%2 --bucketing_level=0

View file

@ -1,3 +0,0 @@
call set_vars.bat %1 %2
%UNZIP_TOOL% -dc %OSM_FILE_PLANET% | %INDEXER_TOOL% --generate_intermediate_data=true --generate_final_data=false --use_light_nodes=false --generate_index=false --intermediate_data_path=H:\omim\Intermediate\

View file

@ -0,0 +1,3 @@
call set_vars.bat %1 %2
%UNZIP_TOOL% -dc %OSM_FILE% | %INDEXER_TOOL% --preprocess_xml=true --generate_features=false --generate_geometry=false --use_light_nodes=true --generate_index=false --intermediate_data_path=D:\Temp\

View file

@ -1,4 +1,3 @@
set UNZIP_TOOL="..\bunzip2.exe"
set OSM_FILE="D:\Temp\Osm\%2.osm.bz2"
set OSM_FILE_PLANET="H:\omim\%2.osm.bz2"
set INDEXER_TOOL="..\..\out\%1\indexer_tool.exe"