mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
debug
This commit is contained in:
1 parent
5d3111df37
commit
ec5b9571d3
1 file changed
+6
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user