Fixed critical issue at which all natural:water was removed, which does not need to be the case for all orthos. Implemented new mechanism to check against existence of an empty file to selectively run the water removal mechanism.
This commit is contained in:
parent
8f08b3dfb3
commit
b3d5fca112
@ -531,6 +531,8 @@ class mstr_photogen:
|
||||
# At ZL16 there seems to be an issue with water bodies, especially rivers (natural:water).
|
||||
# Let's see if we can correct that
|
||||
|
||||
# These files will need to be generated after manual check of the orthos
|
||||
if os.path.isfile(mstr_datafolder + "z_orthographic/data" + self._latlngfld + "/water/" + str(self._ty) + "_" + str(self._tx)) == True:
|
||||
# natural:water
|
||||
ntrl_water = False
|
||||
ntrl_idx = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user