Tuesday, June 4, 2019

It's Time We Had A Little Talk...About Metadata

I know this is going to make people uncomfortable, but it is time to talk about this. People want to put metadata in GeoPackage. It is just a fact of life. We need to be ready and that is why we are having this discussion. 

While GeoPackage has had support for metadata since its inception, I acknowledge that there is something missing. There is currently no agreement on how metadata should be used in GeoPackage to serve any particular purpose. Someone opening a GeoPackage would have no way of recognizing that the file has any particular type of metadata in it, short of inspecting every single row in the gpkg_metadata table. No way.

I propose that we address this gap by introducing "metadata profiles" to GeoPackage. A metadata profile is an agreement on what a metadata document will look like and how it will be used in the GeoPackage. I propose to leverage the extension mechanism to express this information. This approach has two parts:

  1. Introduce a new extension that defines a new extension "scope" (i.e., the gpkg_extensions.scope column) of "metadata"
  2. Create an extension for each metadata profile:
    • using this new "metadata" extension scope
    • defining the metadata scope, standard/specification, and MIME type that uniquely identify it
    • defining the reference scope ("geopackage", "table", "row", or "row/col") that it will be used for 
As part of OGC's Testbed-15, I intend to explore this concept further. Here are some profiles that we are considering:
I will explore these further in subsequent blog posts.

No comments:

Post a Comment