Repository navigation
feat(report): KMZ geolocation export with embedded thumbnails - #8
Merged
Merged
Conversation
The geolocation export is now a KMZ (a zipped KML plus bundled images) instead of a plain KML. Each placemark carries a thumbnail - the image thumbnail for stills, the middle key frame for videos - stored as a real JPEG inside the archive and referenced by relative path, so clicking a pin in Google Earth shows the picture at its location. A file with no preview still gets a plain placemark. - report.py: export_kml writes doc.kml + files/<id>.jpg into a zip; new _thumb_bytes() helper; _fullview_data_uri() refactored to share a new _fullview_jpeg() (bytes) with the HTML report path - web/app.py, cli.py: write geolocation.kmz; `--format kml` -> .kmz - index.html: format label updated to "KMZ ... with thumbnails" - docs/MANUAL.md, help.html, README.md kept in sync New test_kmz_export_embeds_thumbnails opens the archive and checks the KML, the <img> refs, and that the bundled entries are real JPEGs. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcEhYD7XkWcxocYPALdcEb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The geolocation export is now a KMZ (a zipped KML plus bundled images) instead of a plain KML. Each placemark carries a thumbnail - the image thumbnail for stills, the middle key frame for videos - stored as a real JPEG inside the archive and referenced by relative path, so clicking a pin in Google Earth shows the picture at its location. A file with no preview still gets a plain placemark.
--format kml-> .kmzNew test_kmz_export_embeds_thumbnails opens the archive and checks the KML, the
refs, and that the bundled entries are real JPEGs.
Claude-Session: https://claude.ai/code/session_01VcEhYD7XkWcxocYPALdcEb