GeocodeAddressAUS - Spectrum_OnDemand - Latest

Spectrum OnDemand Web Services (SOAP)

Product type
Software
Portfolio
Verify
Product family
Product
Spectrum OnDemand
Version
Latest
Language
English
Product name
Spectrum OnDemand
Title
Spectrum OnDemand Web Services (SOAP)
First publish date
2006

GeocodeAddressAUS takes an address or intersection as input. To obtain the best performance and the most possible matches, your input address lists should be as complete as possible, free of misspellings and incomplete addresses, and as close to postal authority standards as possible. Most postal authorities have websites that contain information about address standards for their country.

Resource URL

https://OnDemandServer/soap/GeocodeAddressAUS

For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.

Example

This shows a SOAP request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:geoc="http://www.pb.com/spectrum/services/GeocodeAddressAUS">
   <soapenv:Header/>
   <soapenv:Body>
      <geoc:GeocodeAddressAUSRequest>
         <!--Optional:-->
         <geoc:options>
            <!--Optional:-->
            <geoc:OffsetFromCorner>50</geoc:OffsetFromCorner>
            <!--Optional:-->
            <geoc:DatabaseSearchOrder></geoc:DatabaseSearchOrder>
            <!--Optional:-->
            <geoc:MustMatchStateProvince>Y</geoc:MustMatchStateProvince>
            <!--Optional:-->
            <geoc:DatabasePreference>AUS</geoc:DatabasePreference>
            <!--Optional:-->
            <geoc:CoordinateSystem>EPSG</geoc:CoordinateSystem>
            <!--Optional:-->
            <geoc:KeepMultimatch>Y</geoc:KeepMultimatch>
            <!--Optional:-->
            <geoc:OffsetUnits>160</geoc:OffsetUnits>
            <!--Optional:-->
            <geoc:MustMatchHouseNumber>Y</geoc:MustMatchHouseNumber>
            <!--Optional:-->
            <geoc:MustMatchCounty>N</geoc:MustMatchCounty>
            <!--Optional:-->
            <geoc:Interpolation>?</geoc:Interpolation>
            <!--Optional:-->
            <geoc:CloseMatchesOnly>Y</geoc:CloseMatchesOnly>
            <!--Optional:-->
            <geoc:MustMatchLocality>N</geoc:MustMatchLocality>
            <!--Optional:-->
            <geoc:OffsetFromStreet>170</geoc:OffsetFromStreet>
            <!--Optional:-->
            <geoc:PreferPostalCodeOverCity>Y</geoc:PreferPostalCodeOverCity>
            <!--Optional:-->
            <geoc:Return8DecimalPlaceParcelLatLong>?</geoc:Return8DecimalPlaceParcelLatLong>
            <!--Optional:-->
            <geoc:FallbackToGeographic>?</geoc:FallbackToGeographic>
            <!--Optional:-->
            <geoc:MustMatchInput>?</geoc:MustMatchInput>
            <!--Optional:-->
            <geoc:Database>?</geoc:Database>
            <!--Optional:-->
            <geoc:MustMatchPostalCode>?</geoc:MustMatchPostalCode>
            <!--Optional:-->
            <geoc:GNAFPointType>?</geoc:GNAFPointType>
            <!--Optional:-->
            <geoc:GeocodeLevel>?</geoc:GeocodeLevel>
            <!--Optional:-->
            <geoc:MustMatchCity>?</geoc:MustMatchCity>
            <!--Optional:-->
            <geoc:ReturnStreetAbbreviation>?</geoc:ReturnStreetAbbreviation>
            <!--Optional:-->
            <geoc:MustMatchStreet>?</geoc:MustMatchStreet>
            <!--Optional:-->
            <geoc:MaxCandidates>2</geoc:MaxCandidates>
            <!--Optional:-->
            <geoc:FallbackToPostal>?</geoc:FallbackToPostal>
         </geoc:options>
         <!--Optional:-->
         <geoc:input_port>
            <!--Zero or more repetitions:-->
            <geoc:Address>
               <!--You may enter the following 10 items in any order-->
               <!--Optional:-->
               <geoc:AddressLine1>59 Gloucester Avenue</geoc:AddressLine1>
               <!--Optional:-->
               <geoc:AddressLine2>?</geoc:AddressLine2>
               <!--Optional:-->
               <geoc:FirmName>?</geoc:FirmName>
               <!--Optional:-->
               <geoc:Locality>?</geoc:Locality>
               <!--Optional:-->
               <geoc:County>?</geoc:County>
               <!--Optional:-->
               <geoc:City>Cheltenham</geoc:City>
               <!--Optional:-->
               <geoc:StateProvince>South Australia</geoc:StateProvince>
               <!--Optional:-->
               <geoc:PostalCode>5014</geoc:PostalCode>
               <!--Optional:-->
               <geoc:LastLine>?</geoc:LastLine>
               <!--Optional:-->
               <geoc:user_fields>
                  <!--Zero or more repetitions:-->
                  <geoc:user_field>
                     <geoc:name>?</geoc:name>
                     <geoc:value>?</geoc:value>
                  </geoc:user_field>
               </geoc:user_fields>
            </geoc:Address>
         </geoc:input_port>
      </geoc:GeocodeAddressAUSRequest>
   </soapenv:Body>
</soapenv:Envelope>

This would be the response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns3:GeocodeAddressAUSResponse xmlns:ns2="http://spectrum.pb.com/" xmlns:ns3="http://www.pb.com/spectrum/services/GeocodeAddressAUS">
         <ns3:output_port>
            <ns3:Address>
               <ns3:AddressLine1/>
               <ns3:City>CHELTENHAM</ns3:City>
               <ns3:LocationPrecision>10</ns3:LocationPrecision>
               <ns3:County>CHARLES STURT</ns3:County>
               <ns3:Country>AUS</ns3:Country>
               <ns3:LastLine>CHELTENHAM SA 5014</ns3:LastLine>
               <ns3:Latitude>-34.86635</ns3:Latitude>
               <ns3:Longitude>138.52502</ns3:Longitude>
               <ns3:Geocoder.MatchCode>G3</ns3:Geocoder.MatchCode>
               <ns3:PostalCode>5014</ns3:PostalCode>
               <ns3:StateProvince>SA</ns3:StateProvince>
               <ns3:StreetDataType>3</ns3:StreetDataType>
               <ns3:NumberOfCandidateRanges>0</ns3:NumberOfCandidateRanges>
               <ns3:CoordinateSystem>epsg:4326</ns3:CoordinateSystem>
               <ns3:IsCloseMatch>Y</ns3:IsCloseMatch>
               <ns3:DataType>15</ns3:DataType>
               <ns3:user_fields>
                  <ns3:user_field>
                     <ns3:name>?</ns3:name>
                     <ns3:value>?</ns3:value>
                  </ns3:user_field>
               </ns3:user_fields>
            </ns3:Address>
         </ns3:output_port>
      </ns3:GeocodeAddressAUSResponse>
   </soap:Body>
</soap:Envelope>