maphub/maphub-seeddata — Issue #1: seed-data generation script
Author: behas
Created: 2012-03-02 21:06:47+00:00
State: open
Labels: enhancement

We need a script that generates a seed data file for the Library of Congress Maphub instance.

Each "map record" in the seed data file includes:
- pointers to the map image file URIs
- selected metadata fields
- a collection identifier

We already have the maps in place and scripts to download metadata from the LoC's GMD collection (see scripts directory). The script has to read these map identifiers, iterate over the harvested metadata records, identify matching records (based on the map identifier), and output a maphub map record for each match.

The results should be a script ```generate-loc-seeddata``` which takes a directory of XML files (= the metadata records) and a set of identifiers (probably a TXT file) as input and generates an outputfile ```loc-seeddata.yaml```