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

Function BuildTransitCrossMwmSection

generator/routing_index_generator.cpp:664–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664void BuildTransitCrossMwmSection(string const & path, string const & mwmFile, string const & country,
665 CountryParentNameGetterFn const & countryParentNameGetterFn,
666 ::transit::experimental::EdgeIdToFeatureId const & edgeIdToFeatureId,
667 bool experimentalTransit)
668{
669 LOG(LINFO, ("Building transit cross mwm section for", country));
670 CrossMwmConnectorBuilderEx<connector::TransitId> builder;
671
672 CalcCrossMwmConnectors(path, mwmFile, "" /* intermediateDir */, country, countryParentNameGetterFn,
673 "" /* mapping file */, edgeIdToFeatureId, builder, experimentalTransit);
674
675 SerializeCrossMwm(mwmFile, TRANSIT_CROSS_MWM_FILE_TAG, builder);
676}
677} // namespace routing_builder

Callers 1

generator_tool.cppFile · 0.85

Calls 2

CalcCrossMwmConnectorsFunction · 0.85
SerializeCrossMwmFunction · 0.85

Tested by

no test coverage detected