Skip to content

Add set level metadata to file structure and recommendations #43

Closed as duplicate

Description

@srappel

In specification 1.0.0, we have not made recommendations for set level metadata, but after discussions at Geo4LibCamp 2024 at University of Minnesota, it sounds like folks are interested in including it within the GeoJSON file.

Some cursory experimentation of the GeoJSON spec indicates that we should be able to add a "foreign member" to the FeatureCollection object directly.

BTAA has an example that includes the foreign member "name" within the FeatureCollection used for the title of the dataset.

{
"type": "FeatureCollection",
"name": "Mississippi GeoJSON",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
"..."

According to the GeoJSON spec, the FeatureCollection object must not have a properties member, but it can have arbitrarily named members.

A more complex example could contain a JSON object, such as some metadata fields:

{
  "type": "FeatureCollection",
  "metadata": {
    "title": "Cuba Military Maps",
    "publisher": "US Army"
  },
  "features": [
    {
      "type": "Feature",
      "id": "am023172",
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [
"..."

We should make recommendations for how to implement this and consider including it in the next iteration of the specification.

Activity

  1. srappel commented on May 28, 2024

    @srappel
    MemberAuthor

    To enhance interoperability with GeoBlacklight, we could consider adopting the OGM Aardvark metadata schema. By doing so, we can facilitate easy crosswalks.

    Metadata at the set level MAY adhere to the OGM Aardvark metadata schema. If this approach is taken, the metadata SHOULD be encapsulated in an "aardvark" object located at the root level of the GeoJSON.

    e.g.:

    {
      "type": "FeatureCollection",
      "aardvark": {
        "dct_title_s": "Cuba Military Maps",
        "dct_publisher_sm": ["US Army"],
    "..."
      },
      "features": [
        {
          "type": "Feature",
          "id": "am023172",
          "geometry": {
            "type": "MultiPolygon",
            "coordinates": [
    "..."
  2. srappel commented on Jul 21, 2025

    @srappel
    MemberAuthor

    Duplicates #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions