Merge lp://staging/~fboucault/camera-app/location_metadata into lp://staging/camera-app

Proposed by Florian Boucault
Status: Merged
Approved by: Florian Boucault
Approved revision: 311
Merge reported by: Florian Boucault
Merged at revision: not available
Proposed branch: lp://staging/~fboucault/camera-app/location_metadata
Merge into: lp://staging/camera-app
Diff against target: 79 lines (+23/-3)
3 files modified
ViewFinderOverlay.qml (+19/-1)
camera-apparmor.json (+3/-2)
debian/control (+1/-0)
To merge this branch: bzr merge lp://staging/~fboucault/camera-app/location_metadata
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Olivier Tilloy Approve
Review via email: mp+227037@code.staging.launchpad.net

Commit message

Enable GPS location saving into EXIF photo's metadata.

To post a comment you must log in.
308. By Florian Boucault

Enable GPS location saving into EXIF photo's metadata.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
309. By Florian Boucault

Merged trunk

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Olivier Tilloy (osomon) wrote :

30 + camera.imageCapture.setMetadata("GPSAltitude", positionSource.position.coordinate.altitude);

before setting the altitude attribute, you should probably check the value of positionSource.position.altitudeValid

Revision history for this message
Olivier Tilloy (osomon) wrote :

Before writing the metadata, you should probably do something like that:

    var position = positionSource.position

and then use this variable instead of always referring to positionSource.position (in case it is updated in the meantime, leading to two different positions being used for the metadata of one picture)

Revision history for this message
Olivier Tilloy (osomon) wrote :

The changes otherwise look good to me (not functionally tested though).

review: Approve
310. By Florian Boucault

Check altitude's validity. Do not constantly call positionSource.position.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
311. By Florian Boucault

Empty

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches