This commit is contained in:
Theophile Terraz committed 2024-08-21 15:51:24 +02:00
1 parent 898aad3da5
commit 2951f5e093
3 files changed
+4 -4

No files matched your search

Binary file not shown.
Binary file not shown.
+4 -4
View File
@@ -492,10 +492,10 @@ class ProfileXYZ(Profile, SQLSubModel):
line = [] line = []
if zz[self.number_points-1] < z: if zz[self.number_points-1] < z:
line.append([station[self.number_points-1], z]) line.append([station[self.number_points-1], z])
if len(line) > 2: if len(line) > 2:
lines.append(geometry.LineString(line)) lines.append(geometry.LineString(line))
line = [] line = []
return lines return lines