Skip to content

Utility for converting legacy OSGeo glossary sources into Geolexica terminology database format

Notifications You must be signed in to change notification settings

geolexica/osgeo-termbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSGeo Termbase programs

Purpose

This gem is used for the creation and deployment of OSGeo Geolexica, the OSGeo Glossary, located at https://osgeo.geolexica.org.

The repository for the site is located at:

Install

Add this line to your Gemfile:

gem 'osgeo-termbase'

And then execute:

$ bundle

Or install it yourself as:

$ gem install osgeo-termbase

Usage

The gem comes with the following executable:

  • osgeo-termbase-csv2yaml: used to extract terms from the official OSGeo glossary table, into ConceptYAML and TermYAML files.

  • osgeo-termbase-fetchcsv: used to fetch the latest OSGeo glossary in CSV format.

Using osgeo-termbase-csv2yaml

Run the following command:

$ osgeo-termbase-csv2yaml [termbase.csv]

Where,

  • the ConceptCollection YAML will be created at [termbase.yaml] at the current working directory;

  • ConceptYAML files for each concept (each concept identified by a unique “Term-ID”) are created under the concepts/ directory (based on the current working directory). i.e. concepts/concept-338.yaml.

Using osgeo-termbase-fetchcsv

Run the following command:

$ osgeo-termbase-fetchcsv [termbase.csv]

Where,

  • the OSGeo glossary CSV file will be created at [termbase.yaml] in the current working directory.

Credits

This program is created and maintained by Ribose / Geolexica for the OSGeo Lexicon Committee (OSGeo LC).

About

Utility for converting legacy OSGeo glossary sources into Geolexica terminology database format

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages