mySobek Home   |   Help
Skip Navigation Links.
MISSING BANNER

SobekCM METS Files: Structure Maps

Overview

The last mandatory section is the structural map, which is wrapped in a structMap tag. This outlines the hierarchical structure of a digital resource and references the files included in the previous section. This section is used to build the table of contents for the resource.

At least one structure map section must exist and it must contain at least one division. So, even if the details of the structure do not exist, the following structure map must be included:

<METS:structMap ID="STRUCT1" > <METS:div /> </METS:structMap>

SobekCM Rules

The SobekCM METS file current accomodates up to two different structure maps. If there are page images associated with the digital resource, the page image structure map should have a TYPE attribute of 'physical'. If there are non-page images associated with the digital resource, the structure map for those files should have a TYPE attribute of 'other'.

Additional details on the two possible structure maps below:

  1. Page Images ( to drive the page views )
    • JPEG, JPEG2000, TIFF, GIF, TEXT, PRO, and ALTO files are organized into pages in a page-view structure map according to the filename. For example, �00001.jpg� , �00001.jp2�, �00001.txt� files will all be placed together in the same page.
    • Thumbnails for individual page images may exist and should end �thm.jpg�. So, a file named �00001thm.jpg� would be a thumbnail for the page of files named �00001.*�
    • This structure map currently drives the main Table of Contents view accessible in a SobekCM-library on the left side of the screen.
  2. Resource files ( all other files types )
    • This represents other content, such as a structure map of PDFs and/or sound files, etc..
    • These files currently appear online under a DOWNLOADS tab, although if a single PDF exists it will appear under a PDF Viewer tab currently.

We are currently in discussion to change this somewhat and allow for more structure maps and to have an option to display the resource files structure map as the main Table of Contents accessible in on the left side of the screen. That would allow a PDF structure map to appear in the left nav bar during the item view.

All files should be contained within page divisions which can be contained within a deep structure of divisions.

Example

Below is an example book with five pages, each with a variety of page types, and several downloads as well:

<METS:structMap ID="STRUCT1" TYPE="physical">
    <METS:div DMDID="DMD1 DMD2" LABEL="Now I know my A-B-Cs" ORDER="0" TYPE="main">
        <METS:div ID="PDIV1" ORDER="1" TYPE="Front Cover">
            <METS:div ID="PAGE1" LABEL="Front Cover" ORDER="1" TYPE="Page">
                <METS:fptr FILEID="TXT1" />
                <METS:fptr FILEID="JP21" />
                <METS:fptr FILEID="JPEG1" />
                <METS:fptr FILEID="THUMB1" />
            </METS:div>
        </METS:div>
        <METS:div ID="PDIV2" ORDER="2" TYPE="Front Matter">
            <METS:div ID="PAGE2" LABEL="Front Matter" ORDER="1" TYPE="Page">
                <METS:fptr FILEID="JP22" />
                <METS:fptr FILEID="TXT2" />
                <METS:fptr FILEID="JPEG2" />
                <METS:fptr FILEID="THUMB2" />
            </METS:div>
        </METS:div>
        <METS:div ID="PDIV3" ORDER="3" TYPE="Table of Contents">
            <METS:div ID="PAGE3" LABEL="Page 1" ORDER="1" TYPE="Page">
                <METS:fptr FILEID="JP23" />
                <METS:fptr FILEID="TXT3" />
                <METS:fptr FILEID="JPEG3" />
                <METS:fptr FILEID="THUMB3" />
            </METS:div>
        </METS:div>
        <METS:div ID="PDIV4" LABEL="I learned a letter today" ORDER="4" TYPE="Chapter">
            <METS:div ID="PAGE4" LABEL="Page 2" ORDER="1" TYPE="Page">
                <METS:fptr FILEID="JP24" />
                <METS:fptr FILEID="TXT4" />
                <METS:fptr FILEID="JPEG4" />
                <METS:fptr FILEID="THUMB4" />
            </METS:div>
            <METS:div ID="PAGE5" LABEL="Page 3" ORDER="2" TYPE="Page">
                <METS:fptr FILEID="JP25" />
                <METS:fptr FILEID="TXT5" />
                <METS:fptr FILEID="JPEG5" />
                <METS:fptr FILEID="THUMB5" />
            </METS:div>
        </METS:div>
    </METS:div>
</METS:structMap>
<METS:structMap ID="STRUCT2" TYPE="other">
    <METS:div DMDID="DMD1 DMD2" LABEL="Now I know my A-B-Cs" ORDER="0" TYPE="main">
        <METS:div ID="DDIV1" ORDER="1" TYPE="Main">
            <METS:div ID="FILES1" LABEL="Entire book as PDF" ORDER="1" TYPE="Page">
                <METS:fptr FILEID="PDF6" />
            </METS:div>
            <METS:div ID="FILES2" LABEL="Reading of the book" ORDER="2" TYPE="Page">
                <METS:fptr FILEID="AVI7" />
                <METS:fptr FILEID="MPG7" />
                <METS:fptr FILEID="WMV7" />
            </METS:div>
        </METS:div>
    </METS:div>
</METS:structMap>