Google and Cloudmade Geocoding apis returning different results

Topics: General
Mar 6, 2012 at 1:19 PM
Edited Mar 6, 2012 at 1:27 PM

Hi radioman, need your advice.

Address: 743A+Eastern+Avenue,+Newbury+Park,+London,+UK

When I am executing CloudMade api for Geocoding to find long and lat against the above address it is returning 4 results where as google is returning only 1.

My question is which is more authentic and in case of these type of scenarios where coordinates are returned more than 1 then which coordinates I use for long and lat... please rcommend

Below I am pasting apis and their results

Googl api

========

http://maps.googleapis.com/maps/api/geocode/json?address=743A+Eastern+Avenue,+Newbury+Park,IG2+7RT,+London,+UK&sensor=false

Google Result

=========

{
   "results" : [
      {
         "address_components" : [
            {
               "long_name" : "743A",
               "short_name" : "743A",
               "types" : [ "street_number" ]
            },
            {
               "long_name" : "Eastern Ave",
               "short_name" : "Eastern Ave",
               "types" : [ "route" ]
            },
            {
               "long_name" : "Ilford",
               "short_name" : "Ilford",
               "types" : [ "locality", "political" ]
            },
            {
               "long_name" : "Greater London",
               "short_name" : "Gt Lon",
               "types" : [ "administrative_area_level_2", "political" ]
            },
            {
               "long_name" : "United Kingdom",
               "short_name" : "GB",
               "types" : [ "country", "political" ]
            },
            {
               "long_name" : "IG2 7RT",
               "short_name" : "IG2 7RT",
               "types" : [ "postal_code" ]
            },
            {
               "long_name" : "Ilford",
               "short_name" : "Ilford",
               "types" : [ "postal_town" ]
            }
         ],
         "formatted_address" : "743A Eastern Ave, Ilford, Greater London IG2 7RT, UK",
         "geometry" : {
            "location" : {
               "lat" : 51.57611160,
               "lng" : 0.09453919999999999
            },
            "location_type" : "ROOFTOP",
            "viewport" : {
               "northeast" : {
                  "lat" : 51.57746058029149,
                  "lng" : 0.09588818029150202
               },
               "southwest" : {
                  "lat" : 51.57476261970849,
                  "lng" : 0.09319021970849796
               }
            }
         },
         "partial_match" : true,
         "types" : [ "street_address" ]
      }
   ],
   "status" : "OK"
}

-------------------------------------------
Cloud made api
==================
http://geocoding.cloudmade.com/8ee2a50541944fb9bcedded5165f09d9/geocoding/v2/find.js?query=743A+Eastern+Avenue,+Newbury+Park,IG2+7RT,+London,+UK&return_geometry=false

Cloud made Result
==================
{"found": 4, "bounds": [[51.55144, -0.07111], [51.62356, 0.10322]], "features": [{"id": 52377450,"centroid": {"type":"POINT","coordinates":[51.56085, 0.00047]},"bounds": [[51.55144, -0.01859], [51.57275, 0.01752]],"properties": {"ref": "A12", "name": "Eastern Avenue", "highway": "trunk", "osm_id": "11156990;25914267;25914266;25914251;24777610;24777609;24777608;24777606;23659540;23659538;11301109;11175619;4518034;4518033"},"type": "Feature"},{"id": 52377440,"centroid": {"type":"POINT","coordinates":[51.57526, 0.07382]},"bounds": [[51.57348, 0.04517], [51.57959, 0.10322]],"properties": {"ref": "A12", "name": "Eastern Avenue", "highway": "residential;trunk", "osm_id": "48373805;14958556;2969611;2969610;2969394;48565094;48565093;48373821;48373810;48373797;2969393"},"type": "Feature"},{"id": 52377590,"centroid": {"type":"POINT","coordinates":[51.57533, 0.0407]},"bounds": [[51.57484, 0.04036], [51.57599, 0.04099]],"properties": {"osm_element": "way", "name": "Eastern Avenue", "highway": "service", "osm_id": "55634816"},"type": "Feature"},{"id": 57783103,"centroid": {"type":"POINT","coordinates":[51.62211, -0.06878]},"bounds": [[51.62038, -0.07111], [51.62356, -0.06661]],"properties": {"osm_element": "way", "name": "South Eastern Avenue", "highway": "residential", "osm_id": "4300991"},"type": "Feature"}], "type": "FeatureCollection", "crs": {"type": "EPSG", "properties": {"code": 4326, "coordinate_order": [0, 1]}}}


Thanks for your time.

Update:
I have just verifid the results. Google returned the accurate result and pointed to the exact location what I was expecting where as CloudMade Api is showing near to that but not goog accuracy.
Mar 6, 2012 at 1:55 PM

don't ask me that ;} different providers, different results