Decimation is a powerful tool for simplifying and decluttering AIS data. With the decimate argument of TrackGen () and, when you need more control, direct calls to simplify_linestring_idx (), AISdb ...