GithubHelp home page GithubHelp logo

archaeogeek / geometadata Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wildintellect/geometadata

0.0 0.0 0.0 292 KB

XML templates, XSLT, and Python scripts for working with geospatial metadata

Python 100.00%

geometadata's Introduction

geoMetadata

Templates, XSLTs, Python scripts, and field specifications for working with geospatial metadata in ISO 19139 and 19110 formats.

XSLT

updateISO.xsl

This XSL can be used for items that already have pre-existing metadata that need to be normalized. It also adds institutional level metadata, such as distributor information and thesauri citations. The example provided in the variables is from the National Atlas of the United States. The top-level variables can be replaced according to specific collection needs.

Python

addISO.py

This script adds identifiers to ISO 19139 metadata records, including metadata file identifier, citation URL, and distribution URL. A UUID for feature catalogs can also be added, if applicable.

addAttrs.py

This script reads through a csv of attribute definitions and creates an ISO 19110 record using the FC_template.xml document.

XML Templates

SUL_template.xml

This is an ISO 19139 template for Stanford University. This template can be used for creating new metadata records.

FC_template.xml

This is a very basic template for collecting ISO 19110 metadata for the description of feature catalogs. Each attribute must have a name (LABEL) and a definition element. If attribute definitions/codelists are provided in a .csv file, see addAttrs.py to automate creating of these metadata using this template.

ISO and GeoBlacklight Metadata Elements

ISO Element GeoBlacklight Entry Method
Title dc_title_s Free text
ResponsibleParty (CI_RoleCode='originator') dc_creator_sm Controlled vocabulary
Date dct_issued_s Date w3cdtf
Responsible Party (CI_RoleCode =’publisher’) * dc_publisher_sm* Controlled vocabulary
Abstract dc_description Free text
Dataset Identifier uuid URI
ISO Topic Category dc_subject_sm ISO Codelist
Theme keyword(s) dc_subject_sm Controlled vocabulary
Place keyword(s) dc_spatial_sm Controlled vocabulary
Temporal extent dc_temporal_sm/solr_year_i Date(s) w3cdtf
Geographic extent georss_box_s W,E,N,S decimal degrees
Access/Use Constraints dc_rights_s ISO Codelist
Distributor dct_provenance_s Contact template
Metadata date stamp layer_modified_dt Date w3cdtf
Distribution format dc_format_s Controlled vocabulary (local)
Language dc_language_sm ISO Codelist
Aggregate Dataset Name* dc_isPartOf_sm* Free text
Hierarchy level dc_type_s ISO Codelist
Metadata file identifier dct_references Text (uuid or namespace authority + identifier
Spatial reference EPSG Code
Metadata contact Contact template
  • indicates Optional field

geometadata's People

Contributors

kimdurante avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.