Eclipse.org Eclipse.org measurement Position

<measurement> examples

Position Attributes Elements XML Reference
<measurement> example from the profile.xml sample.

<?xml version="1.0" encoding="UTF-8"?>



            <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>




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