spatial_features 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17ff747009c3a5e9f6a6367617e964abf866c6e8
|
4
|
+
data.tar.gz: 6ea979cac61f3f8fabe2910ced44a8a176dbe5e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4724f59101b7471613a2feb856d8967acb77a2043f7544f17d028f875537738745172b46534dd982e8c53edaf1bd01ec8f1078033abd706dbfd132e502f74164
|
7
|
+
data.tar.gz: 4a36e1eedde53d7435fcf6be1480c064948edbf348ac4ad397c01f5143e6b390eaa50ce875353c1e85d15736740896589999290b4370647a6facd4f97a8b86b0
|
@@ -2,7 +2,8 @@ module ArcGISKmzFeatures
|
|
2
2
|
require 'open-uri'
|
3
3
|
require 'digest/md5'
|
4
4
|
|
5
|
-
def update_features!
|
5
|
+
def update_features!(options = {})
|
6
|
+
@make_valid = options[:make_valid]
|
6
7
|
@feature_error_messages = []
|
7
8
|
kml_array = []
|
8
9
|
cache_kml = ''
|
@@ -105,7 +106,7 @@ module ArcGISKmzFeatures
|
|
105
106
|
|
106
107
|
# Can be overridden to use PostGIS to force geometry to be valid
|
107
108
|
def make_valid?
|
108
|
-
|
109
|
+
!!@make_valid
|
109
110
|
end
|
110
111
|
|
111
112
|
class UpdateError < StandardError; end
|