You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-5Lines changed: 26 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,18 +32,32 @@ $ gem install geo_combine
32
32
## Usage
33
33
34
34
### Converting metadata
35
-
35
+
#### Converting metadata into GeoBlacklight JSON
36
+
GeoCombine provides several classes representing different metadata standards that implement the `#to_geoblacklight` method for generating records in the [GeoBlacklight JSON format](https://opengeometadata.org/reference/):
37
+
```ruby
38
+
GeoCombine::Iso19139# ISO 19139 XML
39
+
GeoCombine::OGP# OpenGeoPortal JSON
40
+
GeoCombine::Fgdc# FGDC XML
41
+
GeoCombine::EsriOpenData# Esri Open Data Portal JSON
42
+
GeoCombine::CkanMetadata# CKAN JSON
43
+
```
44
+
An example for converting an ISO 19139 XML record:
By default, GeoCombine will index only records using the Aardvark metadata format. If you instead want to index records using an older format (e.g. because your GeoBlacklight instance is version 3 or older), you can set the `SCHEMA_VERSION` environment variable:
### Harvesting and indexing documents from GeoBlacklight sites
148
169
149
170
GeoCombine provides a Harvester class and rake task to harvest and index content from GeoBlacklight sites (or any site that follows the Blacklight API format). Given that the configurations can change from consumer to consumer and site to site, the class provides a relatively simple configuration API. This can be configured in an initializer, a wrapping rake task, or any other ruby context where the rake task our class would be invoked.
0 commit comments