Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
glenrobson opened this issue Feb 10, 2020 · 3 comments
Open

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

glenrobson opened this issue Feb 10, 2020 · 3 comments
Labels

Comments

@glenrobson
Copy link
Member

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
Copy link
Member Author

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
Copy link

rsimon commented Mar 3, 2020

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
Copy link

See IIIF/api#1246 for some discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants