Skip to content

Commit

Permalink
let osmosis use HDD instead of RAM
Browse files Browse the repository at this point in the history
- fixes #145 (comment)
- use parameter "type=hd". Might be a little slower... but no more crash.
  • Loading branch information
treee111 committed Nov 19, 2023
1 parent 41fdbf7 commit 84bf12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wahoomc/osm_maps_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ def create_map_files(self, save_cruiser, tag_wahoo_xml):
# Non-Windows
else:
cmd = ['osmosis', '--rb', merged_file,
'--mw', 'file='+out_file_map]
'--mw', 'file='+out_file_map, 'type=hd']

cmd.append(
f'bbox={tile["bottom"]:.6f},{tile["left"]:.6f},{tile["top"]:.6f},{tile["right"]:.6f}')
Expand Down

0 comments on commit 84bf12e

Please sign in to comment.