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

accommodate relative coordinates in page and content item schemas #21

Open
mromanello opened this issue Nov 14, 2019 · 0 comments
Open

Comments

@mromanello
Copy link
Member

problem

  • our schemas currently assume that coordinates are always absolute (integers), expressed in terms of pixels;
  • however, we now have one use case for relative coordinates, expressed as percentages (in IIIF .../pct:41.6,7.5,40,70/full/...)

proposed solution

  • add a c_type field to page (a.k.a canonical) and content item (a.k.a. rebuilt) schemas
  • accepted values for c_type: pixel or pct

What do you think? (ping @simon-clematide)

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

No branches or pull requests

1 participant