opengeospatial / ogcapi-discrete-global-grid-systems

https://ogcapi.ogc.org/dggs
Other
20 stars 8 forks source link

Validation Dataset for DE9IM functions in DGGS #37

Open rggibb opened 2 years ago

rggibb commented 2 years ago

Logically, one could just take any existing DE9IM validation dataset and import it into a DGGS and perform the equivalent tests. However DGGS provides the capability to specify the precison with which to do a test, and the results can be both precision and DGGS dependent. For example:

For the pair of shapes:

image

Logically we would expect square.overlaps(triangle) to return True

But if we import theses shapes into a DGGS at three different levels, we might get the following:

image

Further the nuances of the result are both DGGS architecture dependent (hexagons vs squares etc) and DGGS RS dependent even within the same architecture.

So how do we address this in order to get a robust test suite with consistent validation results for all DGGS RSs.