<div dir="auto">pictite sent. Unfortunatly i repeated the test and no unnamed dive sites created, no location imported. even with the tick on load file even date does not match</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 8, 2020, 12:57 Berthold Stoeger <<a href="mailto:bstoeger@mail.tuwien.ac.at">bstoeger@mail.tuwien.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Donnerstag, 7. Mai 2020 20:51:02 CEST Dirk Hohndel via subsurface wrote:<br>
> > On May 7, 2020, at 11:35 AM, Chirana Gheorghita Eugeniu Theodor<br>
> > <<a href="mailto:office@adaptcom.ro" target="_blank" rel="noreferrer">office@adaptcom.ro</a>> wrote:<br>
> > <br>
> > So more testing. As I said with pics it works except for the gps data from<br>
> > pic. I cannot figure how to import that data .<br>
> I personally have never used that (as all of my devices have been set up to<br>
> NEVER record GPS locations in pictures). It seems to me that in dive.c /<br>
> create_picture() we are extracting the location from the EXIF information<br>
> and then call dive_set_geodata_from_picture() - reading that function, what<br>
> is needed is that your dive does have a location (i.e. a dive_site), but<br>
> that the dive_site has no GPS data associated with it.<br>
<br>
It seems that you are looking at an old version. create_picture() is in <br>
picture.c since the undoization of media.<br>
<br>
Moreover, if the dive doesn't have a dive site, a dive site is created. Sadly,<br>
the site was given an empty name, though that should be fixed by<br>
<a href="https://github.com/subsurface/subsurface/pull/2825" rel="noreferrer noreferrer" target="_blank">https://github.com/subsurface/subsurface/pull/2825</a><br>
<br>
Theodor sent me the picture in question. Weirdly, for me it (mostly) works, <br>
both with a dive site without GPS location and without a dive site. It just <br>
seems that the flag is not immediately updated on the map. The only thing to <br>
take care of is the check the "Load media files even the time does not match" <br>
box.<br>
<br>
Berthold <br>
<br>
<br>
</blockquote></div>