adists_release
Theophile Terraz 2024-08-21 14:21:02 +02:00
parent 5d3111df37
commit ec5b9571d3
1 changed files with 6 additions and 0 deletions

View File

@ -491,6 +491,12 @@ class ProfileXYZ(Profile, SQLSubModel):
lines.append(geometry.LineString(line))
line = []
if zz[self.number_points-1] < z:
line.append([station[self.number_points-1], z])
if len(line) > 2:
lines.append(geometry.LineString(line))
line = []
return lines
def max_water_depth(self, z):