MCPcopy Create free account
hub / github.com/comaps/comaps / ProcessCoastline

Method ProcessCoastline

generator/final_processor_country.cpp:298–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298void CountryFinalProcessor::ProcessCoastline()
299{
300 /// @todo We can remove MinSize at all.
301 auto fbs = ReadAllDatRawFormat<serialization_policy::MaxAccuracy>(m_coastlineGeomFilename);
302
303 auto const affiliations = AppendToMwmTmp(fbs, *m_affiliations, m_temporaryMwmPath, m_threadsCount);
304 FeatureBuilderWriter<> collector(m_worldCoastsFilename);
305 for (size_t i = 0; i < fbs.size(); ++i)
306 {
307 fbs[i].SetName(localisation::kDefaultNameIndex, strings::JoinStrings(affiliations[i], ';'));
308 collector.Write(fbs[i]);
309 }
310}
311
312void CountryFinalProcessor::AddFakeNodes()
313{

Callers

nothing calls this directly

Calls 5

AppendToMwmTmpFunction · 0.85
JoinStringsFunction · 0.85
sizeMethod · 0.45
SetNameMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected