mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
1.6rc2: defined <accuracy/> element to obsolete <error/> element
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2317 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
4d7ab04fd0
commit
85b2f3c154
27
xep-0080.xml
27
xep-0080.xml
@ -26,10 +26,10 @@
|
||||
&hildjj;
|
||||
&stpeter;
|
||||
<revision>
|
||||
<version>1.6rc1</version>
|
||||
<date>in progress, last updated 2008-09-25</date>
|
||||
<initials>psa</initials>
|
||||
<remark><p>Allowed empty geoloc element to signify a pause in publishing.</p></remark>
|
||||
<version>1.6rc2</version>
|
||||
<date>in progress, last updated 2008-10-02</date>
|
||||
<initials>psa/jjh</initials>
|
||||
<remark><p>Allowed empty geoloc element to signify a pause in publishing; added <accuracy/> element and deprecated <error/> element to change horizontal GPS error from arc minutes to meters, consistent with IMPS and other formats.</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>1.5</version>
|
||||
@ -150,6 +150,12 @@
|
||||
<th>Definition</th>
|
||||
<th>Example</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>accuracy</td>
|
||||
<td>xs:decimal</td>
|
||||
<td>Horizontal GPS error in meters; this element obsoletes the <error/> element</td>
|
||||
<td>10</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>alt</td>
|
||||
<td>xs:decimal</td>
|
||||
@ -195,8 +201,8 @@
|
||||
<tr>
|
||||
<td>error</td>
|
||||
<td>xs:decimal</td>
|
||||
<td>Horizontal GPS error in arc minutes</td>
|
||||
<td>10</td>
|
||||
<td>Horizontal GPS error in arc minutes; this element is deprecated in favor of <accuracy/></td>
|
||||
<td>290.8882087</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>floor</td>
|
||||
@ -287,6 +293,7 @@
|
||||
<lat>45.44</lat>
|
||||
<locality>Venice</locality>
|
||||
<lon>12.33</lon>
|
||||
<accuracy>20</accuracy>
|
||||
</geoloc>
|
||||
</item>
|
||||
</publish>
|
||||
@ -304,6 +311,7 @@
|
||||
<lat>45.44</lat>
|
||||
<locality>Venice</locality>
|
||||
<lon>12.33</lon>
|
||||
<accuracy>20</accuracy>
|
||||
</geoloc>
|
||||
</item>
|
||||
</items>
|
||||
@ -340,7 +348,7 @@
|
||||
</section1>
|
||||
|
||||
<section1 topic='Implementation Notes' anchor='impl'>
|
||||
<p>Avoid "Mars probe" issues: as specified in Table 1, the units for <lat/> and <lon/> MUST be decimal degrees (where South and West are negative, North and East are positive), the units for <alt/> MUST be meters above or below sea level, and the units for <error/> MUST be arc minutes.</p>
|
||||
<p>Avoid "Mars probe" issues: as specified in Table 1, the units for <lat/> and <lon/> MUST be decimal degrees (where South and West are negative, North and East are positive), the units for <alt/> MUST be meters above or below sea level, and the units for <accuracy/> MUST be meters. <note>The <accuracy/> element obsoletes the older <error/> element, which specified units of arc minutes intead of meters.</note></p>
|
||||
<p>In applications where updates are sent whenever there is a certain distance change in location, those applications SHOULD account for time as well, to avoid rate-limiting when the user is (for example) on a jet plane. One possible way to do this would be to send updates at most once per minute of time (every time 60 seconds have elapsed).</p>
|
||||
<p>Inferences SHOULD NOT be made about accuracy from the number of digits specified in the location or altitude.</p>
|
||||
<p>Why the datum madness? See <<link url='http://www.xmpp.org/extensions/gps_datum.html'>http://www.xmpp.org/extensions/gps_datum.html</link>> for an example.</p>
|
||||
@ -428,9 +436,9 @@
|
||||
<td align='center'><EXTADR/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center'>--</td>
|
||||
<td align='center'><accuracy/></td>
|
||||
<td align='center'><Accuracy/>
|
||||
<note>This element provides accuracy in meters. The location protocol defined in XEP-0080 specifies such an element for XMPP, which SHOULD be used when mapping from IMPS to XMPP.</note>
|
||||
<note>This element specifies accuracy in meters. When mapping from IMPS to XMPP, the IMPS <Accuracy/> element SHOULD be mapped to the XMPP <accuracy/> element (which specifies accuracy in meters), not the deprecated <error/> element (which specified accuracy in arc minutes).</note>
|
||||
</td>
|
||||
<td align='center'>--</td>
|
||||
<td align='center'>--</td>
|
||||
@ -484,6 +492,7 @@
|
||||
<xs:element name='geoloc'>
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs='0'>
|
||||
<xs:element name='accuracy' minOccurs='0' type='xs:decimal'/>
|
||||
<xs:element name='alt' minOccurs='0' type='xs:decimal'/>
|
||||
<xs:element name='area' minOccurs='0' type='xs:string'/>
|
||||
<xs:element name='bearing' minOccurs='0' type='xs:decimal'/>
|
||||
|
Loading…
Reference in New Issue
Block a user