geocodeAddress
Get Latitude and Longitude for the Address.
geocodeAddressRequest
Request to get Latitude and Longitude for the given address.
Object Fields
NameTypeRequired
wsAdminTdxAdminYes
tntAddressesTdxAddressYes



XML Example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <ns1:geocodeAddress soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:tns">
   <wsAdmin href="#id0"/>
   <tntAddresses href="#id1"/>
  </ns1:geocodeAddress>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:TdxAddress" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://www.telenavtrack.net/schema">
   <lat xsi:type="xsd:double" xsi:nil="true"/>
   <lon xsi:type="xsd:double" xsi:nil="true"/>
   <street xsi:type="xsd:string">1130 Kifer Rd</street>
   <city xsi:type="xsd:string">Sunnyvale</city>
   <state xsi:type="xsd:string">CA</state>
   <zipCode xsi:type="xsd:string">94086</zipCode>
   <country xsi:type="xsd:string">US</country>
   <layerId xsi:type="xsd:long" xsi:nil="true"/>
  </multiRef>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:TdxAdmin" xmlns:ns3="http://www.telenavtrack.net/schema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <email xsi:type="xsd:string">1251428674475@telenav.com</email>
   <password xsi:type="xsd:string">password</password>
  </multiRef>
 </soapenv:Body>
</soapenv:Envelope>
				



geocodeAddressResponse
Array of Address objects with calculated Latitude and Longitude.
It is not a single object because some addresses resolve to multiple addresses on the map. For example "Main St." sometimes resolves to "South Main St." and "North Main St."
Object Fields
NameTypeRequired
geocodeAddressReturnTdxAddressArrayYes


XML Example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <ns1:geocodeAddressResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:tns">
   <geocodeAddressReturn soapenc:arrayType="ns2:TdxAddress[1]" xsi:type="soapenc:Array" xmlns:ns2="http://www.telenavtrack.net/schema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <geocodeAddressReturn xsi:type="ns2:TdxAddress">
     <lat xsi:type="xsd:double">37.373905</lat>
     <lon xsi:type="xsd:double">-121.999644</lon>
     <street xsi:type="xsd:string">1130 KIFER RD</street>
     <city xsi:type="xsd:string">SUNNYVALE</city>
     <state xsi:type="xsd:string">CA</state>
     <zipCode xsi:type="xsd:string">94086</zipCode>
     <country xsi:type="xsd:string">US</country>
     <layerId xsi:type="xsd:long" xsi:nil="true"/>
    </geocodeAddressReturn>
   </geocodeAddressReturn>
  </ns1:geocodeAddressResponse>
 </soapenv:Body>
</soapenv:Envelope>