Eclipse.org Eclipse.org profile.xml Position

profile.xml sample

Position Attributes Elements XML Reference
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2008, 2009 IBM.                                           -->
<!-- All rights reserved. This program and the accompanying materials        -->
<!-- are made available under the terms of the Eclipse Public License v1.0   -->
<!-- which accompanies this distribution, and is available at                -->
<!-- http://www.eclipse.org/legal/epl-v10.html                               -->
<!--                                                                         -->
<!-- Contributors:                                                           -->
<!--     IBM - initial API and implementation                                -->
<!-- WARNING:                                                                -->
<!-- Consult the hardware manufacturer's technical specifications and User   -->
<!-- Guide for proper usage of the hardware before you use the Device Kit.   -->
<!-- Improper usage may result in damage to the hardware.                    -->

<dkml>
    <profile id="PositionProfile" packagebase="org.eclipse.soda.dk" abstract="true"
            old="false">
        <description>Position Profile</description>
        <history>
            <description>Initial version</description>
            <provider>Eclipse.org</provider>
            <version>1.2.0</version>
        </history>
        <provider>Eclipse.org</provider>
        <version>1.2.0</version>
        <vendor>IBM</vendor>
        <incubation>true</incubation>
<!-- Protocol Specification   -->

        <spec id="Specification"/>
<!-- Position Group   -->

        <group id="Position">
            <measurement id="Coordinate" type="Map">
                <data id="latitude">
                    <description>The "latitude" key contains the current latitude value. The preferred implementation of this value is a Float or Double that contains the latitude degree. A negative value is used to specify a south latitude. If a String is used, then the string should conform to ISO 6709. </description>
                    <units>degree</units>
                </data>
                <data id="longitude">
                    <description>The "longitude" key contains the current longitude value. The preferred implementation of this value is a Float or Double that contains the longitude degree. A negative value is used to specify a west longitude. If a String is used, then the string should conform to ISO 6709. </description>
                    <units>degree</units>
                </data>
                <data id="altitude">
                    <description>The "altitude" key contains the current altitude value. The preferred implementation of this value is a Number that contains the altitude in meters. </description>
                    <units>meter</units>
                </data>
                <data id="x" type="Number">
                    <description>The "x" key contains the current x value. </description>
                    <units>meter</units>
                </data>
                <data id="y" type="Number">
                    <description>The "y" key contains the current y value. </description>
                    <units>meter</units>
                </data>
                <data id="z" type="Number">
                    <description>The "z" key contains the current z value. </description>
                    <units>meter</units>
                </data>
                <data id="coordinateType" type="string">
                    <description>The "coordinateType" key contains the current coordinate type value. The preferred value is WGS84. Possible values are WGS84, OSGB36, ED50 and others. </description>
                    <enum>
                        <label>WGS84</label>
                        <value>
                            <string>WGS84</string>
                        </value>
                    </enum>
                    <enum>
                        <label>OSGB36</label>
                        <value>
                            <string>OSGB36</string>
                        </value>
                    </enum>
                    <enum>
                        <label>ED50</label>
                        <value>
                            <string>ED50</string>
                        </value>
                    </enum>
                </data>
                <data id="time" type="long">
                    <description>The "time" key contains the millisecond time of the coordinate position. </description>
                    <units>milliseconds</units>
                </data>
                <data id="dataExtensions" type="Map">
                    <description>The value stored at the "dataExtensions" key of this coordinate is the user defined data extensions. </description>
                </data>
            </measurement>
        </group>
    </profile>
</dkml>


id element
"Coordinate" <measurement>
"Position" <group>
"PositionProfile" <profile>
"Specification" <spec>
"altitude" <data>
"coordinateType" <data>
New "dataExtensions" <data>
"latitude" <data>
"longitude" <data>
New "time" <data>
"x" <data>
"y" <data>
"z" <data>
element id
<data> "altitude"
"coordinateType"
New "dataExtensions"
"latitude"
"longitude"
New "time"
"x"
"y"
"z"
<group> "Position"
<measurement> "Coordinate"
<profile> "PositionProfile"
<spec> "Specification"

Bugzilla: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Equinox&component=Incubator.DeviceKit
CVS File:
  org.eclipse.equinox
    incubator
      soda
        dk
          org.eclipse.soda.dk.position
            org.eclipse.soda.dk.position.profile
              dk
                profile.xml
(1.14)
Tag(s) Timestamp Revision Comment
V1_2_0_2010_1_13 .. V1_2_0_2008_01_05_E3_3_2 2009-01-05 1.14
V1_2_0_2008_12_14_E3_3_2 2008-12-14 1.13
V1_2_0_2008_12_06_E3_3_2 2008-12-06 1.12
V1_2_0_2008_12_05 .. V1_2_0_2008_12_03 2008-12-03 1.11
V1_2_0_2008_11_16 .. V1_2_0_2008_10_05 2008-10-03 1.8
V1_2_0_2008_10_03 .. V1_2_0_2008_09_30 2008-09-29 1.7
Eclipse3_3 2008-07-07 1.6
V1_1_0_2008_07_07 .. V1_1_0_2008_06_17 2008-06-17 1.5
2008-06-05 1.1

Copyright (c) 2010 IBM. See license in Legal section. 2010-01-22 Position XML Reference 1.2.0