#pragma once

#include <maps/wikimap/mapspro/services/mrc/eye/experiments/signs_map/toloka/matches/lib/include/pair.h>

#include <maps/wikimap/mapspro/services/mrc/libs/common/include/exif.h>
#include <maps/wikimap/mapspro/services/mrc/libs/db/include/common.h>
#include <maps/wikimap/mapspro/services/mrc/libs/db/include/feature_gateway.h>

#include <maps/libs/pgpool/include/pgpool3.h>

#include <unordered_map>

namespace maps::mrc::eye {

using FeatureById = std::unordered_map<db::TId, db::Feature>;

FeatureById loadFeatures(pgpool3::Pool& pool, const FeatureIdPairs& pairs);

std::string makeFeatureUrl(db::TId featureId, common::ImageOrientation orientation);

} // namespace maps::mrc::eye
