spatial_features 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spatial_features/models/feature.rb +1 -1
- data/lib/spatial_features/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e27151385100d922d8a64f10fedcc3e807e28482
|
4
|
+
data.tar.gz: 44261407916d79df9256a84609e6c033ae3eace0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4c810a96a8bbc0a54ea54321ac3f2ef29f5d0453729054c102a4e32daa99b180b70679409ed883cc3142eb1321c03f5efe2ec45a5bcad90ed4b817f3433584d
|
7
|
+
data.tar.gz: 580a73af6c334c7ab9c1e7560e0b7997efd35100c61fd6751455d92a1d4236e9e1375adbe5bedcfe182d9ef5f0fc608b2628ed6810c519ad1620b4d6bfcfa784
|
@@ -45,7 +45,7 @@ class Feature < ActiveRecord::Base
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def self.cache_derivatives(options = {})
|
48
|
-
options.reverse_merge! :lowres_simplification => 0.
|
48
|
+
options.reverse_merge! :lowres_simplification => 0.00001, :lowres_precision => 5
|
49
49
|
|
50
50
|
update_all("area = ST_Area(geog),
|
51
51
|
geom = ST_Transform(geog::geometry, 26910),
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spatial_features
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Wallace
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
119
|
rubyforge_project:
|
120
|
-
rubygems_version: 2.4.
|
120
|
+
rubygems_version: 2.4.5.1
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: Adds spatial methods to a model.
|