Metadata Extension¶
This extension provides a means to store metadata in a GeoPackage and to relate it to content already in the GeoPackage.
gpkg_extensions¶
To use this extension, add the following rows to this table as described in Table 1.
|
|
|
|
|
|
NULL |
|
read-write |
|
|
NULL |
|
read-write |
gpkg_metadata¶
Add a row to this table for each metadata document as described in Table 2.
gpkg_metadata_reference¶
Add a row to this table for each GeoPackage, table, column, row, or row/column that has a metadata document as described in Table 3. Multiple rows can refer to a single gpkg_metadata
entry. It is also possible for an element (geopackage, table, column, row, or row/column) to have multiple metadata documents.
Column |
Value |
|
one of “geopackage”, “table”, “column”, “row”, or “row/col” |
|
_user-defined table name_ (or NULL for whole GeoPackage) |
|
for |
|
for |
|
timestamp value in ISO 8601 format |
|
Foreign key to |
|
Foreign key to the parent metadata document (if applicable, NULL otherwise) |