rgeo 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +6 -0
- data/Version +1 -1
- data/lib/rgeo.rb +80 -30
- data/lib/rgeo/all.rb +48 -0
- data/lib/rgeo/cartesian.rb +37 -12
- data/lib/rgeo/cartesian/calculations.rb +5 -0
- data/lib/rgeo/cartesian/{simple_factory.rb → factory.rb} +14 -17
- data/lib/rgeo/cartesian/{simple_feature_classes.rb → feature_classes.rb} +55 -55
- data/lib/rgeo/cartesian/{simple_feature_methods.rb → feature_methods.rb} +7 -3
- data/lib/rgeo/cartesian/interface.rb +7 -3
- data/lib/rgeo/errors.rb +4 -0
- data/lib/rgeo/features.rb +25 -20
- data/lib/rgeo/geo_json.rb +10 -8
- data/lib/rgeo/geography.rb +10 -16
- data/lib/rgeo/geography/all.rb +40 -0
- data/lib/rgeo/geography/factory.rb +2 -2
- data/lib/rgeo/geography/{factories.rb → interface.rb} +4 -2
- data/lib/rgeo/geography/simple_mercator.rb +69 -0
- data/lib/rgeo/geography/simple_mercator/feature_classes.rb +62 -62
- data/lib/rgeo/geography/simple_mercator/projector.rb +1 -1
- data/lib/rgeo/geography/simple_spherical.rb +68 -0
- data/lib/rgeo/geography/simple_spherical/calculations.rb +2 -2
- data/lib/rgeo/geography/simple_spherical/feature_classes.rb +44 -44
- data/lib/rgeo/geos.rb +12 -9
- data/lib/rgeo/impl_helpers.rb +14 -9
- data/lib/rgeo/impl_helpers/basic_geometry_collection_methods.rb +10 -0
- data/lib/rgeo/impl_helpers/basic_point_methods.rb +3 -0
- data/lib/rgeo/{geography/helper.rb → impl_helpers/math.rb} +3 -3
- data/lib/rgeo/wkrep.rb +32 -12
- data/lib/rgeo/wkrep/wkb_generator.rb +95 -9
- data/lib/rgeo/wkrep/wkb_parser.rb +117 -9
- data/lib/rgeo/wkrep/wkt_generator.rb +106 -18
- data/lib/rgeo/wkrep/wkt_parser.rb +203 -59
- data/tests/simple_cartesian/tc_calculations.rb +8 -8
- data/tests/wkrep/tc_wkt_generator.rb +362 -0
- data/tests/wkrep/tc_wkt_parser.rb +490 -0
- metadata +16 -8
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 15
|
9
|
+
version: 0.1.15
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Daniel Azuma
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-11-
|
17
|
+
date: 2010-11-08 00:00:00 -08:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -42,11 +42,12 @@ extra_rdoc_files:
|
|
42
42
|
- History.rdoc
|
43
43
|
- README.rdoc
|
44
44
|
files:
|
45
|
+
- lib/rgeo/all.rb
|
45
46
|
- lib/rgeo/cartesian/calculations.rb
|
47
|
+
- lib/rgeo/cartesian/factory.rb
|
48
|
+
- lib/rgeo/cartesian/feature_classes.rb
|
49
|
+
- lib/rgeo/cartesian/feature_methods.rb
|
46
50
|
- lib/rgeo/cartesian/interface.rb
|
47
|
-
- lib/rgeo/cartesian/simple_factory.rb
|
48
|
-
- lib/rgeo/cartesian/simple_feature_classes.rb
|
49
|
-
- lib/rgeo/cartesian/simple_feature_methods.rb
|
50
51
|
- lib/rgeo/cartesian.rb
|
51
52
|
- lib/rgeo/errors.rb
|
52
53
|
- lib/rgeo/features/curve.rb
|
@@ -70,16 +71,18 @@ files:
|
|
70
71
|
- lib/rgeo/geo_json/entities.rb
|
71
72
|
- lib/rgeo/geo_json/interface.rb
|
72
73
|
- lib/rgeo/geo_json.rb
|
73
|
-
- lib/rgeo/geography/
|
74
|
+
- lib/rgeo/geography/all.rb
|
74
75
|
- lib/rgeo/geography/factory.rb
|
75
|
-
- lib/rgeo/geography/
|
76
|
+
- lib/rgeo/geography/interface.rb
|
76
77
|
- lib/rgeo/geography/projected_window.rb
|
77
78
|
- lib/rgeo/geography/simple_mercator/feature_classes.rb
|
78
79
|
- lib/rgeo/geography/simple_mercator/feature_methods.rb
|
79
80
|
- lib/rgeo/geography/simple_mercator/projector.rb
|
81
|
+
- lib/rgeo/geography/simple_mercator.rb
|
80
82
|
- lib/rgeo/geography/simple_spherical/calculations.rb
|
81
83
|
- lib/rgeo/geography/simple_spherical/feature_classes.rb
|
82
84
|
- lib/rgeo/geography/simple_spherical/feature_methods.rb
|
85
|
+
- lib/rgeo/geography/simple_spherical.rb
|
83
86
|
- lib/rgeo/geography.rb
|
84
87
|
- lib/rgeo/geos/factory.rb
|
85
88
|
- lib/rgeo/geos/impl_additions.rb
|
@@ -90,6 +93,7 @@ files:
|
|
90
93
|
- lib/rgeo/impl_helpers/basic_line_string_methods.rb
|
91
94
|
- lib/rgeo/impl_helpers/basic_point_methods.rb
|
92
95
|
- lib/rgeo/impl_helpers/basic_polygon_methods.rb
|
96
|
+
- lib/rgeo/impl_helpers/math.rb
|
93
97
|
- lib/rgeo/impl_helpers.rb
|
94
98
|
- lib/rgeo/version.rb
|
95
99
|
- lib/rgeo/wkrep/wkb_generator.rb
|
@@ -142,6 +146,8 @@ files:
|
|
142
146
|
- tests/simple_spherical/tc_polygon.rb
|
143
147
|
- tests/tc_geojson.rb
|
144
148
|
- tests/tc_oneoff.rb
|
149
|
+
- tests/wkrep/tc_wkt_generator.rb
|
150
|
+
- tests/wkrep/tc_wkt_parser.rb
|
145
151
|
- ext/geos_c_impl/extconf.rb
|
146
152
|
- ext/geos_c_impl/factory.c
|
147
153
|
- ext/geos_c_impl/geometry.c
|
@@ -235,3 +241,5 @@ test_files:
|
|
235
241
|
- tests/simple_spherical/tc_polygon.rb
|
236
242
|
- tests/tc_geojson.rb
|
237
243
|
- tests/tc_oneoff.rb
|
244
|
+
- tests/wkrep/tc_wkt_generator.rb
|
245
|
+
- tests/wkrep/tc_wkt_parser.rb
|