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

Bring Physical Dimensions into core Presentation 4 #2281

Open
tomcrane opened this issue Feb 1, 2024 · 0 comments
Open

Bring Physical Dimensions into core Presentation 4 #2281

tomcrane opened this issue Feb 1, 2024 · 0 comments

Comments

@tomcrane
Copy link
Contributor

tomcrane commented Feb 1, 2024

IIIF has an extremely powerful but little-used feature available as an external service:
https://iiif.io/api/annex/services/#physical-dimensions

While not widely implemented (usually through lack of data), it is very powerful when used, and is going to be much more important in 3D, where this kind of data usually is available for typical IIIF use cases.

The 3D work requires introducing a class to carry values with the units the values are expressed in. Another use of such a class could be the value of a physicalDimensions property, available on Canvas and Scene:

As the value of a physicalDimensions property on a Canvas, the following states that each integer unit of the canvas coordinate space represents 0.00025m

{ 
   "type": "Value", 
   "value": 0.00025,
   "unit": "m"
}

(NB we might think of better names for the class and its properties)

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

No branches or pull requests

1 participant