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
Feature request: 'params' query for feature filtering #59
Comments
Fixed in #61 |
I would expect the 'params' query usage to be more user friendly than the query syntax as implemented in PR #61 For example:
Behind the scene, it will then produce the query string |
Below are motivation points for implementation of PR #61
The main motivation is to not change the interface and not nested structure for inputs. |
Well I dont particularly like the idea that the user need to put in the prefix "p." and the suffix "=gt" to the property name. Also they are likely to add the suffix "=gt=" (as per XYZ documentation) instead of "=gt". I find it quite confusing to read Maybe passing the query string directly could be an option |
Please implement the functionality to filter feature based in the Python client. A feature filter contains 3 components: property name, value and operator. The current implementation is not sufficient when one want to filter feature using an operator other than equal '='
Feature filtering is realized in XYZ API via 'params' query for several endpoint, for example for tile request https://xyz.api.here.com/hub/static/swagger/#/Read%20Features/getFeaturesByTile
Query Syntax
?p.property_name_1=value_1,value_2
Supported operators
Thank you
The text was updated successfully, but these errors were encountered: