Repo created

This commit is contained in:
Fr4nz D13trich 2025-11-22 13:58:55 +01:00
parent 4af19165ec
commit 68073add76
12458 changed files with 12350765 additions and 2 deletions

View file

@ -0,0 +1,18 @@
#pragma once
#include "generator/cities_boundaries_builder.hpp"
#include <cstdint>
#include <string>
#include <vector>
namespace routing_builder
{
/// \brief Write |cityRoadFeatureIds| to city_roads section to mwm with |dataPath|.
/// \param cityRoadFeatureIds a vector of road feature ids in cities.
void SerializeCityRoads(std::string const & mwmPath, std::vector<uint32_t> && cityRoadFeatureIds);
/// \brief Marks road-features as city roads if they covered some boundary from data dumped in
/// |boundariesPath|. Then serialize ids of such features to "city_roads" section.
bool BuildCityRoads(std::string const & mwmPath, std::string const & boundariesPath);
} // namespace routing_builder