This repository contains geospatial metadata from EarthWorks, the Stanford University Libraries geoportal.
Warning
Geoblacklight v1 schema metadata in metadata-1.0
is no longer updated and is provided for reference only. Links are likely to be broken.
Metadata for geospatial data are provided in the following formats:
- geoblacklight.json -- GeoBlacklight metadata
Records in the Stanford digital repository are identified by a Digital Resource Unique Identifier (DRUID) in the format druid:bb058zh0946
. Each record gets a corresponding permanent URL (PURL) page in the format https://purl.stanford.edu/bb058zh0946.
For objects that are available to download, this page hosts download links for the original data as well as metadata in various formats, like FGDC XML and ISO 19139 XML.
Open for metadata corrections and enhancements
For issues with the metadata, open an issue in this repository to get started.
To update the metadata locally, you need to be on Stanford VPN in order to crawl Earthworks. After cloning the repository, run the rake task to update all layers changed or deleted since the last run:
rake
After the run, the files in metadata-aardvark
will be updated with the latest metadata from Earthworks, and the layers.json
index file will be updated accordingly. The last_run
file will also be updated with the date and time of the run.
You can target a different environment like staging:
BASE_DIR=metadata-aardvark-stage PURL_FETCHER_URL=https://purl-fetcher-stage.stanford.edu CATALOG_URL=https://earthworks-stage.stanford.edu/catalog rake
This will read records from earthworks-stage and output them to a new directory called metadata-aardvark-stage
. This can be useful to do a much shorter run without crawling all of Earthworks, e.g. in order to test changes to the Rakefile.