mediadata

Occurrence

optional, single

Attributes

Description

Inside the <diver> section all known data of the <owner> of the UDDF file, and the dive buddies (<buddy>) respectively, are stored.

While only one <owner> is possible, as many as necessary <buddy> elements can appear inside the <diver> section. Here <owner> is the first element to be given, thereafter all <buddy> elements.

Normally, the <diver> section must be given in an UDDF file — for the data of its <owner> (, and his/her dive <buddy>s) are stored with subsequent profile data. The only exception from this rule is an UDDF file which is used to set data on a dive computer. In this case the <diver> section can be omitted — as long as a person's data are not to be transferred to the divecomputer.

Parent Elements

<uddf>

Child Elements

<audio>, <image>, <video>

See Also

<audio>, <image>, <video>

Examples

<uddf version="3.0.0">
    <generator>
        <!-- here information about the software -->
    </generator>
    <mediadata>
        <audio id="audio_1">
            <objectname>../abc/diving.wav</objectname>
        </audio>
        <audio id="audio_2">
            <objectname>../abc/whale-singing.wav</objectname>
        </audio>
        <image id="img_kai">
            <objectname>../images/kai.jpg</objectname>
        </image>
        <image id="img_whale">
            <objectname>../images/whale.jpg</objectname>
        </image>
        <image id="image4" height="4000" width="3000" format="jpg">
            <!-- absolute path (Unix world) -->
            <objectname>/home/kai/diving/image4.jpg</objectname>
            <imagedata>
                <datetime>2007-01-06T10:17:41</datetime>
                <aperture>2.8</aperture>                <!-- aperture: 2.8 -->
                <!-- exposure compensation: -1 EV -->
                <exposurecompensation>-1.0</exposurecompensation>
                <filmspeed>400</filmspeed>              <!-- film speed: 400 ASA -->
                <shutterspeed>0.002</shutterspeed>      <!-- shutter speed: 1/500 s -->
                <focallength>0.035</focallength>        <!-- focal length of lens: 35 mm -->
                <focusingdistance>1.3</focusingdistance>      <!-- focus distance of lens: 1.3 m -->
                <meteringmethod>spot</meteringmethod>   <!-- spot-metering -->
            </imagedata>
        </image>
        <video id="video_sail-dive-2000">
            <objectname>/home/kai/logbook/videos/sail-dive-2000.mpg</objectname>
        </video>
        <!-- here more <audio>-, <image>-, or <video> elements -->
    </mediadata>
    <diver>
        <owner id="kai">
            <!-- cross-referentiation on an image of owner Kai -->
            <link ref="img_kai"/>
            <!-- further description of the owner of the UDDF file -->
        </owner>
        <!-- descriptions of dive buddies of the owner of the UDDF file -->
    </diver>
    <!-- here more sections (<divesite>, <gasdefinitions>, <profiledata> etc.) -->
</uddf>