mercator 1.0.0 → 1.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cca620d720fe01a33df60ad7be336c101d6bf20
4
- data.tar.gz: 58d92e6603f0924c73e8021da333cfde51999bae
3
+ metadata.gz: 74105dee9683639f1d614c4531ac7a9fa56d0383
4
+ data.tar.gz: d9aeec19aa079a886c619a01c94b0fd54fa76740
5
5
  SHA512:
6
- metadata.gz: 6e2f8c94e81762e2955b6eb5ac96b30db451b8e4c3062bb8e1c0c806cfa049d4e4852a435196b0d421e831ab5ba66159fc015988a2c71d5a54068872c8152ab0
7
- data.tar.gz: e83e145f2b7eae6b125c28afe37e0dd5d2eeb99712074e014fdc1098f2e01be37d0a5b86f9c5be66a2da480ebd31a7daa2ceef809e3fde3d8e375f339bd57633
6
+ metadata.gz: fb2280f79b3f1411613669481b258d90fba9a1c8ad3bcf9cb1db5bbec8b942f7cb73ad93c3579ee33b78b8b4811fdc72a6ca2c439b60236cb70c005219ca70c0
7
+ data.tar.gz: 8d9e0a76dcdf84687a283cc2d2ee910bb6505d0a96330a922d0700fa9da30bc1ee9aafde858859e5c5dba508cf4f0942fbe86db9ac60e603ac96436130171f09
data/README.md CHANGED
@@ -22,7 +22,8 @@ Or install it yourself as:
22
22
 
23
23
  Consider the following code:
24
24
 
25
- ```require 'mercator'
25
+ ```
26
+ require 'mercator'
26
27
  datum = Mercator::WGS84.new
27
28
  projection = Mercator::Sweref99TM.new
28
29
  Mercator.grid_to_spherical(6097106.672, 356083.438, datum, projection)
@@ -51,7 +52,8 @@ Available projections:
51
52
 
52
53
  To use other datums and projections, instantiate Mercator::Datum and Mercator::Projection objects and assign suitable parameters, e.g. (for SWEREF 99 TM above):
53
54
 
54
- ```datum = Mercator::Datum.new
55
+ ```
56
+ datum = Mercator::Datum.new
55
57
  datum.semi_major_axis = 6378137.0
56
58
  datum.inverse_flattening = 298.257223563
57
59
 
@@ -1,3 +1,3 @@
1
1
  module Mercator
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/mercator.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Martin Bergek"]
10
10
  spec.email = ["contact@spotwise.com"]
11
11
  spec.summary = %q{Tools to manage spherical to grid conversions}
12
- spec.description = %q{This library provides classes and methods to perform conversions between spherical and grid coordinates.}
12
+ spec.description = %q{Tools to perform conversions between spherical and grid coordinates using the Gauss conformal projection (transverse Mercator).}
13
13
  spec.homepage = "https://github.com/mbergek/mercator"
14
14
  spec.license = "MIT"
15
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mercator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bergek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-22 00:00:00.000000000 Z
11
+ date: 2015-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -98,8 +98,8 @@ dependencies:
98
98
  - - ">="
99
99
  - !ruby/object:Gem::Version
100
100
  version: 3.3.2
101
- description: This library provides classes and methods to perform conversions between
102
- spherical and grid coordinates.
101
+ description: Tools to perform conversions between spherical and grid coordinates using
102
+ the Gauss conformal projection (transverse Mercator).
103
103
  email:
104
104
  - contact@spotwise.com
105
105
  executables: