98
99
100
101
102
103
104
105
|
# File 'lib/search_solr_tools/translators/nsidc_json.rb', line 98
def translate_spatial_resolution_facet_values(parameters_json)
spatial_resolutions = []
parameters_json.each do |param_json|
binned_res = Helpers::SolrFormat.resolution_value(param_json['spatialYResolution'], :find_index_for_single_spatial_resolution_value, Helpers::SolrFormat::SPATIAL_RESOLUTION_FACET_VALUES)
spatial_resolutions << binned_res unless binned_res.to_s.empty?
end
spatial_resolutions.flatten.uniq
end
|