Next / Previous / Contents / TCC Help System / NM Tech homepage

Table of Contents

1. Requirements
1.1. How to get this publication
2. Design notes
3. The schema
3.1. Schema prologue
3.2. image-catalog: The root element
3.3. original: Data for one exposure
3.4. The info pattern
4. Small example
5. birdimages.py: A Python object for the catalog
5.1. The ImageCatalog object
5.2. class Original: One bird slide catalog entry
6. birdimages.py: Internals
6.1. Prologue
6.2. Imports
6.3. Manifest constants
6.4. class ImageCatalog: Catalog object
6.5. ImageCatalog.__init__(): Constructor
6.6. ImageCatalog.addOriginal(): Add a new catalog entry
6.7. ImageCatalog.getOriginal(): Retrieve an original by catalog number
6.8. ImageCatalog.genOriginals(): Generate all catalog entries
6.9. ImageCatalog.genAb6(): Generate all entries with a given bird code
6.10. ImageCatalog.readFile(): Read an XML file
6.11. class Original: One catalog entry
6.12. Original.__init__(): Constructor
6.13. Original.readNode(): Build a catalog entry from an Element node
6.14. childText(): Get text from a child node
6.15. nodeText(): Get text from an element
6.16. cattest: A test driver for ImageCatalog

1. Requirements

My collection of bird images runs into the thousands. I'd like to be able to manage it and be able to retrieve images by bird type, locality, time period, and such constraints.

Scanning an image in a proper scanner takes several minutes. I want to avoid wasting time scanning poor photos of species for which I already have better shots.

Because the days of film photography are drawing to a close, this system must also anticipate the transition to digital media.

1.1. How to get this publication

This publication is available in Web form and also as a PDF document. Please forward any comments to john@nmt.edu.