Skip to content

Commit

Permalink
Set geom type to Image for ImageWorks (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan authored and tampakis committed Jun 8, 2017
1 parent e7e5b63 commit 0aadaf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def build(document)
def geom_type
case geo_concern.class.to_s
when /ImageWorkShowPresenter/
'Scanned Map'
'Image'
when /RasterWorkShowPresenter/
'Raster'
when /VectorWorkShowPresenter/
Expand Down
2 changes: 1 addition & 1 deletion spec/services/geo_works/discovery/document_builder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
end

it 'has layer info fields' do
expect(document['layer_geom_type_s']).to eq('Scanned Map')
expect(document['layer_geom_type_s']).to eq('Image')
expect(document['dc_format_s']).to eq('TIFF')
end
end
Expand Down

0 comments on commit 0aadaf8

Please sign in to comment.