Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task/fix handling of missing image geolocation #121

Merged

Conversation

nathanfranklin
Copy link
Collaborator

@nathanfranklin nathanfranklin commented Mar 3, 2023

Overview:

This PR:

PR Status:

  • Ready.

Related Jira tickets:

DES-2420

Testing Steps:

  1. Import multiple files at one to test rate of file importing
  2. Test importing of images that are missing geolocaiton

@@ -174,4 +177,6 @@ def get_exif_location(image):
if gps_longitude_ref.values[0] != 'E':
lon = 0 - lon

if not lat or not lon:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is the key change. as in line 166 there is a _get_if_exist which is a different approach than before so we need to eventually check if it exists.

Copy link
Contributor

@duckonomy duckonomy left a comment

Choose a reason for hiding this comment

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

LGTM!

@nathanfranklin nathanfranklin merged commit db38beb into master Mar 29, 2023
@taoteg taoteg deleted the hotfix/fix-handling-of-missing-image-geolocation branch July 6, 2023 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants