Added small streams to be cut from the image to have X-Plane show it as real water

This commit is contained in:
Marcus Str. 2024-10-05 22:54:53 +02:00
parent f0820fb175
commit d4aaa36ca0
2 changed files with 3 additions and 2 deletions

View File

@ -248,7 +248,7 @@ mstr_mask_blur = [
("water", "river", 10), ("water", "river", 10),
("leisure", "swimming_pool", 10), ("leisure", "swimming_pool", 10),
("waterway", "river", 10), ("waterway", "river", 10),
("waterway", "stream", 10), ("waterway", "stream", 2),
("amenity", "parking", 1), ("amenity", "parking", 1),
("amenity", "school", 1), ("amenity", "school", 1),
("highway", "pedestrian", 12), ("highway", "pedestrian", 12),

View File

@ -153,7 +153,8 @@ class mstr_photogen:
["water", "lake"], ["water", "lake"],
["water", "pond"], ["water", "pond"],
["water", "river"], ["water", "river"],
["leisure", "swimming_pool"] ["leisure", "swimming_pool"],
["waterway", "stream"]
) )
for l in water_layers: 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" fn = mstr_datafolder + "_cache/" + str(self._lat) + "-" + str(self._ty) + "_" + str(self._lng) + "-" + str(self._tx) + "_" + l[0] + "-" + l[1] + "_layer_mask.png"