charta 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/charta/factory/simple_feature_factory.rb +1 -1
- data/lib/charta/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9634870840f818207264c46799dc53cf3e37bf3f3d119e85dc470405ebcb8d1
|
4
|
+
data.tar.gz: 6453c04a73201f197c869b37d18a6ff0c262c8545ced384a13ecee48568279e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 658472714de5dbe3a618839ddf36858884b6d28ab520bab2c5140514d0a287931b52aa1278110dc3979a3ed40b2bc0c7cb7e11a9450bff9767ae32180ebe24f8
|
7
|
+
data.tar.gz: 675ea3982c1d1bb3465f68e272fb995dde17cc61f5af81837346a7431fc79d1fc82dc0661eb2528aab2903808d6e0941d20923fa62142db25eafa95eb32a00f6
|
@@ -30,7 +30,7 @@ module Charta
|
|
30
30
|
if coordinates.is_a?(Charta::Geometry)
|
31
31
|
coordinates
|
32
32
|
elsif coordinates.is_a?(RGeo::Feature::Instance)
|
33
|
-
|
33
|
+
new_feature(Charta.generate_ewkt(coordinates))
|
34
34
|
elsif coordinates.to_s =~ /\A[[:space:]]*\z/
|
35
35
|
empty_feature(srs)
|
36
36
|
else
|
data/lib/charta/version.rb
CHANGED