GeocodeAddressAUS
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
JSON endpoint:
https://OnDemandServer/rest/GeocodeAddressAUS/results.json
XML endpoint:
https://OnDemandServer/rest/GeocodeAddressAUS/results.xml
For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.
Example with JSON Response
This example requests a JSON response:
https://spectrum.precisely.com/rest/GeocodeAddressAUS/results.json?Data.AddressLine1=18 Merivale St&Data.City=South Brisbane&Data.StateProvince=QLD&Data.PostalCode=4101
The JSON returned by this request would be:
{
"output_port": [
{
"AddressLine1": "18 MERIVALE STREET",
"City": "SOUTH BRISBANE",
"LocationPrecision": "16",
"Country": "AUS",
"HouseNumber": "18",
"HouseNumberHigh": "18",
"HouseNumberLow": "18",
"HouseNumberParity": "E",
"LastLine": "SOUTH BRISBANE QLD 4101",
"Latitude": "-27.473130259227112",
"Longitude": "153.01492923",
"Geocoder.MatchCode": "S8HPNTSCZG",
"PostalCode": "4101",
"SegmentParity": "L",
"StateProvince": "QLD",
"StreetDataType": "2",
"StreetName": "MERIVALE",
"StreetSuffix": "STREET",
"NumberOfCandidateRanges": "3",
"NumberOfRangeUnits": "0",
"CoordinateSystem": "epsg:4326",
"IsCloseMatch": "Y",
"DataType": "15",
"AUS.GNAF_PID": "GAQLD155815362",
"AUS.GNAF_CONFIDENCE": "0",
"AUS.GNAF_GEOCODE_LEVEL": "7",
"AUS.GNAF_RELIABILITY": "2",
"AUS.MESH_BLOCK_ID": "30563561700",
"AUS.GNAF_SA1": "30501111023",
"AUS.GNAF_ADDRESS_CLASS": "PP",
"AUS.GNAF_PARCEL_ID": "1/SP195211",
"user_fields": []
}
]
}
Example with XML Response
This example requests an XML response:
https://spectrum.precisely.com/rest/GeocodeAddressAUS/results.xml?Data.AddressLine1=18 Merivale St&Data.City=South Brisbane&Data.StateProvince=QLD&Data.PostalCode=4101
The XML returned by this request would be:
<xml.GeocodeAddressAUSResponse xmlns=http://www.pb.com/spectrum/services/GeocodeAddressAUS>
<output_port>
<Address>
<AddressLine1>18 MERIVALE STREET</AddressLine1>
<City>SOUTH BRISBANE</City>
<LocationPrecision>16</LocationPrecision>
<Country>AUS</Country>
<HouseNumber>18</HouseNumber>
<HouseNumberHigh>18</HouseNumberHigh>
<HouseNumberLow>18</HouseNumberLow>
<HouseNumberParity>E</HouseNumberParity>
<LastLine>SOUTH BRISBANE QLD 4101</LastLine>
<Latitude>-27.473130259227112</Latitude>
<Longitude>153.01492923</Longitude>
<Geocoder.MatchCode>S8HPNTSCZG</Geocoder.MatchCode>
<PostalCode>4101</PostalCode>
<SegmentParity>L</SegmentParity>
<StateProvince>QLD</StateProvince>
<StreetDataType>2</StreetDataType>
<StreetName>MERIVALE</StreetName>
<StreetSuffix>STREET</StreetSuffix>
<NumberOfCandidateRanges>3</NumberOfCandidateRanges>
<NumberOfRangeUnits>0</NumberOfRangeUnits>
<CoordinateSystem>epsg:4326</CoordinateSystem>
<IsCloseMatch>Y</IsCloseMatch>
<DataType>15</DataType>
<AUS.GNAF_PID>GAQLD155815362</AUS.GNAF_PID>
<AUS.GNAF_CONFIDENCE>0</AUS.GNAF_CONFIDENCE>
<AUS.GNAF_GEOCODE_LEVEL>7</AUS.GNAF_GEOCODE_LEVEL>
<AUS.GNAF_RELIABILITY>2</AUS.GNAF_RELIABILITY>
<AUS.MESH_BLOCK_ID>30563561700</AUS.MESH_BLOCK_ID>
<AUS.GNAF_SA1>30501111023</AUS.GNAF_SA1>
<AUS.GNAF_ADDRESS_CLASS>PP</AUS.GNAF_ADDRESS_CLASS>
<AUS.GNAF_PARCEL_ID>1/SP195211</AUS.GNAF_PARCEL_ID>
<user_fields/>
</Address>
</output_port>
</xml.GeocodeAddressAUSResponse>