Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[Core] Add tests for bounding boxes that cross the antimeridian #13087

Closed
wants to merge 2 commits into from

Conversation

ryanhamley
Copy link
Contributor

The behavior of bounding boxes that cross the antimeridian doesn't seem well-defined or well-coordinated across all our platforms. The vagueness is the source of several bugs and significant confusion. These tests should help define consistent behavior that will make reasoning about the problem easier while avoiding introducing new bugs.

cc @ansis

@stale
Copy link

stale bot commented Dec 11, 2018

This pull request has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this Dec 11, 2018
@LukasPaczos
Copy link
Contributor

Would you still like to merge these tests @ryanhamley @ansis?

@stale stale bot removed the archived Archived because of inactivity label Dec 11, 2018
@stale stale bot added the archived Archived because of inactivity label Feb 9, 2019
@stale
Copy link

stale bot commented Feb 9, 2019

This pull request has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@stale stale bot closed this Feb 9, 2019
@friedbunny friedbunny reopened this Feb 11, 2019
@stale stale bot removed the archived Archived because of inactivity label Feb 11, 2019
@brunoabinader
Copy link
Member

@ryanhamley FWIW we've recently fixed a couple of edge cases wrt bounds crossing the antimeridian here: #13958. That PR also included a bunch of following unit tests, which may overlap with the proposed ones here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants