This recommendation is for referring to segments within a File using the following selectors appended to URIs.  SoaF Use Cases outline most significant formats for Samvera/Fedora applications. Use cases are listed below with reference to the fragment selector spec, when available, and examples. Open Annotation Fragment Selectors covers many but not all formats to refer to segments.
 

Time-based media [spatial or temporal]

 

Fragment selector specExample

http://www.w3.org/TR/media-frags/

xywh=50,50,640,480
t=30,60

 

XML-encoded texts

Fragment selector specExample

https://www.w3.org/TR/xptr-xpointer/

xpointer(/a/b/c)

 

PDF

Fragment selector specExample
http://tools.ietf.org/rfc/rfc3778

page=10
viewrect=50,50,640,480
nameddest=footnote3

 

Image

SVG

Fragment selector spec - 4 points (rectangular)Example

http://www.w3.org/TR/SVG/

svgView(viewBox(50,50,640,480))


Fragment selector spec - more or less than 4 points (non-rectangular)

Example
  • Undecided - Maybe pass SVG segment XML as data URI
  • Follow what GeoBlacklight uses for calling up non-rectangular segments of SVG
<svg height="100" width="100">
<circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" />
</svg>


Other image formats

Fragment selector specExample
http://iiif.io/api/image/2.0/#image-request-parameters

size=150,
region=125,15,120,140