Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

In-house GeoBlacklight documents that are indexed into the NYU Spatial Data Repository

Notifications You must be signed in to change notification settings

NYU-DataServices/gis-metadata-sandbox

Repository files navigation

gis-metadata

Build Status

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.

Management Workflow

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.

Run tests

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 validate on 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

Ingest scripts

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.

About

In-house GeoBlacklight documents that are indexed into the NYU Spatial Data Repository

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages