Created
January 28, 2016 04:05
-
-
Save dannguyen/b6f13b690ad8736a00e2 to your computer and use it in GitHub Desktop.
Sample geocoding responses from Google Maps and Mapzen Search for "Stanford"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results" : [ | |
{ | |
"address_components" : [ | |
{ | |
"long_name" : "Stanford", | |
"short_name" : "Stanford", | |
"types" : [ "locality", "political" ] | |
}, | |
{ | |
"long_name" : "Santa Clara County", | |
"short_name" : "Santa Clara County", | |
"types" : [ "administrative_area_level_2", "political" ] | |
}, | |
{ | |
"long_name" : "California", | |
"short_name" : "CA", | |
"types" : [ "administrative_area_level_1", "political" ] | |
}, | |
{ | |
"long_name" : "United States", | |
"short_name" : "US", | |
"types" : [ "country", "political" ] | |
} | |
], | |
"formatted_address" : "Stanford, CA, USA", | |
"geometry" : { | |
"bounds" : { | |
"northeast" : { | |
"lat" : 37.4435369, | |
"lng" : -122.149475 | |
}, | |
"southwest" : { | |
"lat" : 37.4063388, | |
"lng" : -122.191292 | |
} | |
}, | |
"location" : { | |
"lat" : 37.42410599999999, | |
"lng" : -122.1660756 | |
}, | |
"location_type" : "APPROXIMATE", | |
"viewport" : { | |
"northeast" : { | |
"lat" : 37.4435369, | |
"lng" : -122.149475 | |
}, | |
"southwest" : { | |
"lat" : 37.4063388, | |
"lng" : -122.191292 | |
} | |
} | |
}, | |
"place_id" : "ChIJzd7xXsm6j4ARUp8sFUMNrWs", | |
"types" : [ "locality", "political" ] | |
} | |
], | |
"status" : "OK" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment