Commit ec5b9571 authored by Theophile Terraz's avatar Theophile Terraz
Browse files

debug

Showing with 6 additions and 0 deletions
+6 -0
......@@ -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):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment