Skip to content

Commit

Permalink
Add conversion from v1 solr_geom to Aardvark dcat_bbox
Browse files Browse the repository at this point in the history
  • Loading branch information
thatbudakguy committed Sep 13, 2023
1 parent e3e9f91 commit cd5bf1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/geo_combine/migrators/v1_aardvark_migrator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def remove_deprecated_fields
'dc_publisher_s' => 'dct_publisher_sm', # new namespace; single to multi-valued
'dct_provenance_s' => 'schema_provider_s', # new URI name
'dc_subject_sm' => 'dct_subject_sm', # new namespace
'solr_geom' => 'dcat_bbox', # new URI name
'solr_year_i' => 'gbl_indexYear_im', # new URI name; single to multi-valued
'dc_source_sm' => 'dct_source_sm', # new namespace
'dc_rights_s' => 'dct_accessRights_s', # new URI name
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/docs/full_geoblacklight_aardvark.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"dct_source_sm": [
"stanford-rb371kw9607"
],
"solr_geom":"ENVELOPE(29.572742, 35.000308, 4.234077, -1.478794)",
"dcat_bbox":"ENVELOPE(29.572742, 35.000308, 4.234077, -1.478794)",
"gbl_indexYear_im":[
2005
],
Expand Down

0 comments on commit cd5bf1d

Please sign in to comment.