Location Geocode

Allows you to find geocords by destination name (address or city or country).

Parameters

     /:tenant_name/:language/geocode/:name                                    tenant name, language, name

Example request

     http://acc.resfinity.com/resfinity_locations/anixe/de/geocode/wroclaw   returns geocoded location

Response

{
   "geo":[
      51.10805,
      17.026703
   ],
   "country_code":"PL",
   "city":"Wroclaw",
   "state":"Dolnoslaskie",
   "zip":"50-075",
   "street_address":null,
   "province":null,
   "district":null,
   "provider":"yahoo",
   "full_address":"Wroclaw, Dolnoslaskie, 50-075, PL",
   "precision":"city",
   "district_fips":null,
   "state_fips":null,
   "block_fips":null,
   "accuracy":40,
   "suggested_bounds":[
      [
         51.10805,
         17.026703
      ],
      [
         51.10805,
         17.026703
      ]
   ],
   "country":"Poland",
   "addr":"wroclaw",
   "geokit_provider":"yahoo",
   "created":"2012-03-29T20:00:35Z",
   "radius":0.5
}

Products/ResfinityLocationsWebservice/LocationGeocode (last edited 2013-04-06 03:42:58 by MikolajKochanski)

UA-140066296-2