I spent a while today trying to figure out why the app's Nearby didn't seem to be very accurately determining the angle between the device and the article's geo coords.
Angles seemed to be off by strange amounts depending on how close I was to an article's supposed location.
I believe I found the problem. Run the query below and you'll see the result for Wikimedia Foundation:
https://en.m.wikipedia.org/w/api.php?action=query&colimit=1&format=j...
The API result says the foundation's coordinates are: 37.787, -122.4
But if you look at the article on desktop it says the Foundation's coordinate are: 37.78*697*, -122.*399677*
You can see what's happening.
Can we make the API not degrade the coordinates? Super quick fix? (Or is there some extra parameter I should be using?)
Max, is there a bug/story card to track our work on this?
--tomasz
On Sun, Dec 14, 2014 at 4:33 PM, Monte Hurd mhurd@wikimedia.org wrote:
I spent a while today trying to figure out why the app's Nearby didn't seem to be very accurately determining the angle between the device and the article's geo coords.
Angles seemed to be off by strange amounts depending on how close I was to an article's supposed location.
I believe I found the problem. Run the query below and you'll see the result for Wikimedia Foundation:
https://en.m.wikipedia.org/w/api.php?action=query&colimit=1&format=j...
The API result says the foundation's coordinates are: 37.787, -122.4
But if you look at the article on desktop it says the Foundation's coordinate are: 37.78697, -122.399677
You can see what's happening.
Can we make the API not degrade the coordinates? Super quick fix? (Or is there some extra parameter I should be using?)
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
Investigating this ATM...
On Tue, Dec 16, 2014 at 12:52 PM, Tomasz Finc tfinc@wikimedia.org wrote:
Max, is there a bug/story card to track our work on this?
--tomasz
On Sun, Dec 14, 2014 at 4:33 PM, Monte Hurd mhurd@wikimedia.org wrote:
I spent a while today trying to figure out why the app's Nearby didn't
seem
to be very accurately determining the angle between the device and the article's geo coords.
Angles seemed to be off by strange amounts depending on how close I was
to
an article's supposed location.
I believe I found the problem. Run the query below and you'll see the
result
for Wikimedia Foundation:
https://en.m.wikipedia.org/w/api.php?action=query&colimit=1&format=j...
The API result says the foundation's coordinates are: 37.787, -122.4
But if you look at the article on desktop it says the Foundation's coordinate are: 37.78697, -122.399677
You can see what's happening.
Can we make the API not degrade the coordinates? Super quick fix? (Or is there some extra parameter I should be using?)
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
https://phabricator.wikimedia.org/T78715
On Tue, Dec 16, 2014 at 12:56 PM, Max Semenik msemenik@wikimedia.org wrote:
Investigating this ATM...
On Tue, Dec 16, 2014 at 12:52 PM, Tomasz Finc tfinc@wikimedia.org wrote:
Max, is there a bug/story card to track our work on this?
--tomasz
On Sun, Dec 14, 2014 at 4:33 PM, Monte Hurd mhurd@wikimedia.org wrote:
I spent a while today trying to figure out why the app's Nearby didn't
seem
to be very accurately determining the angle between the device and the article's geo coords.
Angles seemed to be off by strange amounts depending on how close I was
to
an article's supposed location.
I believe I found the problem. Run the query below and you'll see the
result
for Wikimedia Foundation:
https://en.m.wikipedia.org/w/api.php?action=query&colimit=1&format=j...
The API result says the foundation's coordinates are: 37.787, -122.4
But if you look at the article on desktop it says the Foundation's coordinate are: 37.78697, -122.399677
You can see what's happening.
Can we make the API not degrade the coordinates? Super quick fix? (Or is there some extra parameter I should be using?)
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l