Skip to content

Commit

Permalink
Adjust resource class and type mapping for v1-aardvark conversion
Browse files Browse the repository at this point in the history
- Convert 'Physical Object' class to 'Other' instead of 'Maps'
- Convert 'Table' type to 'Table data' instead of no value
- Don't convert 'ScannedMap' type
  • Loading branch information
thatbudakguy committed Aug 3, 2023
1 parent 0337631 commit f30e6d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/geo_combine/migrators/v1_aardvark_migrator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ def remove_deprecated_fields
'Dataset' => ['Datasets'],
'Image' => ['Imagery'],
'InteractiveResource' => ['Websites'],
'PhysicalObject' => ['Maps'],
'Service' => ['Web services'],
'StillImage' => ['Imagery']
}.freeze
Expand All @@ -109,8 +108,7 @@ def remove_deprecated_fields
'Line' => ['Line data'],
'Polygon' => ['Polygon data'],
'Raster' => ['Raster data'],
'ScannedMap' => ['Raster data'],
'Image' => ['Raster data']
'Table' => ['Table data']
}.freeze
end
end
Expand Down

0 comments on commit f30e6d1

Please sign in to comment.