mirror of https://gitlab.com/pamhyr/pamhyr2
debug
parent
5d3111df37
commit
ec5b9571d3
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue