mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
19 lines
435 B
C++
19 lines
435 B
C++
#pragma once
|
|
|
|
#include "generator/osm_element.hpp"
|
|
|
|
#include <fstream>
|
|
#include <functional>
|
|
#include <string>
|
|
|
|
namespace generator
|
|
{
|
|
void MixFakeNodes(std::istream & stream, std::function<void(OsmElement &)> const & processor);
|
|
|
|
inline void MixFakeNodes(std::string const filePath, std::function<void(OsmElement &)> const & processor)
|
|
{
|
|
std::ifstream stream(filePath);
|
|
MixFakeNodes(stream, processor);
|
|
}
|
|
} // namespace generator
|