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

Function MiniRoundabout

generator/generator_tests/mini_roundabout_tests.cpp:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21using namespace generator;
22
23OsmElement MiniRoundabout(uint64_t id, double lat, double lon)
24{
25 OsmElement miniRoundabout;
26 miniRoundabout.m_id = id;
27 miniRoundabout.m_lat = lat;
28 miniRoundabout.m_lon = lon;
29 miniRoundabout.m_type = OsmElement::EntityType::Node;
30 miniRoundabout.AddTag("highway", "mini_roundabout");
31 return miniRoundabout;
32}
33
34OsmElement Road(uint64_t id, std::vector<uint64_t> && nodes)
35{

Callers 1

UNIT_TESTFunction · 0.85

Calls 1

AddTagMethod · 0.45

Tested by

no test coverage detected