improve MapHistory docs

This commit is contained in:
Laura Klünder 2017-11-20 14:57:19 +01:00
parent 87d1e3e7f5
commit f6304eca0a
2 changed files with 2 additions and 1 deletions

View file

@ -12,9 +12,10 @@ from c3nav.mapdata.utils.cache import GeometryIndexed
class MapHistory(GeometryIndexed):
# metadata format:
# 2 bytes (uint16): number of updates
# n uptates times:
# n updates times:
# 4 bytes (uint32): update id
# 4 bytes (uint32): timestamp
# each uint16 cell contains the index of the newest update
dtype = np.uint16
variant_id = 1

View file