News for hackers. Stuff that matters.
Re:Kansas couple sues IP mapping firm for turning their life... by mondoshawan on Friday August 12, 2016 @06:51AM (#12274560)
Then it should return both the center of Springfield and an accuracy measurement, like a city boundary. If the act of returning a location is inherently unreliable, then that must be made clear.
Re:Kansas couple sues IP mapping firm for turning their life... by Dylan16807 on Friday August 12, 2016 @07:03AM (#12274617)
That's the current API. Devs ignore the accuracy number.
Re:Kansas couple sues IP mapping firm for turning their life... by rayiner on Friday August 12, 2016 @08:54AM (#12275171)
Return the three points that define the bounding circle.
Re:Kansas couple sues IP mapping firm for turning their life... by Dylan16807 on Friday August 12, 2016 @09:35AM (#12275475)
And then a layer deep in the app that's trying to simplify the world calls a function that calculates the center of that circle. Or averages the points, or returns just the first one, depending on laziness. The mapping world doesn't work in bounding circles, so it gets converted, and it probably gets converted in a way that loses important information.
Re:Kansas couple sues IP mapping firm for turning their life... by esmi on Friday August 12, 2016 @01:19PM (#12277253)
Or just a point and a radius (a.k.a. an accuracy number).
Re:Kansas couple sues IP mapping firm for turning their life... by rayiner on Friday August 12, 2016 @03:29PM (#12278153)
Three points on the edge is better because it forces the developer to actually think about what he's doing.