<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Feb 4, 2015 at 11:28 AM, Patrick Valsecchi <span dir="ltr"><<a href="mailto:patrick@thus.ch" target="_blank">patrick@thus.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 02/03/2015 04:41 PM, Dirk Hohndel wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On Tue, Feb 03, 2015 at 04:32:40PM +0100, Patrick Valsecchi wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<br>
<br>
This is a tentative to make subsurface a bit more flexible when parsing GPS<br>
coordinates. I like to geo-reference my dives, but copy and pasting the<br>
coordinates from web sites was quite a pain (needed a lot of manual<br>
correction).<br>
<br>
Please have a look and comment. I'm quite tempted to go wild and do another<br>
rewrite without using regular expressions... would be more flexible and less<br>
code, IMHO.<br>
</blockquote>
Absolutely. By all means, please rewrite it without regular expression if<br>
that makes it more flexible.<br>
<br>
Given where we are in the testing cycle, I won't apply this fix to master.<br>
I'm hoping to cut 4.4 in the next day or two and there's no way this will<br>
get enough testing.<br>
</blockquote>
<br></span>
OK, here is a total rewrite of the GPS coordinates parsing including UTs.<br>
It is a lot more flexible on the format and supports all the formats of the previous parser (AFAIK).<br>
<br>
I share your opinion on not including it in 4.4.<br></blockquote><div><br></div><div>Do you care to work on the GPS parsing a bit more? We have some requests for more lax parsing on our user forum:<br><br><a href="https://groups.google.com/forum/#!category-topic/subsurface-divelog/pMPlpNvhmfw">https://groups.google.com/forum/#!category-topic/subsurface-divelog/pMPlpNvhmfw</a><br><br>E.g. 48 51.491n 2 17.677e<br><br></div><div>miika<br></div></div></div></div>