question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deduce geolocation from photos taken the same day

See original GitHub issue

Hi, discovered your project on HN, looks like something I could use 😃

Regarding the problem of photos with unknown location, the current solution consist to run the update subcommand on them. But say I have this folder tree :

├── 2015-06-Jun
│   ├── California
│   │   ├── 2015-06-29_16-34-14-img_3900.jpg

and an unknown location photo named 2015-06-29_17-07-06-img_3901.jpg I think it would make the workflow even more painless, if I could ./elodie.py import --propagate ... or something that would deduce that the photo has been taken in Cali since one half hour I took another one in this place.
A little magic/dangerous so should probably be turned off by default but does it make sense to you ?

Regards

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
jmathaicommented, Mar 28, 2016

@Ramblurr I run into this problem myself as well. I like the flags you suggested. Should probably consider what the default action would be if one of the flags were not used. I would error on the side of not clobbering data.

0reactions
Ramblurrcommented, Mar 28, 2016

I agree @jmathai there should be a general way to extract then apply metadata from a photo onto a set of photos.

For me the use case is definitely GPS. Photos taken on my phone have geolocation metadata, but my DSLR photos don’t.

Also at the moment I’m hesitant to use --location on directories that have these photos mixed together. The smartphone photos have exact coordinates I don’t want lost. Whereas the DSLR photos, I just want to get them geotagged to a general area (city, region, etc).

But right now --location will overwrite the more specific geolocation on my smartphone photos. I can workaround this by being creative with the list of photos I pass to elodie’s update (update … ./.JPG for the smartphone vs ./.ARW for the dslr etc).

In addition to extracting and applying metadata, another --create-or-ignore / --create-only / --ignore-if-exists flag to update would be useful. (maybe I should move this to a new ticket?).

Example:

# this command would only add the GPSInfo metadata to
# media files that do not already have the tags
elodie update --create--only --location "Paris, France" /pics/my/2016/Paris Trip
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Delete Location Details From Your Photos - MakeUseOf
Your photos have location information stored as metadata. Here's how to keep your location private by removing EXIF data.
Read more >
How to Scrub GPS Data from Your Photos - VICE
Click on the image, and then click on the 'Remove Exif' button in the upper right. A new screen should pop up with...
Read more >
How to Find the Location Where a Photo Was Taken - Techbout
Most Smartphone Cameras record location information, which makes it easy to find where a Photo was taken by accessing the Photo's EXIF data...
Read more >
6 Ways To Find Where a Picture Was Taken - Online Tech Tips
6 Ways To Find Where a Picture Was Taken · EXIF Data Is Always The First Stop · Search GPS Coordinates On Google...
Read more >
Scrub GeoTag from your photos before posting them on Internet
If you post the photo image somewhere on the Internet, there is way to pull this information from the photo and receive exact...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found