From b28cf8a4ecebac38810325986cc63d1a6f89c3ca Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Sat, 22 Jul 2023 00:57:30 +0300 Subject: [PATCH] Disable priorities compression by default Signed-off-by: Konstantin Pastbin --- src/libkomwm.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libkomwm.py b/src/libkomwm.py index 75e6e39..ab37ee5 100644 --- a/src/libkomwm.py +++ b/src/libkomwm.py @@ -92,9 +92,7 @@ Priorities ranges' rendering order overview: - BG-by-size: landcover areas sorted by their size ''' -OVERLAYS_MAX_PRIORITY = 200000 - -CASING_OBJECT_ID = '_casing' +OVERLAYS_MAX_PRIORITY = 100000 def to_boolean(s): s = s.lower() @@ -347,7 +345,7 @@ def komap_mapswithme(options): output = '' for prio_range in prio_ranges.keys(): - load_priorities(prio_range, options.priorities_path, unique_types_check, compress = True) + load_priorities(prio_range, options.priorities_path, unique_types_check, compress = False) output += f'{"" if not output else ", "}{len(prio_ranges[prio_range]["priorities"])} {prio_range}' print(f'Loaded priorities: {output}.')