-
Notifications
You must be signed in to change notification settings - Fork 81
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
[SDW Best Practices Update]: Discuss Tiling in the BP #1288
Comments
ISO/TC 211's "tiling people" (well, the convenor of the imagery/EO group) could provide something but not for a few months (i.e. beyond April 2023) - perhaps an update after this next release? |
I would appreciate getting a text on this. We could surely fit that in a minor update after an official release, so highly appreciated if the people could provide something beyond April 2023 |
Natural Resources Canada / Graham Wilkes (convenor of ISO/TC 211 WG6 which covers quite a lot of tiling) are working on a 'best practice on geospatial tiling' document with the intention that it is available (licenced) to W3C to include in the SDW BP. I expect it to cover conceptual tiling (2D, 3D, cartesian & projected); the use of tiles for analysis & delivery; vector & raster tiling; OGC API Tiles; and related considerations around CRSs, accessibility, the relation to coverages. |
Canada's proposed report on best practices in tiling would contain:
If there's anything else / different we would like to see included, then we should let them know before the end of April 2023, when work will start in earnest. It sounds as if it will provide a sizeable section to attach in some way to the SDW BP. |
@PeterParslow @situx @Iza82 The OGC EDR API SWG started to explore access to data tiles ( |
Conceptually tiling is independent of encoding format, but formats may have canonical support for tiling. The BP should be format agnostic, not using a closed list, but have examples and references to known implementations. |
@chris-little : I am happy to suggest OGC API EDR is added at "the OGC API family of standards (Tiles, Maps, Coverages, 3D GeoVolumes)" I'm not sure what the W3C BP should say about the OGC / community differences between CoverageJSON (as per API EDR) and CIS JSON (as per API Coverages / the OGC Coverages SWG). From conversations overheard (as it were) it doesn't seem that there is an OGC best practice on encoding coverages in JSON. That could perhaps be said in the W3C BP? It isn't the only place where OGC is happy to have two "competing" / overlapping standards. |
@PeterParslow I think that the key differences between the CoverageJSON and CIS JSON standard encodings are in the use cases. CoverageJSON is specifically for small, relatively lightweight, generic clients, such as a browser or Leaflet, and is agnostic about its server. CIS JSON seems to require more GIS specific clients and servers. |
An update: the paper that Natural Resources Canada sponsored is now ready for reuse. It was written largely by Jérôme St-Louis (@jerstlouis), with input from Peter Rushforth (@prushforth) and Graham Wilkes (@wilkesg) @situx / @lvdbrink : I think you'll need to invite Jérôme and Graham to the group |
@PeterParslow, thanks for the update. I believe I do not have sufficient rights to invite anyone, so maybe @lvdbrink can do it. From my point of view, I would think it is good to have it as an external reference. At first thought, putting the paper as a whole into the annex might be too much. Then again, I have not read it yet, so maybe it will change my mind if I do. Is it already accessible somewhere? |
I was hoping Graham would upload it (my tagging of him & the others appears to have worked). Here it is. |
@PeterParslow My apologies for the tardiness on posting! Yes, thank you Peter for sharing. We encourage use of this document for the tiling best practices as it was designed to be used for this. Noting that we request any text please be attributed to Natural Resources Canada. Jerome St-Louis was the lead author on putting together this text, with support from Aliyan Haq and Peter Rushforth of Natural Resources Canada. We share it under our open data licence, https://open.canada.ca/en/open-government-licence-canada Cheers, Graham |
Some or all of you may know Jerome, but a link to his linkedin profile if you like to connect, https://www.linkedin.com/in/jeromestlouis/?originalSubdomain=ca |
This looks quite comprehensive. Looking through the document, it may very well become its own chapter in the Best Practice document. You are right; some parts could be left out or shortened (maybe the history part), but it would fit very well as its own chapter in the current document. @wilkesg @jerstlouis @PeterParslow did I understand you correctly in that you would like to issue a pull request to include that text into the Best Practices, or would that be something we would need to work on as editors? |
I think that first we should agree (using this thread?) what to extract as the "best practices", then see how the document might need to be restructured to be a section in the SDWBP - both those before we could create a pull request. |
@situx @PeterParslow About the 2DTMS history part, despite the title, the intent of this section really was to discuss the long-standing use of 2DTMS in GeoPackages (for storage / offline exchange) and WMTS, both of which are still widely used today, and at the same time to attribute where these 2DTMSs come from -- the 2DTMS standard didn't just appear out of nowhere in 2019. Leaving out the section completely would miss out a lot of important information, so perhaps we could rewrite it so that it looks less like a history (starting with the title, we can go back to the original proposed "Use of TileMatrixSets in OGC WMTS and OGC GeoPackage"), if that is problematic. In the document I tried to highlight some of the Best Practices with a bold "Best Practice". Use of any of the OGC / ISO standards reference is a "Best Practice" in any context where they are applicable, but where this is not already identified as such, clarifying that context might require a bit more text. As I mentioned by e-mail to @wilkesg and @PeterParslow, I am happy to keep working with you all to better adapt the content to the SDWBP purpose. |
From my point of view, we would need to explain briefly what tiling is and where it came from both 2D and 3D. That would be one section for me. Next, we would need to create sections that explain the aspects of the work that we would need to summarize as best practice statements, e.g. "Provide 2D Tiling Services for sharing map data using XXX Standards" and then categorize these in the categories present in the Best Practice document. These would likely be Access, Reuse, Interoperability and possibly Discovery. I think that could be a way forward. |
From the document, I took some time to try and answer these questions.
|
Wow, this is quite a list! Reading this, my first thought is: wouldn't this be better as its own best practice document? Are there specific reasons/arguments for including this in the SDWBP? Should it be in a joint W3C/OGC publication or is it allright if it's just OGC? Noting that the Spatial data on the Web working group may not exist in a few months time... |
I would say we should at least have a section about Tiling in the SDWBP, since tiling is essential for hosting geodata. To what extent the information contained in the linked paper should be incorporated, that is up for discussion here I suppose. |
My personal feeling is that we should have a section on Tiling but keep it limited to roughly the same size as the other individual best practices in the document. Otherwise, the document would start leaning significantly in the direction of tiling / data visualization, whereas the intent is (or at least was, when we wrote the first version) to have a focus on data sharing - on the data itself, not on 'pictures' of maps. I'm not trying to diminish the importance of this topic, but it should not change the focus of the document as a whole IMHO. |
Agree regarding the relative size of sections. But, Linda, remember tiling is for data, not just for maps. |
For feature data: While it is true that in principle tiling can be used to spatially organize feature data, the content of the tiles in most tilesets (that I am aware of) in the common formats Mapbox Vector Tiles, 3D Tiles or i3s is optimized for client-side visualization at the level of the tile in the tiling scheme, not for analytics. The "Best Practice" should focus on how tiling is used in practice, not how it could be used. |
Though the "Best Practice" may not be the majority practice. |
In my view, the main goal and advantage of OGC API - Tiles over WMTS, and the reason we developed the Tileset Metadata in 2DTMS 2.0, is the ability to share data tiles for purposes other than visualization and for client-side visualization / styling / queries (no need for server round-trip "GetMapInfo"). This applies to any type of data, whether that is coverage tile, vector tiles, 3D mesh tiles, or point cloud tiles. Even with the commonly distributed Mapbox Vector Tiles tilesets, at least the most detailed tiled zoom level should be suitable for purposes other than visualization. The MVT spec states its purpose as:
|
A thought: if "we" want to publish the whole paper somewhere and then reference it from the SDWBP, perhaps with an extra "best practice on tiling" (some detail, reference out to the document for more).... then we could host it at ISO/TC 211. As mentioned earlier, I suspect it could also be hosted at OGC. |
Add something on Tile concept (noting the work in OGC to standardize the conceptual model and the tiles API), perhaps a BP - needs further discussion in the group. We only touched on this.
The text was updated successfully, but these errors were encountered: