From: Marcus Str. Date: Sat, 5 Oct 2024 21:03:41 +0000 (+0200) Subject: Correction to layergen to include streams for inland cutout X-Git-Url: https://marstr.online/code/gitweb.cgi?a=commitdiff_plain;h=10a078b9f10085f5f22bac82a76dc824aff8933b;p=marstr%2Forthographic.git Correction to layergen to include streams for inland cutout --- 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()