class Geoblacklight::ShapefileDownload
Constants
- SHAPEFILE_DOWNLOAD_PARAMS
Public Class Methods
new(document, options = {})
click to toggle source
Calls superclass method
Geoblacklight::Download::new
# File lib/geoblacklight/download/shapefile_download.rb, line 11 def initialize(document, options = {}) request_params = SHAPEFILE_DOWNLOAD_PARAMS.merge(typeName: document[Settings.FIELDS.WXS_IDENTIFIER]) super(document, { type: "shapefile", extension: "zip", request_params: request_params, content_type: "application/zip", service_type: "wfs" }.merge(options)) end