Skip to content

Instantly share code, notes, and snippets.

@petersmythe
Last active November 11, 2016 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petersmythe/4d32b761de5e3393908b9726259ba481 to your computer and use it in GitHub Desktop.
Save petersmythe/4d32b761de5e3393908b9726259ba481 to your computer and use it in GitHub Desktop.
geocode_details
{
"number_of_records": 1,
"qtime": 1,
"code": 200,
"result": [{
"docid": "AG_NAD|3~635~14628~494145",
"seoid": "2XIAs5De9f_eEXNFubwV-ZXI41F281017",
"formatted_address": "446 Rigel Avenue South, Erasmusrand, Pretoria, Gauteng, 0181",
"confidence": 1,
"address_components": [{
"type": "street_number",
"administrative_type": "street_number",
"long_name": "446",
"short_name": "446"
},
{
"type": "route",
"administrative_type": "route",
"long_name": "Rigel Avenue South",
"short_name": "Rigel Avenue South"
},
{
"type": "sublocality",
"administrative_type": "suburb",
"long_name": "Erasmusrand",
"short_name": "Erasmusrand"
},
{
"type": "locality",
"administrative_type": "town",
"long_name": "Pretoria",
"short_name": "Pretoria"
},
{
"type": "administrative_area_level_2",
"administrative_type": "district municipality",
"long_name": "City of Tshwane",
"short_name": "TSH"
},
{
"type": "administrative_area_level_1",
"administrative_type": "province",
"long_name": "Gauteng",
"short_name": "GT"
},
{
"type": "country",
"administrative_type": "country",
"long_name": "South Africa",
"short_name": "ZA"
},
{
"type": "postal_code",
"administrative_type": "post_box",
"long_name": "0165",
"short_name": "0165"
},
{
"type": "postal_code",
"administrative_type": "post_street",
"long_name": "0181",
"short_name": "0181"
}],
"geometry": {
"location": {
"lat": -25.8087,
"lng": 28.25611
},
"bounds": {
"southwest": {
"lat": -25.8087,
"lng": 28.25611
},
"northeast": {
"lat": -25.8087,
"lng": 28.25611
}
},
"viewport": {
"southwest": {
"lat": -25.809602,
"lng": 28.255112
},
"northeast": {
"lat": -25.807797,
"lng": 28.255112
}
}
},
"types": ["street_address"]
}],
"source": "intiendols.geocode.3"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment