Repository navigation
Add a metadata-only export for discovery - #266
Merged
Merged
Conversation
A "Metadata only - no images" option in the Export dialog (and `report --no-media` on the command line) for handing over a file list when the images themselves cannot be disclosed. - HTML report: every chosen field, category, flag and location map, with no thumbnail, full-size copy or video frame of any file; the header states that images are not included, and each file's metadata starts open since there is no picture to click. - KMZ: placemarks without thumbnails. - LAVA: refused while the option is on (dialog greys it out, the route answers 400), since a LAVA project is built around the media. - Output names gain `_metadata` so a metadata-only export never overwrites a report that carries pictures. - An HTML export that writes no media folder now removes the `<name>_media` folder an earlier export left beside it, so a report never sits next to pictures it does not link to. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every section of the Export dialog (Which files, Format, Files, Maps, Report header, Media, Fields under each image) is now a <details> block, open by default, so an examiner can fold away what they are not changing. The heading above "Metadata only" reads "Files" instead of "Images". Co-Authored-By: Claude Opus 5.5 <[email protected]>
- "Metadata only" moves into the Media section, which now sits after Format and outside the HTML-only options, since it also governs the KMZ. The full-size, video and blur choices under it show only while HTML is ticked and Metadata only is not. - Which files and Fields under each image start open; Format, Media, Maps and Report header start collapsed. Media opens itself when Metadata only is remembered from the last export, so that choice is never hidden in a closed section. - The option reads "Metadata only - no images and videos". - Each section is a bordered box with a shaded heading bar. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Manual and in-app help (section 14) describe "Metadata only - no images and videos": where it sits in the dialog, what each format does with it, LAVA being unavailable, the _metadata file names, the stale _media folder being removed, and `gleapp report --no-media`. They also say the dialog's sections fold and which start open, and that the HTML media checkboxes show only while HTML is ticked and Metadata only is not. The README's report synopsis gains --no-media. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
What
A Metadata only — no images and videos option in the Export dialog, and
gleapp report --no-mediaon the command line, for producing a file list with its metadata when the images and videos themselves cannot be handed over (discovery).doc.kmlonly)./api/report, exit 2 from the CLI. A LAVA project is built around the media.Outputs get a
_metadatasuffix (report_metadata.html,geolocation_metadata.kmz, …) so they never overwrite a report that carries pictures. The choice is remembered with the case (report_no_media), like the other export options.Export dialog
A fix that came out of the tests
An HTML export that wrote no media folder left the
<name>_mediafolder of a previous export in place beside it. A metadata-only report could therefore sit next to a folder of full-size images.export_htmlnow removes that folder whenever the export writes none. This also applies to the existing thumbnails-only export.Checked
tests/test_web_report_formats.py: 6 new tests (dialog control sent and restored; no picture in a metadata-only HTML report against a control that has one; KMZ with no thumbnail; LAVA refused; stale media folder removed). Full suite locally on Windows: 868 passed, 6 skipped (run before the dialog layout commits; the report tests were rerun after each).<img>tags are the header logo slot, the page's empty viewer and GLEAPP's footer logo.Docs
docs/MANUAL.mdand the in-app help (help.html), section 14, describe the option (new "Metadata only (no images and videos)" subsection) and the foldable dialog sections; the README'sreportsynopsis gains--no-media.🤖 Generated with Claude Code