This commit is contained in:
Theophile Terraz committed 2024-08-21 15:48:11 +02:00
1 parent 898aad3da5
commit e1f69e41b0
1 file changed
+4 -4
+4 -4
View File
@@ -492,10 +492,10 @@ class ProfileXYZ(Profile, SQLSubModel):
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 = []
line.append([station[self.number_points-1], z])
if len(line) > 2:
lines.append(geometry.LineString(line))
line = []
return lines