lib/spatial_features/models/feature.rb in spatial_features-1.4.5 vs lib/spatial_features/models/feature.rb in spatial_features-1.4.6

- old
+ new

@@ -43,10 +43,10 @@ return envelope_json.values_at(0,2) end def self.cache_derivatives(options = {}) - options.reverse_merge! :lowres_simplification => 0.0001, :lowres_precision => 5 + options.reverse_merge! :lowres_simplification => 0.00001, :lowres_precision => 5 update_all("area = ST_Area(geog), geom = ST_Transform(geog::geometry, 26910), geog_lowres = ST_SimplifyPreserveTopology(geog::geometry, #{options[:lowres_simplification]})" .squish)