-
Notifications
You must be signed in to change notification settings - Fork 8
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
Suggestions from Fuhu's Team - Suggestion 3 - Some suggested zone query related endpoints #64
Comments
@geofizzydrink and SWG: do you see each of these requirements classes as equating to 3 independent building blocks which could be uniquely implemented, or would you bundle them together to a single query and retrieval block specific to a DGGS? I suppose the answer depends on whether some or all of the functionality can be brought over from other OGC APIs. |
Hi @ogcscotts, "zone retrieval"
"zone geometry"
"Zone Query"
With the emergence and maturity being developed in the "OGC API Building Blocks" concept it will be useful for our group to take a look at the core DGGS API endpoints and where it makes sense we should propose some of the key DGGS endpoints to be included as OGC API Building Blocks. |
@geofizzydrink makes sense. Probably worth looping @ghobona and @doublebyte1 into the conversation. |
@geofizzydrink @ogcscotts Throwing in my thoughts: 1. Zone Data Retrieval It is closer in many ways to OGC API - Tiles than EDR, but the main things that DGGS Zone Retrieval allows to do which cannot be done with any other OGC API is to retrieve data for DGGS whose cell geometry is not axis-aligned / not rectangular (like ISEA3H), which cannot be done with any of the other OGC APIs. If the DGGS is axis-aligned and cells are square (or rhombuses which can be skewed into rectangles), then a corresponding TileMatrixSet can be defined for it, and data for individual zones can be retrieved using OGC API - Tiles, and OGC API - Coverages with subset and downsampling for a selected resolution. It would also correspond to an EDR Cube Query, but at the moment EDR does not yet support downsampling, though it is being considered for an extension or revision I believe. Still, Zone Data Retrieval is an essential functionality of a DGGS (the What is here?) which is good to be implemented consistently regardless of the geometry / axis-alignment of the cells. 2. Zone Geometry I think we should make the distinction between "zone geometry" (retrieving the geometry of a cell) vs. "DE-9IM operations between zones". I still believe the usefulness of both of these things in a Web API is limited to educational/demonstration, because in a practical setting those operations do not cross the client-server boundary (the client and the server use a software library to perform these operations). However, the zone geometry fits nicely being included in the "Zone Information" resource, which I think we could define in OGC API - DGGS Core, possibly as a recommendation. For example, we already include zone geometry in our server if negotiating GeoJSON for a zone information resource: For the DE-9IM operation, if there is an interest in standardizing that, I think it should be done in a separate document. I re-iterate that there is limited use for this in a Web API, and it would be much, much more valuable to standardize this as an open-source DGGS abstraction software library API for DGGS instead (similar to how GDAL allows supporting any raster/vector format, interacting with this library would allow to implement DGGS support, including OGC API - DGGS data retrieval / Zone Query, in a DGGS-agnostic way by using this library). 3. Zone Query The purpose of this is an efficient "Where is it?" query that returns a response as compact zone listing, which is valuable for clients or server understanding a particular DGGS. It could be used as a way to reduce the number of Zone Data queries to retrieve the results of a computation (only making requests for those zone where there is data), or it could also be used to retrieve the actual results of the computation if the answer to the query is binary (zone area included or not in the response set). |
Fuhu's Team have been exploring the use and application and exposure of back-end DGGS zone query operations directly through the API.
The above diagram shows three (3) proposed conformance classes related to this
Zone Retrieval
Zone Geometry
Zone Query
The text was updated successfully, but these errors were encountered: