Describes the position of the sender of an MO.
Elements
Element | Req | Description |
LONGITUDE | Y | The position longitude given as a decimal number. Positive numbers is North, negative is South |
LATITUDE | Y | The position latitude given as a decimal number. Positive numbers is East, negative is West |
RADIUS | Y | Radius of accuracy given in meters |
COUNCIL | Y | The council (N: kommune) of the position |
COUNCILNUMBER | Y | The council number (N: kommunenummer) of the position |
PLACE | Y | A desciption of the position, may differ between mobile network operators |
SUBPLACE | N | Some operators provide additional information on the position |
ZIPCODE | N | The zip code of the position |
CITY | N | The city of the position |
XSD
<xs:element name="POSITION">
<xs:complexType>
<xs:sequence>
<xs:element name="STATUS" type="xs:string" />
<xs:element name="INFO" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="POS" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="LONGITUDE" type="xs:float" />
<xs:element name="LATITUDE" type="xs:float" />
<xs:element name="RADIUS" type="xs:int" />
<xs:element name="COUNCIL" type="xs:string" />
<xs:element name="COUNCILNUMBER" type="xs:int" />
<xs:element name="PLACE" type="xs:string" />
<xs:element name="SUBPLACE" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="ZIPCODE" type="xs:string" minOccurs="0" maxOccurs="1" />
<xs:element name="CITY" type="xs:string" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Sample XML
<POSITION>
<STATUS>OK</STATUS>
<INFO>Additional info if applicable</INFO>
<POS>
<LONGITUDE>60.37261</LONGITUDE>
<LATITUDE>5.34129</LATITUDE>
<RADIUS>10</RADIUS>
<COUNCIL>Bergen Kommune</COUNCIL>
<COUNCILNUMBER>1201</COUNCILNUMBER>
<PLACE>Bergen</PLACE>
<SUBPLACE>Fjøsangerveien 50<SUBPLACE>
<ZIPCODE>5059</ZIPCODE>
<CITY>Bergen</CITY>
</POS>
</POSITION>