Skip to content

Behaviour on bbox queries for providers that do not support them #2000

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

Open
doublebyte1 opened this issue Apr 23, 2025 · 0 comments
Open

Behaviour on bbox queries for providers that do not support them #2000

doublebyte1 opened this issue Apr 23, 2025 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@doublebyte1
Copy link
Contributor

This issue is just to flag the fact that bbox queries issued against providers that do not support them, simply ignore the bbox parameter.

For example, in the case of the GeoJSON provider:

# TODO filter by bbox without resorting to third-party libs
data = self._load(skip_geometry=skip_geometry, properties=properties,
select_properties=select_properties)

Would it be more appropriated to throw a warning to the user, stating that the bbox filter is not implemented?

I am not sure if there is a rule on how to deal with this, or if this change would be consistent with the pygeoapi behaviour in other occasions, but I would love to hear more thoughts about this.

@doublebyte1 doublebyte1 added enhancement New feature or request question Further information is requested labels Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant