On Wed, Feb 4, 2015 at 11:28 AM, Patrick Valsecchi <[email protected]> wrote:
> On 02/03/2015 04:41 PM, Dirk Hohndel wrote: > >> On Tue, Feb 03, 2015 at 04:32:40PM +0100, Patrick Valsecchi wrote: >> >>> Hi, >>> >>> This is a tentative to make subsurface a bit more flexible when parsing >>> GPS >>> coordinates. I like to geo-reference my dives, but copy and pasting the >>> coordinates from web sites was quite a pain (needed a lot of manual >>> correction). >>> >>> Please have a look and comment. I'm quite tempted to go wild and do >>> another >>> rewrite without using regular expressions... would be more flexible and >>> less >>> code, IMHO. >>> >> Absolutely. By all means, please rewrite it without regular expression if >> that makes it more flexible. >> >> Given where we are in the testing cycle, I won't apply this fix to master. >> I'm hoping to cut 4.4 in the next day or two and there's no way this will >> get enough testing. >> > > OK, here is a total rewrite of the GPS coordinates parsing including UTs. > It is a lot more flexible on the format and supports all the formats of > the previous parser (AFAIK). > > I share your opinion on not including it in 4.4. > Do you care to work on the GPS parsing a bit more? We have some requests for more lax parsing on our user forum: https://groups.google.com/forum/#!category-topic/subsurface-divelog/pMPlpNvhmfw E.g. 48 51.491n 2 17.677e miika
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
