IIIF / iiif-stories

Community repository for documenting stories and use cases related to uses of the International Image Interoperability Framework.
21 stars 0 forks source link

I want to link a IIIF resource to a point on a map #135

Open glenrobson opened 4 years ago

glenrobson commented 4 years ago

Description

I want to link a IIIF resource to a point on a map. This might be a photograph to a place it was taken or a pamphlet related to a Hotel.

Variation(s)

(do you know of, or can you imagine, similar use cases?)

Proposed Solutions

(any ideas about how your use case might be supported)

Additional Background

(more about your perspective, existing work, etc. goes here.)

glenrobson commented 4 years ago

We seemed to miss this basic use case in the Stanford meeting but here is an example implementation from UCD:

Manifest: https://data.ucd.ie/api/img/manifests/ucdlib:46937 Object description page: https://digital.ucd.ie/view/ucdlib:46937

and Service implementation:

"service": [{
    "@context": "http://geojson.org/geojson-context.jsonld",
    "@id": "https://data.ucd.ie/api/geo/v1/dl/geoFilter=bbox(-9.8582479,53.8633133,-9.4400571, 54.0405075)&format=geojson",
    "geometry": {
        "coordinates": [
            [
                -9.8582479,
                53.8633133
            ],
            [
                -9.4400571,
                54.0405075
            ]
        ],
        "type": "Polygon"
    },
    "label": "Bounding box coordinates",
    "profile": "http://geojson.org/geojson-spec.html",
    "properties": {
        "name": "Collins' scribbling diary for 1909",
        "type": "dcterms:Box"
    },
    "type": "Feature"
}]
rsimon commented 4 years ago

I think we have a similar use case in Recogito. We attach bounding boxes to the metadata of every document that includes place references. For an image, the bounding box would be the bounds of all geocoded transcriptions/control points.

Recogito does not yet serve manifests for the images, however. The only place the bbox info surfaces is in the schema.org JSON-LD metadata of the HTML page that serves as the image view. We do this mostly so that Google's dataset search can pick it up.

For reference/comparison: this is the schema.org JSON-LD way of representing this:

{
  "@context" : "http://schema.org",
  "@type" : "Dataset",
  "name" : "Annotations: Abraham Ortelius, Islandia",
  ...
  "spatialCoverage" : {
    "@type" : "Place",
    "geo" : {
      "@type" : "GeoShape",
      "box" : "64.00491996668279 -22.729770010337234 65.075369970873 -18.579909531399608"
    }
  }
}
thehabes commented 4 years ago

See https://github.com/IIIF/api/issues/1246 for some discussion.