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

inspire geometry fields lead to 0 results in opensearch from chrome #4218

Closed
pvgenuchten opened this issue Nov 26, 2019 · 1 comment · May be fixed by #6118
Closed

inspire geometry fields lead to 0 results in opensearch from chrome #4218

pvgenuchten opened this issue Nov 26, 2019 · 1 comment · May be fixed by #6118

Comments

@pvgenuchten
Copy link

this article describes how chrome facilites an opensearch use case, type the url, hit tab, type a term and hit enter. if chrome detects that this website has an opensearch interface, it will delegate the search to the opensearch mechanism of the website.

for geonetwork typing a url, tab and term works fine in chrome, however when hitting enter it will run a query including 2 spatial filters always returning 0 results

image

These filters are advertised in opensearch configuration, and may be suggested by the inspire opensearch recommendations...

image

@pvgenuchten
Copy link
Author

suggestion is to detect in angular-app and/or q service if geometry and box filter have valid geometry, else skip them as a filter

josegar74 added a commit to GeoCat/core-geonetwork that referenced this issue Feb 16, 2021
josegar74 added a commit to GeoCat/core-geonetwork that referenced this issue Feb 16, 2021
josegar74 added a commit that referenced this issue Apr 1, 2021
…4218 (#5434)

* INSPIRE geometry fields lead to 0 results in opensearch. Fixes #4218

* Use regular expression to identify opensearch template fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant