Sha256: f9dddf3c9c171e84aade0d2fe73c952239712b8fe41fbd33960dcaca304647d8
Contents?: true
Size: 533 Bytes
Versions: 12
Compression:
Stored size: 533 Bytes
Contents
module Geoblacklight class GeotiffDownload < Geoblacklight::Download GEOTIFF_DOWNLOAD_PARAMS = { format: 'image/geotiff', width: 4096 } def initialize(document, options = {}) request_params = GEOTIFF_DOWNLOAD_PARAMS.merge(layers: document[:layer_id_s]) super(document, { type: 'geotiff', extension: 'tif', request_params: request_params, content_type: 'image/geotiff', service_type: 'wms', reflect: true }.merge(options)) end end end
Version data entries
12 entries across 12 versions & 1 rubygems