poliastro / czml3

Python 3 library to write CZML
https://pypi.org/project/czml3/
MIT License
37 stars 30 forks source link

Add property names to _TimeTaggedCoords #121

Closed Stoops-ML closed 1 month ago

Stoops-ML commented 1 month ago

This PR allows for _TimeTaggedCoords classes to specify the name of their property in the CZML. If the property name is defined it will be used in the dumped CZML, otherwise the values passed will be used.

This fixes https://github.com/poliastro/czml3/issues/107 and allows for bypassing similar bugs (as described in the issue) in Cesium.

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.24%. Comparing base (7f24f78) to head (c58cae9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #121 +/- ## ======================================= Coverage 99.23% 99.24% ======================================= Files 12 12 Lines 784 791 +7 ======================================= + Hits 778 785 +7 Misses 6 6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.