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

-b / --bboxes doesn't handle crossing the antimeridian well #4

Closed
mfogel opened this issue Mar 10, 2018 · 0 comments
Closed

-b / --bboxes doesn't handle crossing the antimeridian well #4

mfogel opened this issue Mar 10, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mfogel
Copy link
Owner

mfogel commented Mar 10, 2018

When the -b / --bboxes option is used, the bounding box calculated for the subject doesn't handle shapes that cross the antimeridian well. Instead of forming a small bounding box that crosses the antimeridian, it forms one that wraps around the other side of the globe in one big band.

This geojson spec describes the preferred way to handle this situation. The bounding box should not be considered to be [minX, minY, maxX, maxY], but rather [W, S, E, N] limits of the shape.

@mfogel mfogel added the bug Something isn't working label Mar 10, 2018
@mfogel mfogel self-assigned this Mar 10, 2018
@mfogel mfogel closed this as completed in cbdeeef Mar 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant