MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / read_ebg_file

Function read_ebg_file

scripts/debug/dump_hsgr.py:63–68  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

61
62
63def read_ebg_file(args):
64 with tarfile.open(args.input + ".ebg", "r") as tar:
65 root = "/common/edge_based_edge_list"
66 array = tar.getmember(root)
67 buffer = tar.extractfile(array).read()
68 return EbgEdge.make(buffer)
69
70
71# .osrm.hsgr

Callers 1

dump_hsgr.pyFile · 0.85

Calls 1

makeMethod · 0.45

Tested by

no test coverage detected