Skip to content

Conversation

@nickplesha
Copy link
Contributor

This PR adds the file sizes (as "size") to the output JSON files.

Also, adds the total size to be uploaded in the CLI output:
mapillary_tools_file_size_output

],
"description": "The image file type"
},
"size": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: use filesize to be more explicit, instead of size?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated!

},
"size": {
"type": "number",
"description": "File size"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file size in mb or kb?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bytes.

Copy link
Member

@ptpt ptpt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nickplesha nickplesha merged commit de080e3 into main Feb 5, 2025
19 checks passed
@ptpt ptpt deleted the feat-file-sizes branch March 19, 2025 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants