[generator] Updated doc and removed obsolete

Signed-off-by: vng <viktor.govako@gmail.com>
This commit is contained in:
vng 2021-02-28 12:56:56 +03:00 committed by Konstantin Pastbin
parent 5b5a27900a
commit 76584aaa52
4 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,6 @@ DEFINE_bool(generate_geometry, false,
"3rd pass - split and simplify geometry and triangles for features.");
DEFINE_bool(generate_index, false, "4rd pass - generate index.");
DEFINE_bool(generate_search_index, false, "5th pass - generate search index.");
DEFINE_bool(dump_cities_boundaries, false, "Dump cities boundaries to a file");
DEFINE_bool(generate_cities_boundaries, false, "Generate the cities boundaries section");
DEFINE_string(cities_boundaries_data, "", "File with cities boundaries");

View file

@ -226,6 +226,7 @@ def main():
skipped_stages.add(sd.StageUpdatePlanet)
if not settings.NEED_BUILD_WORLD_ROADS:
skipped_stages.add(sd.StagePrepareRoutingWorld)
skipped_stages.add(sd.StageRoutingWorld)
# Make env and run maps generation.

View file

@ -248,6 +248,7 @@ class StageCitiesIdsWorld(Stage):
@country_stage
@helper_stage_for("StageRoutingWorld")
# ToDo: Are we sure that this stage will be skipped if StageRoutingWorld is skipped?
class StagePrepareRoutingWorld(Stage):
def apply(self, env: Env, country, **kwargs):
steps.step_prepare_routing_world(env, country, **kwargs)

View file

@ -127,7 +127,6 @@ def step_features(env: Env, **kwargs):
osm_file_name=env.paths.planet_o5m,
node_storage=env.node_storage,
user_resource_path=env.paths.user_resource_path,
dump_cities_boundaries=True,
cities_boundaries_data=env.paths.cities_boundaries_path,
generate_features=True,
threads_count=settings.THREADS_COUNT_FEATURES_STAGE,