Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
18
generator/city_roads_generator.hpp
Normal file
18
generator/city_roads_generator.hpp
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue