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

Elasticsearch and Antarctica #54

Closed
DaveCTurner opened this issue Dec 20, 2017 · 1 comment
Closed

Elasticsearch and Antarctica #54

DaveCTurner opened this issue Dec 20, 2017 · 1 comment

Comments

@DaveCTurner
Copy link

I was recently looking into issue #3 from the Elasticsearch side, along with the related issues elastic/elasticsearch#27832 and elastic/elasticsearch#17407.

elastic/elasticsearch#17407 (comment) also applies to your issue, as does the fix (setting "orientation": "clockwise" in the mapping).

However, it seems that you managed to simplify your Antarctica outline to one that Elasticsearch does accept in #39, even though it still looks to be oriented clockwise. It's possible that the shape that Elasticsearch has indexed is not the shape you asked for, because of the code linked in elastic/elasticsearch#27832 (comment).

I'd recommend fixing the mapping, or reversing the orientation of the Antarctica outline to make it anticlockwise as per the GeoJSON spec, to make sure that Elasticsearch indexes it correctly. If you do so, it looks like you can revert #39 and use the original higher-precision outline (suitably reversed). Meanwhile we're looking at this leniency in more detail in elastic/elasticsearch#27832.

@DaveCTurner
Copy link
Author

It's possible that the shape that Elasticsearch has indexed is not the shape you asked for

This is wrong: Elasticsearch does index your Antarctica outline correctly after all. Sorry if I caused undue alarm.

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