ZGIS / semantique

Semantic Querying in Earth Observation Data Cubes
https://zgis.github.io/semantique/
Apache License 2.0
16 stars 6 forks source link

Compare size of spatial extent with spatial resolution #14

Open luukvdmeer opened 2 years ago

luukvdmeer commented 2 years ago

Description

It is possible that a user provides a spatial extent that is smaller than the size of a single pixel (defined by the spatial resolution). This should throw an error. Probably the query parsing phase is the best place to implement this check.

Additional context

We would need to determine if the estimation of being too small is based on area, shape, a combination, or something else (e.g. bbox).