Sha256: 8c5a4060f26256f20237d4f0d2a9f653e94e5de357fe74de15ca25dfddf16787
Contents?: true
Size: 430 Bytes
Versions: 17
Compression:
Stored size: 430 Bytes
Contents
class GeotiffDownload < Download GEOTIFF_DOWNLOAD_PARAMS = { format: 'image/geotiff', width: 4096 } def initialize(document) 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 }) end end
Version data entries
17 entries across 17 versions & 1 rubygems