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

Function step_prepare_routing_world

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

Source from the content-addressed store, hash-verified

254
255
256def step_prepare_routing_world(env: Env, country: AnyStr, logger, **kwargs):
257 filter_roads(
258 env[settings.OSM_TOOL_FILTER],
259 env.paths.planet_o5m,
260 env.paths.world_roads_o5m,
261 env.get_subprocess_out(country),
262 env.get_subprocess_out(country),
263 )
264 make_world_road_graph(
265 env.world_roads_builder_tool,
266 env.paths.world_roads_o5m,
267 env.paths.user_resource_path,
268 env.paths.world_roads_path,
269 logger,
270 env.get_subprocess_out(country),
271 env.get_subprocess_out(country)
272 )
273
274
275def step_routing_world(env: Env, country: AnyStr, **kwargs):

Callers

nothing calls this directly

Calls 3

filter_roadsFunction · 0.85
make_world_road_graphFunction · 0.85
get_subprocess_outMethod · 0.80

Tested by

no test coverage detected