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

Indexing features at and beyond the antimeridian #87

Closed
sgillies opened this issue Oct 15, 2014 · 1 comment
Closed

Indexing features at and beyond the antimeridian #87

sgillies opened this issue Oct 15, 2014 · 1 comment

Comments

@sgillies
Copy link
Contributor

Follow up on #61. Mapbox.com allows the creation and upload of features that extend W of 180dW and E of 180dE. How are these indexed?

There's definitely a search issue raised: given a bbox like 170, 5, 175, 10 should we expect to find the point [-187.5, 7.5]? Likewise, given a bbox like -190, 5, -185, 10 should we expect to find the point [187.5, 7.5]?

Should carboard normalize input features or do more splitting of its queries across the antimeridian?

@sgillies
Copy link
Contributor Author

Conclusion: after double checking tilebelt's math (see end of https://github.com/mapbox/hey/issues/2977), I'm certain that features that go beyond the antimeridian into the shadowy "other worlds" can be found when searching the "real world." No need to fix features.

However, we do need to split search boxes at the antimeridian if we want to efficiently search for small features near it.

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

1 participant