#pragma once

#include "types.h"

#include <maps/wikimap/mapspro/services/mrc/libs/db/include/track_point.h>

namespace maps::mrc::sensors_feature_positioner {

// Separates trackpoints by sourceId. Also skips trackpoint dublicates.
std::vector<db::TrackPoints> separateBySourceId(db::TrackPoints trackPoints);

// Split trackPoints into solid tracks. A track is solid if its
// sensors don't have gaps.
Tracks splitIntoSeparateRides(const db::TrackPoints& trackPoints,
                              const SensorEvents& sensorEvents);

} // namespace maps::mrc::sensors_feature_positioner
