coordconver 0.1.4 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coordconver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - chenwei
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-19 00:00:00.000000000 Z
11
+ date: 2026-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.12'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.12'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rake
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
- - - "~>"
17
+ - - ">="
32
18
  - !ruby/object:Gem::Version
33
- version: '10.0'
19
+ version: '13.0'
34
20
  type: :development
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - "~>"
24
+ - - ">="
39
25
  - !ruby/object:Gem::Version
40
- version: '10.0'
26
+ version: '13.0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: minitest
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,39 +38,59 @@ dependencies:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
40
  version: '5.0'
55
- description: 1.提供了百度坐标(BD09)、国测局坐标(火星坐标,GCJ02)、和WGS84坐标系之间的转换. 2.坐标点到经纬度的相互转换.
41
+ description: 纯离线实现百度坐标(BD-09)、国测局坐标(GCJ-02)、地球坐标(WGS-84)互转(含厘米级精确逆变换), 两点距离/方位角/偏移点,
42
+ 经纬度与度分秒互转, WKT/GeoJSON 互转, 高斯-克吕格投影正反算; 并封装百度/高德/腾讯 Web 服务 API 实现地址与坐标互转, 支持多 key
43
+ 自动轮询与进程内缓存。附带命令行工具。
56
44
  email:
57
45
  - cheenwe@gmail.com
58
- executables: []
46
+ executables:
47
+ - coordconver
59
48
  extensions: []
60
49
  extra_rdoc_files: []
61
50
  files:
51
+ - ".github/workflows/ci.yml"
62
52
  - ".gitignore"
63
- - ".travis.yml"
53
+ - CHANGELOG.md
64
54
  - CODE_OF_CONDUCT.md
65
55
  - Gemfile
66
56
  - LICENSE.txt
57
+ - README.en.md
67
58
  - README.md
68
59
  - Rakefile
69
60
  - bin/console
70
- - bin/coordconver
71
61
  - bin/setup
72
62
  - coordconver.gemspec
63
+ - docs/cc-algorithms.js
64
+ - docs/index.html
65
+ - exe/coordconver
73
66
  - lib/coordconver.rb
74
67
  - lib/coordconver/coordconver.rb
75
68
  - lib/coordconver/degree.rb
69
+ - lib/coordconver/errors.rb
70
+ - lib/coordconver/formats.rb
71
+ - lib/coordconver/geo/api.rb
76
72
  - lib/coordconver/geo/baidu.rb
73
+ - lib/coordconver/geo/cache.rb
77
74
  - lib/coordconver/geo/client.rb
78
75
  - lib/coordconver/geo/configuration.rb
79
76
  - lib/coordconver/geo/gaode.rb
77
+ - lib/coordconver/geo/key_pool.rb
78
+ - lib/coordconver/geo/tencent.rb
79
+ - lib/coordconver/projection.rb
80
80
  - lib/coordconver/utils/http.rb
81
81
  - lib/coordconver/utils/request.rb
82
82
  - lib/coordconver/version.rb
83
83
  homepage: https://github.com/cheenwe/coordconver
84
84
  licenses:
85
85
  - MIT
86
- metadata: {}
87
- post_install_message:
86
+ metadata:
87
+ allowed_push_host: https://rubygems.org
88
+ homepage_uri: https://github.com/cheenwe/coordconver
89
+ source_code_uri: https://github.com/cheenwe/coordconver
90
+ changelog_uri: https://github.com/cheenwe/coordconver/blob/master/CHANGELOG.md
91
+ bug_tracker_uri: https://github.com/cheenwe/coordconver/issues
92
+ rubygems_mfa_required: 'true'
93
+ post_install_message:
88
94
  rdoc_options: []
89
95
  require_paths:
90
96
  - lib
@@ -92,17 +98,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
98
  requirements:
93
99
  - - ">="
94
100
  - !ruby/object:Gem::Version
95
- version: '0'
101
+ version: '2.7'
96
102
  required_rubygems_version: !ruby/object:Gem::Requirement
97
103
  requirements:
98
104
  - - ">="
99
105
  - !ruby/object:Gem::Version
100
106
  version: '0'
101
107
  requirements: []
102
- rubyforge_project:
103
- rubygems_version: 2.6.1
104
- signing_key:
108
+ rubygems_version: 3.1.6
109
+ signing_key:
105
110
  specification_version: 4
106
- summary: 坐标转换/Coordconver
111
+ summary: 百度(BD-09)/火星(GCJ-02)/地球(WGS-84)坐标系互转、球面几何、高斯-克吕格投影, 以及百度/高德/腾讯地理编码
107
112
  test_files: []
108
- has_rdoc:
data/.travis.yml DELETED
@@ -1,8 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.3.1
5
- before_install: gem install bundler -v 1.12.5
6
-
7
- script:
8
- - bundle exec rake test
data/bin/coordconver DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require "coordconver"
3
-
4
- puts Coordconver.wgs84_bd09(ARGV[0],ARGV[1] )