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 Jul 10, 2023
1 parent cedcd30 commit db0f267
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 @@ -778,7 +778,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 db0f267

Please sign in to comment.