rgeo 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +22 -0
- data/README.rdoc +124 -0
- data/Version +1 -0
- data/ext/geos_c_impl/extconf.rb +72 -0
- data/ext/geos_c_impl/factory.c +468 -0
- data/ext/geos_c_impl/factory.h +217 -0
- data/ext/geos_c_impl/geometry.c +644 -0
- data/ext/geos_c_impl/geometry.h +65 -0
- data/ext/geos_c_impl/geometry_collection.c +580 -0
- data/ext/geos_c_impl/geometry_collection.h +79 -0
- data/ext/geos_c_impl/globals.h +58 -0
- data/ext/geos_c_impl/line_string.c +468 -0
- data/ext/geos_c_impl/line_string.h +74 -0
- data/ext/geos_c_impl/main.c +65 -0
- data/ext/geos_c_impl/point.c +201 -0
- data/ext/geos_c_impl/point.h +77 -0
- data/ext/geos_c_impl/polygon.c +259 -0
- data/ext/geos_c_impl/polygon.h +76 -0
- data/ext/geos_c_impl/preface.h +42 -0
- data/lib/rgeo.rb +68 -0
- data/lib/rgeo/errors.rb +59 -0
- data/lib/rgeo/features.rb +89 -0
- data/lib/rgeo/features/curve.rb +155 -0
- data/lib/rgeo/features/factory.rb +191 -0
- data/lib/rgeo/features/geometry.rb +560 -0
- data/lib/rgeo/features/geometry_collection.rb +118 -0
- data/lib/rgeo/features/line.rb +65 -0
- data/lib/rgeo/features/line_string.rb +101 -0
- data/lib/rgeo/features/linear_ring.rb +65 -0
- data/lib/rgeo/features/multi_curve.rb +112 -0
- data/lib/rgeo/features/multi_line_string.rb +65 -0
- data/lib/rgeo/features/multi_point.rb +72 -0
- data/lib/rgeo/features/multi_polygon.rb +96 -0
- data/lib/rgeo/features/multi_surface.rb +115 -0
- data/lib/rgeo/features/point.rb +97 -0
- data/lib/rgeo/features/polygon.rb +141 -0
- data/lib/rgeo/features/surface.rb +121 -0
- data/lib/rgeo/geo_json.rb +58 -0
- data/lib/rgeo/geo_json/coder.rb +305 -0
- data/lib/rgeo/geo_json/entities.rb +284 -0
- data/lib/rgeo/geo_json/interface.rb +95 -0
- data/lib/rgeo/geography.rb +75 -0
- data/lib/rgeo/geography/common/geometry_collection_methods.rb +206 -0
- data/lib/rgeo/geography/common/geometry_methods.rb +92 -0
- data/lib/rgeo/geography/common/helper.rb +102 -0
- data/lib/rgeo/geography/common/line_string_methods.rb +187 -0
- data/lib/rgeo/geography/common/point_methods.rb +149 -0
- data/lib/rgeo/geography/common/polygon_methods.rb +122 -0
- data/lib/rgeo/geography/factories.rb +136 -0
- data/lib/rgeo/geography/factory.rb +246 -0
- data/lib/rgeo/geography/projected_window.rb +467 -0
- data/lib/rgeo/geography/simple_mercator/feature_classes.rb +320 -0
- data/lib/rgeo/geography/simple_mercator/feature_methods.rb +291 -0
- data/lib/rgeo/geography/simple_mercator/projector.rb +116 -0
- data/lib/rgeo/geography/simple_spherical/calculations.rb +70 -0
- data/lib/rgeo/geography/simple_spherical/geometry_collection_impl.rb +66 -0
- data/lib/rgeo/geography/simple_spherical/geometry_methods.rb +59 -0
- data/lib/rgeo/geography/simple_spherical/line_string_impl.rb +104 -0
- data/lib/rgeo/geography/simple_spherical/multi_line_string_impl.rb +67 -0
- data/lib/rgeo/geography/simple_spherical/multi_point_impl.rb +67 -0
- data/lib/rgeo/geography/simple_spherical/multi_polygon_impl.rb +67 -0
- data/lib/rgeo/geography/simple_spherical/point_impl.rb +85 -0
- data/lib/rgeo/geography/simple_spherical/polygon_impl.rb +66 -0
- data/lib/rgeo/geos.rb +72 -0
- data/lib/rgeo/geos/factory.rb +260 -0
- data/lib/rgeo/geos/impl_additions.rb +57 -0
- data/lib/rgeo/geos/interface.rb +74 -0
- data/lib/rgeo/version.rb +52 -0
- data/tests/geos/tc_factory.rb +91 -0
- data/tests/geos/tc_geometry_collection.rb +226 -0
- data/tests/geos/tc_line_string.rb +310 -0
- data/tests/geos/tc_misc.rb +72 -0
- data/tests/geos/tc_multi_line_string.rb +211 -0
- data/tests/geos/tc_multi_point.rb +202 -0
- data/tests/geos/tc_multi_polygon.rb +210 -0
- data/tests/geos/tc_point.rb +305 -0
- data/tests/geos/tc_polygon.rb +240 -0
- data/tests/simple_mercator/tc_point.rb +303 -0
- data/tests/simple_mercator/tc_window.rb +219 -0
- data/tests/tc_geojson.rb +230 -0
- data/tests/tc_oneoff.rb +61 -0
- metadata +162 -0
metadata
ADDED
@@ -0,0 +1,162 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rgeo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 15
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 10
|
10
|
+
version: 0.1.10
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Daniel Azuma
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-10-19 00:00:00 -07:00
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: RGeo is a spatial data library for Ruby. It provides an implementation of the Open Geospatial Consortium's Simple Features Specification, used by most standard spatial/geographic data storage systems such as PostGIS. It also provides a suite of useful tools for writing location-based applications using Ruby-based frameworks such as Ruby On Rails.
|
23
|
+
email: dazuma@gmail.com
|
24
|
+
executables: []
|
25
|
+
|
26
|
+
extensions:
|
27
|
+
- ext/geos_c_impl/extconf.rb
|
28
|
+
extra_rdoc_files:
|
29
|
+
- History.rdoc
|
30
|
+
- README.rdoc
|
31
|
+
files:
|
32
|
+
- lib/rgeo/errors.rb
|
33
|
+
- lib/rgeo/features/curve.rb
|
34
|
+
- lib/rgeo/features/factory.rb
|
35
|
+
- lib/rgeo/features/geometry.rb
|
36
|
+
- lib/rgeo/features/geometry_collection.rb
|
37
|
+
- lib/rgeo/features/line.rb
|
38
|
+
- lib/rgeo/features/line_string.rb
|
39
|
+
- lib/rgeo/features/linear_ring.rb
|
40
|
+
- lib/rgeo/features/multi_curve.rb
|
41
|
+
- lib/rgeo/features/multi_line_string.rb
|
42
|
+
- lib/rgeo/features/multi_point.rb
|
43
|
+
- lib/rgeo/features/multi_polygon.rb
|
44
|
+
- lib/rgeo/features/multi_surface.rb
|
45
|
+
- lib/rgeo/features/point.rb
|
46
|
+
- lib/rgeo/features/polygon.rb
|
47
|
+
- lib/rgeo/features/surface.rb
|
48
|
+
- lib/rgeo/features.rb
|
49
|
+
- lib/rgeo/geo_json/coder.rb
|
50
|
+
- lib/rgeo/geo_json/entities.rb
|
51
|
+
- lib/rgeo/geo_json/interface.rb
|
52
|
+
- lib/rgeo/geo_json.rb
|
53
|
+
- lib/rgeo/geography/common/geometry_collection_methods.rb
|
54
|
+
- lib/rgeo/geography/common/geometry_methods.rb
|
55
|
+
- lib/rgeo/geography/common/helper.rb
|
56
|
+
- lib/rgeo/geography/common/line_string_methods.rb
|
57
|
+
- lib/rgeo/geography/common/point_methods.rb
|
58
|
+
- lib/rgeo/geography/common/polygon_methods.rb
|
59
|
+
- lib/rgeo/geography/factories.rb
|
60
|
+
- lib/rgeo/geography/factory.rb
|
61
|
+
- lib/rgeo/geography/projected_window.rb
|
62
|
+
- lib/rgeo/geography/simple_mercator/feature_classes.rb
|
63
|
+
- lib/rgeo/geography/simple_mercator/feature_methods.rb
|
64
|
+
- lib/rgeo/geography/simple_mercator/projector.rb
|
65
|
+
- lib/rgeo/geography/simple_spherical/calculations.rb
|
66
|
+
- lib/rgeo/geography/simple_spherical/geometry_collection_impl.rb
|
67
|
+
- lib/rgeo/geography/simple_spherical/geometry_methods.rb
|
68
|
+
- lib/rgeo/geography/simple_spherical/line_string_impl.rb
|
69
|
+
- lib/rgeo/geography/simple_spherical/multi_line_string_impl.rb
|
70
|
+
- lib/rgeo/geography/simple_spherical/multi_point_impl.rb
|
71
|
+
- lib/rgeo/geography/simple_spherical/multi_polygon_impl.rb
|
72
|
+
- lib/rgeo/geography/simple_spherical/point_impl.rb
|
73
|
+
- lib/rgeo/geography/simple_spherical/polygon_impl.rb
|
74
|
+
- lib/rgeo/geography.rb
|
75
|
+
- lib/rgeo/geos/factory.rb
|
76
|
+
- lib/rgeo/geos/impl_additions.rb
|
77
|
+
- lib/rgeo/geos/interface.rb
|
78
|
+
- lib/rgeo/geos.rb
|
79
|
+
- lib/rgeo/version.rb
|
80
|
+
- lib/rgeo.rb
|
81
|
+
- History.rdoc
|
82
|
+
- README.rdoc
|
83
|
+
- tests/geos/tc_factory.rb
|
84
|
+
- tests/geos/tc_geometry_collection.rb
|
85
|
+
- tests/geos/tc_line_string.rb
|
86
|
+
- tests/geos/tc_misc.rb
|
87
|
+
- tests/geos/tc_multi_line_string.rb
|
88
|
+
- tests/geos/tc_multi_point.rb
|
89
|
+
- tests/geos/tc_multi_polygon.rb
|
90
|
+
- tests/geos/tc_point.rb
|
91
|
+
- tests/geos/tc_polygon.rb
|
92
|
+
- tests/simple_mercator/tc_point.rb
|
93
|
+
- tests/simple_mercator/tc_window.rb
|
94
|
+
- tests/tc_geojson.rb
|
95
|
+
- tests/tc_oneoff.rb
|
96
|
+
- ext/geos_c_impl/extconf.rb
|
97
|
+
- ext/geos_c_impl/factory.c
|
98
|
+
- ext/geos_c_impl/geometry.c
|
99
|
+
- ext/geos_c_impl/geometry_collection.c
|
100
|
+
- ext/geos_c_impl/line_string.c
|
101
|
+
- ext/geos_c_impl/main.c
|
102
|
+
- ext/geos_c_impl/point.c
|
103
|
+
- ext/geos_c_impl/polygon.c
|
104
|
+
- ext/geos_c_impl/factory.h
|
105
|
+
- ext/geos_c_impl/geometry.h
|
106
|
+
- ext/geos_c_impl/geometry_collection.h
|
107
|
+
- ext/geos_c_impl/globals.h
|
108
|
+
- ext/geos_c_impl/line_string.h
|
109
|
+
- ext/geos_c_impl/point.h
|
110
|
+
- ext/geos_c_impl/polygon.h
|
111
|
+
- ext/geos_c_impl/preface.h
|
112
|
+
- Version
|
113
|
+
has_rdoc: true
|
114
|
+
homepage: http://virtuoso.rubyforge.org/rgeo
|
115
|
+
licenses: []
|
116
|
+
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options: []
|
119
|
+
|
120
|
+
require_paths:
|
121
|
+
- lib
|
122
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
hash: 57
|
128
|
+
segments:
|
129
|
+
- 1
|
130
|
+
- 8
|
131
|
+
- 7
|
132
|
+
version: 1.8.7
|
133
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
+
none: false
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
hash: 3
|
139
|
+
segments:
|
140
|
+
- 0
|
141
|
+
version: "0"
|
142
|
+
requirements: []
|
143
|
+
|
144
|
+
rubyforge_project: virtuoso
|
145
|
+
rubygems_version: 1.3.7
|
146
|
+
signing_key:
|
147
|
+
specification_version: 3
|
148
|
+
summary: Spatial data library for Ruby.
|
149
|
+
test_files:
|
150
|
+
- tests/geos/tc_factory.rb
|
151
|
+
- tests/geos/tc_geometry_collection.rb
|
152
|
+
- tests/geos/tc_line_string.rb
|
153
|
+
- tests/geos/tc_misc.rb
|
154
|
+
- tests/geos/tc_multi_line_string.rb
|
155
|
+
- tests/geos/tc_multi_point.rb
|
156
|
+
- tests/geos/tc_multi_polygon.rb
|
157
|
+
- tests/geos/tc_point.rb
|
158
|
+
- tests/geos/tc_polygon.rb
|
159
|
+
- tests/simple_mercator/tc_point.rb
|
160
|
+
- tests/simple_mercator/tc_window.rb
|
161
|
+
- tests/tc_geojson.rb
|
162
|
+
- tests/tc_oneoff.rb
|