[PATCH] Support for aquadivelog UDDF import

Miika Turkia miika.turkia at gmail.com
Fri Jun 7 22:25:37 PDT 2013

It is going to cause the import to be quite slow due to a lot of lookups
within the XML but that should not really be a problem (I suppose we would
need some sort of import happening dialog in any case to inform user that
something is going on).

Originally I misread the gas change event in the UDDF and thought it
requires dual lookup instead of the one that is used in other UDDF formats
I have seen. So now I do have the gas changes implemented and will look
into some other info next.

If you are familiar with XSLT, you can look at the uddf.xslt. Adding e.g.
the dive site would require you to handle the dive_site tag when parsing
the dive meta data. Just add this somewhere after the dive_duration is
handled. The dive_site_ref requires a lookup into the divesites similarly
as the gaschange event lookup is implemented...


On Fri, Jun 7, 2013 at 11:46 PM, "Dr. Thorsten Lück"
<Thorsten.Lueck at web.de>wrote:

> Great - at least the dive-profile is available now!
> Thanks for that!
> Do you think it is a major effort to also import some other meta data?
> Can you give me a hint were to look?
> Thanks,
> Thorsten
> On 06/07/2013 04:45 PM, Miika Turkia wrote:
> > This implements limited support for importing dives from a Palm
> > divelog software called aquadivelog. Basic depth graph is imported
> > but most of the metadata is currently discarded.
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130608/ece6352d/attachment.html>

More information about the subsurface mailing list