-
Notifications
You must be signed in to change notification settings - Fork 32
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
Datahub: handle filter geometry error #700
Conversation
Affected libs:
|
@jahow could you check this one too ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments on how to handle the invalid geom case, thanks!
in order to valide geojson, for instance when used in ES search payload
ATM if the geometry is not valid, the search crashes as it's passer the ES query. This ensure the geometry is valid, and use null if not
while previous code was warning even if the geometry service returns an error
7636904
to
650eab0
Compare
#694
The validation can
Both cases are supported.
This ensure the search runs even with a wrong geometry filter.
I'll provide test if you approve the approach.