(env: Env, **kwargs)
| 89 | |
| 90 | |
| 91 | def step_update_planet(env: Env, **kwargs): |
| 92 | tmp = f"{env.paths.planet_o5m}.tmp" |
| 93 | osmupdate( |
| 94 | env[settings.OSM_TOOL_UPDATE], |
| 95 | env.paths.planet_o5m, |
| 96 | tmp, |
| 97 | output=env.get_subprocess_out(), |
| 98 | error=env.get_subprocess_out(), |
| 99 | **kwargs, |
| 100 | ) |
| 101 | os.remove(env.paths.planet_o5m) |
| 102 | os.rename(tmp, env.paths.planet_o5m) |
| 103 | write_md5sum(env.paths.planet_o5m, md5_ext(env.paths.planet_o5m)) |
| 104 | |
| 105 | |
| 106 | def step_preprocess(env: Env, **kwargs): |
nothing calls this directly
no test coverage detected