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

Function convert_planet

tools/python/maps_generator/generator/steps.py:49–57  ·  view source on GitHub ↗
(
    tool: AnyStr,
    in_planet: AnyStr,
    out_planet: AnyStr,
    output=subprocess.DEVNULL,
    error=subprocess.DEVNULL,
)

Source from the content-addressed store, hash-verified

47
48
49def convert_planet(
50 tool: AnyStr,
51 in_planet: AnyStr,
52 out_planet: AnyStr,
53 output=subprocess.DEVNULL,
54 error=subprocess.DEVNULL,
55):
56 osmconvert(tool, in_planet, out_planet, output=output, error=error)
57 write_md5sum(out_planet, md5_ext(out_planet))
58
59
60def step_download_and_convert_planet(env: Env, force_download: bool, **kwargs):

Callers 1

Calls 3

osmconvertFunction · 0.90
write_md5sumFunction · 0.90
md5_extFunction · 0.90

Tested by

no test coverage detected