From d4aaa36ca05edd5974f22afffb1d32cf06101898 Mon Sep 17 00:00:00 2001 From: "Marcus Str." Date: Sat, 5 Oct 2024 22:54:53 +0200 Subject: [PATCH] Added small streams to be cut from the image to have X-Plane show it as real water --- defines.py | 2 +- photogen.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/defines.py b/defines.py index d8cb0ca..ab30c06 100644 --- a/defines.py +++ b/defines.py @@ -248,7 +248,7 @@ mstr_mask_blur = [ ("water", "river", 10), ("leisure", "swimming_pool", 10), ("waterway", "river", 10), - ("waterway", "stream", 10), + ("waterway", "stream", 2), ("amenity", "parking", 1), ("amenity", "school", 1), ("highway", "pedestrian", 12), diff --git a/photogen.py b/photogen.py index 9530715..df73ee8 100644 --- a/photogen.py +++ b/photogen.py @@ -153,7 +153,8 @@ class mstr_photogen: ["water", "lake"], ["water", "pond"], ["water", "river"], - ["leisure", "swimming_pool"] + ["leisure", "swimming_pool"], + ["waterway", "stream"] ) for l in water_layers: fn = mstr_datafolder + "_cache/" + str(self._lat) + "-" + str(self._ty) + "_" + str(self._lng) + "-" + str(self._tx) + "_" + l[0] + "-" + l[1] + "_layer_mask.png" -- 2.30.2