Yipfrr / namebench

Automatically exported from code.google.com/p/namebench
Apache License 2.0
0 stars 0 forks source link

Opt-in results submission geodata should look less scary (round long/lat) #125

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Right now the JSON data looks scary accurate for anonymized data. The
longitude/latitude is only accurate to the city-level, but it does look
like it has the exact coordinates of the submitting host:

   "geodata":{
      "city":"Manchester",
      "region_name":"New Hampshire",
      "source":"gloc",
      "longitude":-71.454789000000005,
      "latitude":42.995638999999997,
      "country_code":"US",
      "country_name":"United States"
   },

Something like this would be less scary:

   "geodata":{
      "city":"Manchester",
      "region_name":"New Hampshire",
      "source":"gloc",
      "network_long":-71.4547,
      "network_lat":42.9956,
      "country_code":"US",
      "country_name":"United States"
   },

Original issue reported on code.google.com by tstromb...@google.com on 27 May 2010 at 11:41

GoogleCodeExporter commented 8 years ago
3 digits after the decimal is plenty to determine the city. 2 digits after the
decimal will result in mapped results possibly being a few miles outside of the 
city. 

Original comment by tstromb...@google.com on 27 May 2010 at 11:44

GoogleCodeExporter commented 8 years ago
Fixed in revision 899.

Original comment by helixblue on 27 May 2010 at 12:02