We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7348553 commit debd4dbCopy full SHA for debd4db
1 file changed
mapillary_tools/geotag/gpmf_parser.py
@@ -277,7 +277,10 @@ def gps9_from_stream(
277
278
try:
279
sample_parser = C.Sequence(
280
- *[_type_mapping[t.to_bytes()][0] for t in gps_value_types]
+ *[
281
+ _type_mapping[t.to_bytes(length=1, byteorder="big")][0]
282
+ for t in gps_value_types
283
+ ]
284
)
285
except Exception as ex:
286
raise ValueError(f"Error parsing the complex type {gps_value_types}: {ex}")
0 commit comments