Resolve "Image creation bugs with 0 size windows"
Compare changes
- Raphael authored
+ 7
− 7
@@ -5,7 +5,7 @@ import numpy as np
@@ -5,7 +5,7 @@ import numpy as np
@@ -229,16 +229,13 @@ class AISTrajectory(AISPoints):
@@ -229,16 +229,13 @@ class AISTrajectory(AISPoints):
x_coord = max(min(height - int(height * (latitude - range_latitude[0]) / (range_latitude[1] - range_latitude[0])) - 1, height - 1), 0)
y_coord = max(min(int((width - 1) * (longitude - range_longitude[0]) / (range_longitude[1] - range_longitude[0])), width - 1), 0)
@@ -249,4 +246,7 @@ class AISTrajectory(AISPoints):
@@ -249,4 +246,7 @@ class AISTrajectory(AISPoints):