Giter Club home page Giter Club logo

Comments (2)

cbeer avatar cbeer commented on June 21, 2024

Thanks for the report, and the test case object. I had a look at the IIIF spec and I feel like there's some ambiguity about whether a canvases annotations can target other canvases:

The motivation of the Annotations must not be painting, and the target of the Annotations must include this resource or part of it.
https://iiif.io/api/presentation/3.0/#annotations

but later on, this seems reduced to a SHOULD (perhaps allowing canvas annotations to target contained content resources?):

All of the Annotations in the Annotation Page should have the Canvas as their target
https://iiif.io/api/presentation/3.0/#55-annotation-page

--

I think we also need some clarification about how to handle canvas annotations that target other canvases. Do we simply filter them out (because they are given in error, I guess?), or does mirador need to aggregate all the annotations in a IIIF presentation manifest (whether specified in the hierarchy for this canvas or elsewhere) to collect matching manifest, or some other behavior?

Can you share any real-world manifests with this behavior to help determine the appropriate user experience?

from mirador.

jptmoore avatar jptmoore commented on June 21, 2024

Hi.

I think it makes sense that if you are applying annotations to a particular canvas those annotations would have the same target. What I am not sure how to handle is when the annotation page is retrieved from an annotation server where the annotations belong to a container that is not specific to a canvas. It is at another level of abstraction. For example, a container of cats containing multiple annotations with different targets like this: https://miiify.rocks/annotations/cats
This would require filtering on the target to avoid showing all annotations about cats on a single canvas. I wonder if there is another way to handle this in the manifest?

from mirador.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.