MCPcopy Create free account
hub / github.com/comaps/comaps / _generate_common_index

Function _generate_common_index

tools/python/maps_generator/generator/steps.py:172–187  ·  view source on GitHub ↗
(env: Env, country: AnyStr, **kwargs)

Source from the content-addressed store, hash-verified

170
171@multithread_run_if_one_country
172def _generate_common_index(env: Env, country: AnyStr, **kwargs):
173 run_gen_tool(
174 env.gen_tool,
175 out=env.get_subprocess_out(country),
176 err=env.get_subprocess_out(country),
177 data_path=env.paths.mwm_path,
178 intermediate_data_path=env.paths.intermediate_data_path,
179 cache_path=env.paths.cache_path,
180 user_resource_path=env.paths.user_resource_path,
181 node_storage=env.node_storage,
182 planet_version=env.planet_version,
183 generate_geometry=True,
184 generate_index=True,
185 output=country,
186 **kwargs,
187 )
188
189
190def step_index_world(env: Env, country: AnyStr, **kwargs):

Callers 3

step_index_worldFunction · 0.85
step_indexFunction · 0.85
step_coastline_indexFunction · 0.85

Calls 2

run_gen_toolFunction · 0.90
get_subprocess_outMethod · 0.80

Tested by

no test coverage detected