rgeo-proj4 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/proj4_c_impl/main.c +6 -1
- data/lib/rgeo/proj4/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e899f9ec9d4cb7036400cb716e4d414c87adf5b1b20fbcf081666d869af48ad
|
4
|
+
data.tar.gz: 423a52b4b72050a519b8df4c63f01058b608c9345cb0abc5e1bf2a33729c381b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59fda580463933b22228f0748d7ddbb38deefe04c2b01ea2979d1a2f15a2d565bfad6b3056f0f4ab9a27fa147df69e8eae9dec8dd1cd075c48c108bcce96858b
|
7
|
+
data.tar.gz: 1cd3d716d7c9ba6c832d3703abb2c6ddefa87985e75034ed38458bd447f6afd32e02a72547ff2014db52db0bd0d3c3709c776e97698dc0e0a792eb33168b0314
|
data/ext/proj4_c_impl/main.c
CHANGED
@@ -39,6 +39,11 @@ RGEO_BEGIN_C
|
|
39
39
|
|
40
40
|
#ifdef RGEO_PROJ4_SUPPORTED
|
41
41
|
|
42
|
+
#if PROJ_VERSION_MAJOR == 6 && PROJ_VERSION_MINOR < 3
|
43
|
+
#define WKT_TYPE PJ_WKT2_2018
|
44
|
+
#else
|
45
|
+
#define WKT_TYPE PJ_WKT2_2019
|
46
|
+
#endif
|
42
47
|
|
43
48
|
typedef struct {
|
44
49
|
PJ *pj;
|
@@ -234,7 +239,7 @@ static VALUE method_proj4_wkt_str(VALUE self)
|
|
234
239
|
pj = data->pj;
|
235
240
|
if (pj) {
|
236
241
|
const char *const options[] = {"MULTILINE=NO", NULL};
|
237
|
-
str = proj_as_wkt(PJ_DEFAULT_CTX, pj,
|
242
|
+
str = proj_as_wkt(PJ_DEFAULT_CTX, pj, WKT_TYPE, options);
|
238
243
|
if(str){
|
239
244
|
result = rb_str_new2(str);
|
240
245
|
}
|
data/lib/rgeo/proj4/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rgeo-proj4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tee Parham, Daniel Azuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rgeo
|