class Geoblacklight::GeotiffDownload
Constants
- GEOTIFF_DOWNLOAD_PARAMS
Public Class Methods
new(document, options = {})
click to toggle source
Calls superclass method
Geoblacklight::Download::new
# File lib/geoblacklight/download/geotiff_download.rb, line 10 def initialize(document, options = {}) request_params = GEOTIFF_DOWNLOAD_PARAMS.merge(layers: document[Settings.FIELDS.WXS_IDENTIFIER]) super(document, { type: "geotiff", extension: "tif", request_params: request_params, content_type: "image/geotiff", service_type: "wms", reflect: true }.merge(options)) end