Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion wahoomc/osm_maps_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,15 @@ def merge_splitted_tiles_with_land_and_sea(self, process_border_countries, conto

loop += 1

loop = 0
# loop through all land* osm files, merge only if more than one file is involved.
for land in land_files:
cmd.extend(
['--rx', 'file='+land, '--s', '--m'])
['--rx', 'file='+land, '--s'])
if loop > 0:
cmd.append('--m')

loop += 1

if contour:
for elevation in elevation_files:
Expand Down