Friday, May 12, 2017

Extending Nomisma geoJSON for Temporal Data

The geoJSON output for queries for findspots and hoards associated with Nomisma.org concepts has been updated with the geoJSON-T extension, including closing or burial dates of hoards or individual finds, when known. Additionally, the properties following the geoJSON-T proposed model for gazetteer toponyms and URIs, e.g.:


{
      "type": "Feature",
      "label": "Meolo (Albaredo d'Adige) (Italy; ME2)",
      "id": "http://numismatics.org/chrr/id/ME2",
      "geometry": {
        "type": "Point",
        "coordinates": [
          11.27843,
          45.31859
        ]
      },
      "when": {
        "timespans": [
          {
            "start": "-0038",
            "end": "-0038"
          }
        ]
      },
      "properties": {
        "toponym": "Albaredo d'Adige (Italy)",
        "gazetteer_label": "Albaredo d'Adige (Italy)",
        "gazetteer_uri": "http://www.geonames.org/3183350/",
        "type": "hoard"
      }
    }


Furthermore, the getFindspots, getHoards, and heatmap APIs have been updated to accept a coinType request parameter instead of an id parameter in order to get relevant geographic data associated with coin type URIs, rather than associations with Nomisma-defined numismatic concepts. This is the first step in the eventual overhaul of the mapping features in Numishare coin type projects (like OCRE) to render geoJSON-T in Leaflet, finally retiring the TimeMap plugin that has not seen active development in at least four years.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.