Resolve "Creation of images with colored points using features"
Compare changes
+ 69
− 20
@@ -59,6 +59,13 @@ def apply_time_sequence(dat, time, func):
@@ -59,6 +59,13 @@ def apply_time_sequence(dat, time, func):
@@ -228,9 +235,7 @@ class AISTrajectory(AISPoints):
@@ -228,9 +235,7 @@ class AISTrajectory(AISPoints):
def generate_array_from_positions(self, height=256, width=256, link=True, bounding_box='fit', features=None,
@@ -243,6 +248,8 @@ class AISTrajectory(AISPoints):
@@ -243,6 +248,8 @@ class AISTrajectory(AISPoints):
x_coord, y_coord = get_coord(latitude, longitude, height, width, min_lat, max_lat, min_lon, max_lon)
@@ -255,7 +262,6 @@ class AISTrajectory(AISPoints):
@@ -255,7 +262,6 @@ class AISTrajectory(AISPoints):
@@ -265,4 +271,47 @@ class AISTrajectory(AISPoints):
@@ -265,4 +271,47 @@ class AISTrajectory(AISPoints):