Yurik added a subscriber: Pnorman.
Yurik added a comment.

Duplicate of T175578?

Might be related, but the issue is not that its a different planet, the issue is that geof:distance does not normalize its values before calculation. So if the longitude is +239.91, which I think is Ok (cc @Pnorman), in theory geof:distance should first normalize it to -180..+180 range, and perform calculations afterwards.

Of course this can also be solved with the import sanitizer, but TBH I think geof:distance should be more versatile and handle every value.

BTW, I tried to figure out if Mars was using the same -180..180 convention, but there doesn't seem to be much info on that in the wiki. Bummer :(


TASK DETAIL
https://phabricator.wikimedia.org/T180314

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Yurik
Cc: Pnorman, Lucas_Werkmeister_WMDE, Smalyshev, Aklapper, Yurik, Lahi, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to