Skip to content

Commit

Permalink
[FEATURE] Create Wahoo tile present/version indicator files like 84.m…
Browse files Browse the repository at this point in the history
…ap.lzma.v12 (#49)

Create Wahoo tile present/version indicator files like 84.map.lzma.v12
  • Loading branch information
treee111 authored Oct 20, 2021
1 parent 81fe795 commit 2b4adb0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion common_python/osm_maps_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,12 @@ def create_map_files(self, save_cruiser, tag_wahoo_xml):
if save_cruiser:
cmd.append('--keep')

# print(cmd)
subprocess.run(cmd, check=True)

# Create "tile present" file
with open(out_file + '.lzma.12', 'wb') as tile_present_file:
tile_present_file.close()

tile_count += 1

# logging
Expand Down

0 comments on commit 2b4adb0

Please sign in to comment.