Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BoundingBox behavior around 180th merdian #7

Open
niklas88 opened this issue Nov 14, 2015 · 1 comment
Open

BoundingBox behavior around 180th merdian #7

niklas88 opened this issue Nov 14, 2015 · 1 comment

Comments

@niklas88
Copy link
Contributor

The BoundingBox should probably behave like this around the 180th meridian. Instead once the right border goes across 180° the left border also jumps to -180°. Moving further eastwards the BoundingBox expands again. I'm also a bit confused about the min/max format here, this wiki makes it sound like storing left, right, top and bottom is the same but around the 180th merdian the right might be smaller than the left.

@invor
Copy link
Owner

invor commented Nov 30, 2015

I didn't really have time to look at this in the last two weeks. This actually a known issure (to me at least). As for the min/max format, I would suggest to have the right border coordinate to be smaller than the left one in this special case to distinguish it from a bounding box that wraps around nearly the complete globe from e.g. -178° to +178°.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants