<p dir="ltr">To be fair, those jump are all about 19.84 metres. So the idea of a 20 metre circle would work for the merge.</p>
<br><div class="gmail_quote">On Thu, 11 Jun 2015 00:33 Davide DB <<a href="mailto:dbdavide@gmail.com">dbdavide@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Jun 10, 2015 at 8:17 PM, Dirk Hohndel <<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>> wrote:<br>
> On Wed, Jun 10, 2015 at 07:25:38PM +0200, Joakim Bygdell wrote:<br>
>><br>
>> > On 10 Jun 2015, at 17:46, Dirk Hohndel <<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>> wrote:<br>
>> ><br>
>> > But what if this is for example a wreck site and the user carefully<br>
>> > specifies the exact GPS coordinates for the different entry points?<br>
>> > But then, I guess, they'll have different names.<br>
>><br>
>> Most likely yes.<br>
<br>
Yes<br>
<br>
><br>
> So what I'm looking to implement now would be something like this:<br>
> (and remember, this is all for now about automatic creation of dive sites<br>
> when importing from a V2 XML file)<br>
><br>
> IF two sites have the same name<br>
> AND they are closer than 20m<br>
> THEN merge them into one site<br>
><br>
> Different name or different GPS? Different sites.<br>
<br>
Yes<br>
<br>
><br>
> And of course next we need the ability to identify two sites and say "yep,<br>
> these are the same, make them one" in the dive site management menu.<br>
><br>
<br>
Yes<br>
<br>
<br>
> I don't think we'll be able to come up with an algorithm that gets this<br>
> perfectly right for every user. So I'm trying to come up with something<br>
> that gets it right in most cases but doesn't prevent someone from fixing<br>
> it later.<br>
><br>
> So my rationale is "if you meant it to be two different dives, then you<br>
> almost certainly should have given it different names". But I'll still<br>
> keep the 20m threshold "just in case".<br>
<br>
Once some "merge" or "find duplicates" tool will be available in the<br>
dive sites management view, it would be nice having the threshold<br>
configurable.<br>
<br>
The above logic should be explained in the user manual. Especially how<br>
to be sure to do not loose valuabel GPS point during the import.<br>
<br>
About my points.<br>
These are really strange. Currently Subsurface merges only the last<br>
two that have exactly the same coords.<br>
I had the companion app turned on the whole day and the rubber boat<br>
was anchored all the time. Maybe my old smartphone gps was not<br>
reliable.<br>
I will merge these manually.<br>
<br>
<location gps='42.363000 11.184300'>Porto Ercole - Punta Finestra</location><br>
<location gps='42.363100 11.184100'>Porto Ercole - Punta Finestra</location><br>
<location gps='42.363000 11.184400'>Porto Ercole - Punta Finestra</location><br>
<location gps='42.363100 11.184500'>Porto Ercole - Punta Finestra</location><br>
<location gps='42.363100 11.184200'>Porto Ercole - Punta Finestra</location><br>
<location gps='42.363200 11.185100'>Porto Ercole - Punta Finestra</location><br>
<location gps='42.363200 11.184100'>Porto Ercole - Punta Finestra</location><br>
<location gps='42.363200 11.184100'>Porto Ercole - Punta Finestra</location><br>
<br>
When I dive with a rubber boat I start the companion app in advance so<br>
I don't know if I will go on a known spot.<br>
I will merge these one regardless of the gps point. They are exactly<br>
the same on different date.<br>
<br>
<location gps='42.251600 11.116300'>Isola di Giannutri - Punta San<br>
Francesco</location><br>
<location gps='42.251700 11.116500'>Isola di Giannutri - Punta San<br>
Francesco</location><br>
<location gps='42.251600 11.116300'>Isola di Giannutri - Punta San<br>
Francesco</location><br>
<location gps='42.251600 11.116300'>Isola di Giannutri - Punta San<br>
Francesco</location><br>
<br>
<br>
<br>
--<br>
Davide<br>
<a href="https://vimeo.com/bocio/videos" rel="noreferrer" target="_blank">https://vimeo.com/bocio/videos</a><br>
_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org" target="_blank">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
</blockquote></div>