From 10a078b9f10085f5f22bac82a76dc824aff8933b Mon Sep 17 00:00:00 2001 From: "Marcus Str." Date: Sat, 5 Oct 2024 23:03:41 +0200 Subject: [PATCH] Correction to layergen to include streams for inland cutout --- layergen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layergen.py b/layergen.py index fbf4b78..3abcd5f 100644 --- a/layergen.py +++ b/layergen.py @@ -643,7 +643,7 @@ class mstr_layergen: #self._tiledb.close_db() # Create a water mask we need to remove from the DDS later - if (self._tag == "natural" and self._value == "water") or (self._tag == "water" and self._value == "lake") or (self._tag == "water" and self._value == "pond") or (self._tag == "water" and self._value == "river") or (self._tag == "leisure" and self._value == "swimming_pool"): + if (self._tag == "natural" and self._value == "water") or (self._tag == "water" and self._value == "lake") or (self._tag == "water" and self._value == "pond") or (self._tag == "water" and self._value == "river") or (self._tag == "leisure" and self._value == "swimming_pool") or (self._tag == "waterway" and self._value == "stream"): mstr_msg("layergen", "Generating inland water mask") inl_mask = Image.new("RGBA", (self._imgsize, self._imgsize), (0,0,0,0)) lyr_pix = layer_comp.load() -- 2.30.2