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 10 def initialize(document, options = {}) request_params = SHAPEFILE_DOWNLOAD_PARAMS.merge(typeName: document[:layer_id_s]) super(document, { type: 'shapefile', extension: 'zip', request_params: request_params, content_type: 'application/zip', service_type: 'wfs' }.merge(options)) end