This gis-metadata repository is the place where the NYU Libraries and Data Services team houses records that we have cleaned and enhanced but are not a part of the OpenGeoMetadata repository. They are indexed directly into the geo.nyu.edu production instance of the Spatial Data Repository, but they may be different from records that exist on OpenGeoMetadata.
Records in the Spatial Data Repository that come directly from OpenGeoMetadata are:
- NYU
- Stanford
- Harvard
These are cloned into the /metadata/production/ogm direcrtory on the metadata staging server and may be pulled and refreshed accordingly.
Local records adhere to the top-level naming convention of source-records. Upon creation, push local records to this repository, provided that large collections are broken out into a pear tree structure, with individual files that are named geoblacklight.json.
To test a batch of records that exist within this repository:
- Make sure you have the Ruby dependencies installed by running
$ bundle install - Next, run
$ bundle exec rake validateon a directory of records, e.g.,
$ bundle exec rake validate harvard-records - Alternatively, you could test all of the record directories by running
$ bundle exec rake validate all
Note that this repository includes an index-local-collections.rb script that appends records with NYU-specific fields before indexing them into production. The script should be modified upon index to filter the appropriate records.