lib/spatial_features/importers/shapefile.rb in spatial_features-2.7.0 vs lib/spatial_features/importers/shapefile.rb in spatial_features-2.7.1
- old
+ new
@@ -2,11 +2,11 @@
require 'digest/md5'
module SpatialFeatures
module Importers
class Shapefile < Base
- def initialize(data, *args, proj4: nil)
- super(data, *args)
+ def initialize(data, *args, proj4: nil, **options)
+ super(data, *args, **options)
@proj4 = proj4
end
def cache_key
@cache_key ||= Digest::MD5.hexdigest(features.to_json)