glenrobson / SimpleAnnotationServer

A simple IIIF and Mirador compatible Annotation Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whole canvas annotation?

illtud opened this issue · comments

Hi Glen,
Playing around with this, it seems to require an xywh region for the annotation. We have transcriptions which haven't been tied to any region of the page, can we do a whole canvas annotation without getting the xywh for the image and creating a whole canvas region?

Hey Illtud,

You are correct that currently the annotations require a xywh. If the annotation targets the canvas the correct way to do it is as you say to target just the canvas URI without the xywh but I haven't tested it to see if SAS would accept it. I can have a look to see if it will. How were you thinking of displaying these annotations? I can't find any information on whether Mirador can create or display annotations target at the canvas.

Cheers

Glen

Ah, SAS bombs out if there's no #xywh on the end of the target - it fails to parse the string as it splits it on # and tries to do something with the second part. We're using UV, not Mirador, so I don't think it will deal with it out of the box, but we'll see what we can do!

Thanks Illtud, Ill keep this issue open and if I get a chance Ill add the functionality to support whole canvas annotations.