#ifndef OSM2PGSQL_GEN_TILE_VECTOR_HPP
#define OSM2PGSQL_GEN_TILE_VECTOR_HPP

/**
 * SPDX-License-Identifier: GPL-2.0-or-later
 *
 * This file is part of osm2pgsql (https://osm2pgsql.org/).
 *
 * Copyright (C) 2006-2023 by the osm2pgsql developer community.
 * For a full list of authors see the git log.
 */

#include "gen-tile.hpp"

#include <string_view>

class gen_tile_vector_union_t final : public gen_tile_t
{
public:
    gen_tile_vector_union_t(pg_conn_t *connection, params_t *params);

    ~gen_tile_vector_union_t() override = default;

    void process(tile_t const &tile) override;

    void post() override;

    std::string_view strategy() const noexcept override
    {
        return "vector-union";
    }

private:
    std::size_t m_timer_simplify;
};

#endif // OSM2PGSQL_GEN_TILE_VECTOR_HPP
