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

About managing 180th meridian and poles crossing #7

Open
ThomasG77 opened this issue Apr 4, 2019 · 1 comment
Open

About managing 180th meridian and poles crossing #7

ThomasG77 opened this issue Apr 4, 2019 · 1 comment

Comments

@ThomasG77
Copy link

More a question than a real issue.

I'm playing with WFS 3.0 and your library and I'm not sure about this use case for the bbox.

In the compliance tests, I need to be able to manage when a polygon is crossing either 180th meridian or poles https://github.com/opengeospatial/ets-wfs30/blob/master/src/main/java/org/opengis/cite/wfs30/collections/GetFeaturesOperation.java#L123-L126
To deal with these cases, I'm wondering if I need to split my polygon crossing the meridian or the pole, get two polygons, run both tree.search(poly1) and tree.search(poly2), dedupe and merge in one GeoJSON or does Rbush and GeoJSON-RBush can manage it another way? Thanks for any input.

@Tmodurr
Copy link

Tmodurr commented Oct 24, 2019

@ThomasG77 did you ever get an answer for this?

I'm assuming you'll need to split based on experience

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