Skip to content

Instantly share code, notes, and snippets.

@aguynamedben
Created September 8, 2011 21:20
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 aguynamedben/cc4cf6667f8f0545d161 to your computer and use it in GitHub Desktop.
Save aguynamedben/cc4cf6667f8f0545d161 to your computer and use it in GitHub Desktop.
{
"distance": 0.05628799743220005,
"geometry": {
"coordinates": [
-122.438629,
37.800621
],
"type": "Point"
},
"id": "afe42774-7d42-47e9-9eda-1d19898340e0",
"properties": {
"address": "2132 Chestnut St",
"attribution": "Factual Inc.",
"categories": [
"Food & Beverage",
"Cafes, Coffee Houses & Tea Houses"
],
"closed": false,
"country": "US",
"license": "http://www.factual.com/tos",
"locality": "San Francisco",
"name": "Starbucks",
"phone": "+1 415-673-6781",
"postcode": "94123",
"region": "CA"
},
"selfLink": "http://api.simplegeo.com/1.2/features/afe42774-7d42-47e9-9eda-1d19898340e0.json",
"type": "Feature"
}
@aguynamedben
Copy link
Author

Changes from Places 1.0:

  • 'distance' is now outside of the GeoJSON properties dictionary
  • 'city' is now 'locality'
  • 'classifiers' is now 'categories', and we've Places 1.2 uses the Factual heirchical category schema as defined here: http://wiki.developer.factual.com/w/page/33153715/Factual%20Local%20Taxonomy (URL encoded version available)
  • 'closed' is a new field that indicates if a business or place is no longer open
  • 'province' is now 'region'
  • The ID format has changed to reflect Factual's ID

See https://gist.github.com/6ab6af833223298cf22c for the equivalent Places 1.0 response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment