From: Dustin Walde Date: Sun, 25 Jun 2023 06:15:19 +0000 (-0700) Subject: Init commit X-Git-Url: https://git.walde.dev/?a=commitdiff_plain;h=4e10a1c0b9b7674ad5be3bd071b519d4a163f41f;p=mtrack_to_gpx Init commit Add gitignore and mtrack protobuf definition --- 4e10a1c0b9b7674ad5be3bd071b519d4a163f41f diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d278ef9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +__pycache__/ +test_data/ diff --git a/src/Track_pb2.py b/src/Track_pb2.py new file mode 100644 index 0000000..5f90266 --- /dev/null +++ b/src/Track_pb2.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: Track.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0bTrack.proto\x12\x0fmobi.maptrek.io\"\x98\x02\n\x05Track\x12\x0f\n\x07version\x18\x01 \x02(\r\x12,\n\x06points\x18\x02 \x03(\x0b\x32\x1c.mobi.maptrek.io.Track.Point\x12\x0c\n\x04name\x18\x03 \x02(\t\x12\r\n\x05\x63olor\x18\x04 \x01(\r\x12\r\n\x05width\x18\x05 \x01(\x02\x1a\xa3\x01\n\x05Point\x12\x13\n\x0blatitude_e6\x18\x01 \x02(\x05\x12\x14\n\x0clongitude_e6\x18\x02 \x02(\x05\x12\x10\n\x08\x61ltitude\x18\x03 \x01(\x02\x12\r\n\x05speed\x18\x04 \x01(\x02\x12\x0f\n\x07\x62\x65\x61ring\x18\x05 \x01(\x02\x12\x10\n\x08\x61\x63\x63uracy\x18\x06 \x01(\x02\x12\x11\n\ttimestamp\x18\x07 \x01(\x04\x12\x18\n\ncontinuous\x18\x08 \x01(\x08:\x04true') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'Track_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + _globals['_TRACK']._serialized_start=33 + _globals['_TRACK']._serialized_end=313 + _globals['_TRACK_POINT']._serialized_start=150 + _globals['_TRACK_POINT']._serialized_end=313 +# @@protoc_insertion_point(module_scope)