Page MenuHomePhabricator

Coord::bboxAround() works only on Earth
Closed, ResolvedPublic

Description

Math::wrapAround( $res->lon1, $res->lon2, -180, 180 );

Needs to take the globe into account.

Event Timeline

Gehel triaged this task as Low priority.May 6 2024, 3:37 PM
Gehel moved this task from needs triage to Geodata on the Discovery-Search board.

Change #1031548 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/GeoData@master] [WIP] Change Math::distance to accept Coord instances

https://gerrit.wikimedia.org/r/1031548

Change #1040728 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/GeoData@master] Fix Coord::bboxAround() not supporting non-Earth globes

https://gerrit.wikimedia.org/r/1040728

Change #1040728 merged by jenkins-bot:

[mediawiki/extensions/GeoData@master] Fix Coord::bboxAround() not supporting non-Earth globes

https://gerrit.wikimedia.org/r/1040728

Change #1031548 merged by jenkins-bot:

[mediawiki/extensions/GeoData@master] Fix distance/distanceTo to work with globes other than Earth

https://gerrit.wikimedia.org/r/1031548

TheDJ assigned this task to thiemowmde.

Change #1041047 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/GeoData@master] Make BoundingBox store Coords instead of individual values

https://gerrit.wikimedia.org/r/1041047

Change #1041047 merged by jenkins-bot:

[mediawiki/extensions/GeoData@master] Make BoundingBox store Coords instead of individual values

https://gerrit.wikimedia.org/r/1041047

Change #1076994 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/GeoData@master] Remove Globe class defaulting to Earth

https://gerrit.wikimedia.org/r/1076994

Change #1076994 merged by jenkins-bot:

[mediawiki/extensions/GeoData@master] Remove Globe class defaulting to Earth

https://gerrit.wikimedia.org/r/1076994

Change #1114786 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/GeoData@master] Move misplaced bboxAround function into BoundingBox class

https://gerrit.wikimedia.org/r/1114786

Change #1114787 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/GeoData@master] [WIP] Accept Globe objects in more places

https://gerrit.wikimedia.org/r/1114787

Change #1114786 merged by jenkins-bot:

[mediawiki/extensions/GeoData@master] Move misplaced bboxAround function into BoundingBox class

https://gerrit.wikimedia.org/r/1114786

Change #1114787 merged by jenkins-bot:

[mediawiki/extensions/GeoData@master] Accept Globes as objects in many more places

https://gerrit.wikimedia.org/r/1114787

Change #1247017 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/GeoData@master] Various code cleanups and modernizations

https://gerrit.wikimedia.org/r/1247017

Change #1251307 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/GeoData@master] Allow the Moon as alternative globe in all APIs

https://gerrit.wikimedia.org/r/1251307

Change #1247017 merged by jenkins-bot:

[mediawiki/extensions/GeoData@master] Various code cleanups and modernizations

https://gerrit.wikimedia.org/r/1247017

Change #1251307 merged by jenkins-bot:

[mediawiki/extensions/GeoData@master] Allow the Moon as alternative globe in all APIs

https://gerrit.wikimedia.org/r/1251307

Change #1252072 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/GeoData@master] Add Mars and Venus as allowed globes

https://gerrit.wikimedia.org/r/1252072

thiemowmde claimed this task.

Change #1252072 merged by jenkins-bot:

[mediawiki/extensions/GeoData@master] Add Mars and Venus as allowed globes

https://gerrit.wikimedia.org/r/1252072