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:
Add this line to your Gemfile:
gem 'osgeo-termbase'
And then execute:
$ bundle
Or install it yourself as:
$ gem install osgeo-termbase
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.
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
.