Skip to content

Instantly share code, notes, and snippets.

@petersmythe
Last active November 11, 2016 09:49
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/f65bbb945e06cefc64751e37c9bd3b40 to your computer and use it in GitHub Desktop.
Save petersmythe/f65bbb945e06cefc64751e37c9bd3b40 to your computer and use it in GitHub Desktop.
enhanced_geocode_address_sample
{
"number_of_records": 101,
"qtime": 31,
"code": 200,
"result": [{
"docid": "AG_SUBURBS|3~635~13777",
"seoid": "Yze36F_iqn3043538",
"formatted_address": "Hatfield, Pretoria, Gauteng, 0028",
"confidence": 7,
"address_components": [{
"type": "sublocality",
"administrative_type": "suburb",
"long_name": "Hatfield",
"short_name": "Hatfield"
},
{
"type": "locality",
"administrative_type": "town",
"long_name": "Pretoria",
"short_name": "Pretoria"
},
{
"type": "administrative_area_level_3",
"administrative_type": "metropolitan council",
"long_name": "City of Tshwane Metropolitan Municipality",
"short_name": "TSH"
},
{
"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": "0028",
"short_name": "0028"
},
{
"type": "postal_code",
"administrative_type": "post_street",
"long_name": "0083",
"short_name": "0083"
}],
"geometry": {
"location": {
"lat": -25.748469330524,
"lng": 28.240121487069
},
"bounds": {
"southwest": {
"lat": -25.756458,
"lng": 28.222838
},
"northeast": {
"lat": -25.742289,
"lng": 28.222838
}
},
"viewport": {
"southwest": {
"lat": -25.765484,
"lng": 28.21287
},
"northeast": {
"lat": -25.733262,
"lng": 28.21287
}
}
},
"types": ["sublocality",
"sublocality_level_1"]
}],
"source": "intiendols.geocode.3"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment