rgeo 0.3.20 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +7 -0
  2. data/ext/geos_c_impl/extconf.rb +0 -30
  3. data/ext/geos_c_impl/factory.c +0 -32
  4. data/ext/geos_c_impl/factory.h +0 -33
  5. data/ext/geos_c_impl/geometry.c +20 -33
  6. data/ext/geos_c_impl/geometry.h +0 -32
  7. data/ext/geos_c_impl/geometry_collection.c +0 -32
  8. data/ext/geos_c_impl/geometry_collection.h +0 -32
  9. data/ext/geos_c_impl/line_string.c +0 -32
  10. data/ext/geos_c_impl/line_string.h +0 -32
  11. data/ext/geos_c_impl/main.c +0 -32
  12. data/ext/geos_c_impl/point.c +0 -33
  13. data/ext/geos_c_impl/point.h +0 -32
  14. data/ext/geos_c_impl/polygon.c +0 -32
  15. data/ext/geos_c_impl/polygon.h +0 -32
  16. data/ext/geos_c_impl/preface.h +0 -32
  17. data/ext/proj4_c_impl/extconf.rb +0 -30
  18. data/ext/proj4_c_impl/main.c +0 -33
  19. data/lib/rgeo.rb +0 -36
  20. data/lib/rgeo/cartesian.rb +0 -30
  21. data/lib/rgeo/cartesian/analysis.rb +0 -30
  22. data/lib/rgeo/cartesian/bounding_box.rb +0 -30
  23. data/lib/rgeo/cartesian/calculations.rb +0 -30
  24. data/lib/rgeo/cartesian/factory.rb +0 -30
  25. data/lib/rgeo/cartesian/feature_classes.rb +0 -30
  26. data/lib/rgeo/cartesian/feature_methods.rb +0 -30
  27. data/lib/rgeo/cartesian/interface.rb +0 -30
  28. data/lib/rgeo/coord_sys.rb +0 -30
  29. data/lib/rgeo/coord_sys/cs/entities.rb +0 -30
  30. data/lib/rgeo/coord_sys/cs/factories.rb +0 -30
  31. data/lib/rgeo/coord_sys/cs/wkt_parser.rb +0 -30
  32. data/lib/rgeo/coord_sys/proj4.rb +1 -49
  33. data/lib/rgeo/coord_sys/srs_database/active_record_table.rb +0 -30
  34. data/lib/rgeo/coord_sys/srs_database/interface.rb +0 -30
  35. data/lib/rgeo/coord_sys/srs_database/proj4_data.rb +0 -30
  36. data/lib/rgeo/coord_sys/srs_database/sr_org.rb +0 -30
  37. data/lib/rgeo/coord_sys/srs_database/url_reader.rb +0 -30
  38. data/lib/rgeo/error.rb +0 -30
  39. data/lib/rgeo/feature.rb +0 -30
  40. data/lib/rgeo/feature/curve.rb +0 -30
  41. data/lib/rgeo/feature/factory.rb +0 -30
  42. data/lib/rgeo/feature/factory_generator.rb +0 -30
  43. data/lib/rgeo/feature/geometry.rb +1 -31
  44. data/lib/rgeo/feature/geometry_collection.rb +0 -30
  45. data/lib/rgeo/feature/line.rb +0 -30
  46. data/lib/rgeo/feature/line_string.rb +0 -30
  47. data/lib/rgeo/feature/linear_ring.rb +0 -30
  48. data/lib/rgeo/feature/mixins.rb +0 -30
  49. data/lib/rgeo/feature/multi_curve.rb +0 -30
  50. data/lib/rgeo/feature/multi_line_string.rb +0 -30
  51. data/lib/rgeo/feature/multi_point.rb +0 -30
  52. data/lib/rgeo/feature/multi_polygon.rb +0 -30
  53. data/lib/rgeo/feature/multi_surface.rb +0 -30
  54. data/lib/rgeo/feature/point.rb +0 -30
  55. data/lib/rgeo/feature/polygon.rb +0 -30
  56. data/lib/rgeo/feature/surface.rb +0 -30
  57. data/lib/rgeo/feature/types.rb +0 -30
  58. data/lib/rgeo/geographic.rb +0 -30
  59. data/lib/rgeo/geographic/factory.rb +0 -30
  60. data/lib/rgeo/geographic/interface.rb +2 -32
  61. data/lib/rgeo/geographic/proj4_projector.rb +0 -30
  62. data/lib/rgeo/geographic/projected_feature_classes.rb +0 -30
  63. data/lib/rgeo/geographic/projected_feature_methods.rb +7 -32
  64. data/lib/rgeo/geographic/projected_window.rb +5 -39
  65. data/lib/rgeo/geographic/simple_mercator_projector.rb +11 -41
  66. data/lib/rgeo/geographic/spherical_feature_classes.rb +0 -30
  67. data/lib/rgeo/geographic/spherical_feature_methods.rb +2 -32
  68. data/lib/rgeo/geographic/spherical_math.rb +0 -30
  69. data/lib/rgeo/geos.rb +0 -30
  70. data/lib/rgeo/geos/capi_factory.rb +8 -38
  71. data/lib/rgeo/geos/capi_feature_classes.rb +0 -29
  72. data/lib/rgeo/geos/ffi_factory.rb +0 -30
  73. data/lib/rgeo/geos/ffi_feature_classes.rb +0 -30
  74. data/lib/rgeo/geos/ffi_feature_methods.rb +0 -30
  75. data/lib/rgeo/geos/interface.rb +5 -49
  76. data/lib/rgeo/geos/utils.rb +0 -30
  77. data/lib/rgeo/geos/zm_factory.rb +0 -30
  78. data/lib/rgeo/geos/zm_feature_classes.rb +0 -30
  79. data/lib/rgeo/geos/zm_feature_methods.rb +0 -30
  80. data/lib/rgeo/impl_helper.rb +0 -30
  81. data/lib/rgeo/impl_helper/basic_geometry_collection_methods.rb +0 -30
  82. data/lib/rgeo/impl_helper/basic_geometry_methods.rb +0 -30
  83. data/lib/rgeo/impl_helper/basic_line_string_methods.rb +0 -30
  84. data/lib/rgeo/impl_helper/basic_point_methods.rb +0 -30
  85. data/lib/rgeo/impl_helper/basic_polygon_methods.rb +0 -30
  86. data/lib/rgeo/impl_helper/math.rb +0 -30
  87. data/lib/rgeo/impl_helper/utils.rb +0 -30
  88. data/lib/rgeo/version.rb +1 -50
  89. data/lib/rgeo/wkrep.rb +0 -30
  90. data/lib/rgeo/wkrep/wkb_generator.rb +0 -30
  91. data/lib/rgeo/wkrep/wkb_parser.rb +0 -30
  92. data/lib/rgeo/wkrep/wkt_generator.rb +0 -30
  93. data/lib/rgeo/wkrep/wkt_parser.rb +0 -30
  94. data/lib/rgeo/yaml.rb +0 -30
  95. data/test/common/factory_tests.rb +0 -30
  96. data/test/common/geometry_collection_tests.rb +0 -30
  97. data/test/common/line_string_tests.rb +0 -30
  98. data/test/common/multi_line_string_tests.rb +0 -30
  99. data/test/common/multi_point_tests.rb +0 -30
  100. data/test/common/multi_polygon_tests.rb +0 -30
  101. data/test/common/point_tests.rb +0 -30
  102. data/test/common/polygon_tests.rb +0 -30
  103. data/test/coord_sys/tc_active_record_table.rb +2 -32
  104. data/test/coord_sys/tc_ogc_cs.rb +0 -30
  105. data/test/coord_sys/tc_proj4.rb +1 -31
  106. data/test/coord_sys/tc_proj4_srs_data.rb +3 -33
  107. data/test/coord_sys/tc_sr_org.rb +2 -32
  108. data/test/coord_sys/tc_url_reader.rb +4 -34
  109. data/test/geos_capi/tc_factory.rb +0 -30
  110. data/test/geos_capi/tc_geometry_collection.rb +0 -30
  111. data/test/geos_capi/tc_line_string.rb +0 -30
  112. data/test/geos_capi/tc_misc.rb +37 -31
  113. data/test/geos_capi/tc_multi_line_string.rb +0 -30
  114. data/test/geos_capi/tc_multi_point.rb +0 -30
  115. data/test/geos_capi/tc_multi_polygon.rb +0 -30
  116. data/test/geos_capi/tc_parsing_unparsing.rb +0 -30
  117. data/test/geos_capi/tc_point.rb +0 -30
  118. data/test/geos_capi/tc_polygon.rb +12 -30
  119. data/test/geos_capi/tc_zmfactory.rb +0 -30
  120. data/test/geos_ffi/tc_factory.rb +0 -30
  121. data/test/geos_ffi/tc_geometry_collection.rb +0 -30
  122. data/test/geos_ffi/tc_line_string.rb +0 -30
  123. data/test/geos_ffi/tc_misc.rb +0 -30
  124. data/test/geos_ffi/tc_multi_line_string.rb +0 -30
  125. data/test/geos_ffi/tc_multi_point.rb +0 -30
  126. data/test/geos_ffi/tc_multi_polygon.rb +0 -30
  127. data/test/geos_ffi/tc_parsing_unparsing.rb +0 -30
  128. data/test/geos_ffi/tc_point.rb +0 -30
  129. data/test/geos_ffi/tc_polygon.rb +0 -30
  130. data/test/geos_ffi/tc_zmfactory.rb +0 -30
  131. data/test/projected_geographic/tc_factory.rb +0 -30
  132. data/test/projected_geographic/tc_geometry_collection.rb +0 -30
  133. data/test/projected_geographic/tc_line_string.rb +0 -30
  134. data/test/projected_geographic/tc_multi_line_string.rb +0 -30
  135. data/test/projected_geographic/tc_multi_point.rb +0 -30
  136. data/test/projected_geographic/tc_multi_polygon.rb +0 -30
  137. data/test/projected_geographic/tc_point.rb +0 -30
  138. data/test/projected_geographic/tc_polygon.rb +0 -30
  139. data/test/simple_cartesian/tc_calculations.rb +0 -30
  140. data/test/simple_cartesian/tc_factory.rb +0 -30
  141. data/test/simple_cartesian/tc_geometry_collection.rb +0 -30
  142. data/test/simple_cartesian/tc_line_string.rb +0 -30
  143. data/test/simple_cartesian/tc_multi_line_string.rb +0 -30
  144. data/test/simple_cartesian/tc_multi_point.rb +0 -30
  145. data/test/simple_cartesian/tc_multi_polygon.rb +0 -30
  146. data/test/simple_cartesian/tc_point.rb +0 -30
  147. data/test/simple_cartesian/tc_polygon.rb +0 -30
  148. data/test/simple_mercator/tc_factory.rb +0 -30
  149. data/test/simple_mercator/tc_geometry_collection.rb +0 -30
  150. data/test/simple_mercator/tc_line_string.rb +0 -30
  151. data/test/simple_mercator/tc_multi_line_string.rb +0 -30
  152. data/test/simple_mercator/tc_multi_point.rb +0 -30
  153. data/test/simple_mercator/tc_multi_polygon.rb +0 -30
  154. data/test/simple_mercator/tc_point.rb +0 -30
  155. data/test/simple_mercator/tc_polygon.rb +0 -30
  156. data/test/simple_mercator/tc_window.rb +8 -30
  157. data/test/spherical_geographic/tc_calculations.rb +0 -30
  158. data/test/spherical_geographic/tc_factory.rb +0 -30
  159. data/test/spherical_geographic/tc_geometry_collection.rb +0 -30
  160. data/test/spherical_geographic/tc_line_string.rb +0 -30
  161. data/test/spherical_geographic/tc_multi_line_string.rb +0 -30
  162. data/test/spherical_geographic/tc_multi_point.rb +0 -30
  163. data/test/spherical_geographic/tc_multi_polygon.rb +0 -30
  164. data/test/spherical_geographic/tc_point.rb +11 -30
  165. data/test/spherical_geographic/tc_polygon.rb +0 -30
  166. data/test/tc_cartesian_analysis.rb +0 -30
  167. data/test/tc_cartesian_bbox.rb +0 -30
  168. data/test/tc_mixins.rb +0 -30
  169. data/test/tc_oneoff.rb +0 -30
  170. data/test/tc_types.rb +0 -30
  171. data/test/wkrep/tc_wkb_generator.rb +0 -30
  172. data/test/wkrep/tc_wkb_parser.rb +0 -30
  173. data/test/wkrep/tc_wkt_generator.rb +0 -30
  174. data/test/wkrep/tc_wkt_parser.rb +0 -30
  175. metadata +94 -47
  176. data/History.rdoc +0 -351
  177. data/README.rdoc +0 -184
  178. data/Spatial_Programming_With_RGeo.rdoc +0 -451
  179. data/Version +0 -1
@@ -3,36 +3,6 @@
3
3
  # Tests for the simple spherical polygon implementation
4
4
  #
5
5
  # -----------------------------------------------------------------------------
6
- # Copyright 2010-2012 Daniel Azuma
7
- #
8
- # All rights reserved.
9
- #
10
- # Redistribution and use in source and binary forms, with or without
11
- # modification, are permitted provided that the following conditions are met:
12
- #
13
- # * Redistributions of source code must retain the above copyright notice,
14
- # this list of conditions and the following disclaimer.
15
- # * Redistributions in binary form must reproduce the above copyright notice,
16
- # this list of conditions and the following disclaimer in the documentation
17
- # and/or other materials provided with the distribution.
18
- # * Neither the name of the copyright holder, nor the names of any other
19
- # contributors to this software, may be used to endorse or promote products
20
- # derived from this software without specific prior written permission.
21
- #
22
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26
- # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
- # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
- # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
- # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
- # POSSIBILITY OF SUCH DAMAGE.
33
- # -----------------------------------------------------------------------------
34
- ;
35
-
36
6
 
37
7
  require 'test/unit'
38
8
  require 'rgeo'
@@ -3,36 +3,6 @@
3
3
  # Tests for basic GeoJSON usage
4
4
  #
5
5
  # -----------------------------------------------------------------------------
6
- # Copyright 2010-2012 Daniel Azuma
7
- #
8
- # All rights reserved.
9
- #
10
- # Redistribution and use in source and binary forms, with or without
11
- # modification, are permitted provided that the following conditions are met:
12
- #
13
- # * Redistributions of source code must retain the above copyright notice,
14
- # this list of conditions and the following disclaimer.
15
- # * Redistributions in binary form must reproduce the above copyright notice,
16
- # this list of conditions and the following disclaimer in the documentation
17
- # and/or other materials provided with the distribution.
18
- # * Neither the name of the copyright holder, nor the names of any other
19
- # contributors to this software, may be used to endorse or promote products
20
- # derived from this software without specific prior written permission.
21
- #
22
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26
- # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
- # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
- # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
- # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
- # POSSIBILITY OF SUCH DAMAGE.
33
- # -----------------------------------------------------------------------------
34
- ;
35
-
36
6
 
37
7
  require 'test/unit'
38
8
  require 'rgeo'
@@ -3,36 +3,6 @@
3
3
  # Tests for basic GeoJSON usage
4
4
  #
5
5
  # -----------------------------------------------------------------------------
6
- # Copyright 2010-2012 Daniel Azuma
7
- #
8
- # All rights reserved.
9
- #
10
- # Redistribution and use in source and binary forms, with or without
11
- # modification, are permitted provided that the following conditions are met:
12
- #
13
- # * Redistributions of source code must retain the above copyright notice,
14
- # this list of conditions and the following disclaimer.
15
- # * Redistributions in binary form must reproduce the above copyright notice,
16
- # this list of conditions and the following disclaimer in the documentation
17
- # and/or other materials provided with the distribution.
18
- # * Neither the name of the copyright holder, nor the names of any other
19
- # contributors to this software, may be used to endorse or promote products
20
- # derived from this software without specific prior written permission.
21
- #
22
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26
- # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
- # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
- # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
- # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
- # POSSIBILITY OF SUCH DAMAGE.
33
- # -----------------------------------------------------------------------------
34
- ;
35
-
36
6
 
37
7
  require 'test/unit'
38
8
  require 'rgeo'
@@ -3,36 +3,6 @@
3
3
  # Tests for mixin system
4
4
  #
5
5
  # -----------------------------------------------------------------------------
6
- # Copyright 2010-2012 Daniel Azuma
7
- #
8
- # All rights reserved.
9
- #
10
- # Redistribution and use in source and binary forms, with or without
11
- # modification, are permitted provided that the following conditions are met:
12
- #
13
- # * Redistributions of source code must retain the above copyright notice,
14
- # this list of conditions and the following disclaimer.
15
- # * Redistributions in binary form must reproduce the above copyright notice,
16
- # this list of conditions and the following disclaimer in the documentation
17
- # and/or other materials provided with the distribution.
18
- # * Neither the name of the copyright holder, nor the names of any other
19
- # contributors to this software, may be used to endorse or promote products
20
- # derived from this software without specific prior written permission.
21
- #
22
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26
- # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
- # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
- # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
- # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
- # POSSIBILITY OF SUCH DAMAGE.
33
- # -----------------------------------------------------------------------------
34
- ;
35
-
36
6
 
37
7
  require 'test/unit'
38
8
  require 'rgeo'
@@ -3,36 +3,6 @@
3
3
  # A container file for one-off tests
4
4
  #
5
5
  # -----------------------------------------------------------------------------
6
- # Copyright 2010-2012 Daniel Azuma
7
- #
8
- # All rights reserved.
9
- #
10
- # Redistribution and use in source and binary forms, with or without
11
- # modification, are permitted provided that the following conditions are met:
12
- #
13
- # * Redistributions of source code must retain the above copyright notice,
14
- # this list of conditions and the following disclaimer.
15
- # * Redistributions in binary form must reproduce the above copyright notice,
16
- # this list of conditions and the following disclaimer in the documentation
17
- # and/or other materials provided with the distribution.
18
- # * Neither the name of the copyright holder, nor the names of any other
19
- # contributors to this software, may be used to endorse or promote products
20
- # derived from this software without specific prior written permission.
21
- #
22
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26
- # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
- # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
- # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
- # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
- # POSSIBILITY OF SUCH DAMAGE.
33
- # -----------------------------------------------------------------------------
34
- ;
35
-
36
6
 
37
7
  require 'test/unit'
38
8
  require 'rgeo'
@@ -3,36 +3,6 @@
3
3
  # Tests for type properties
4
4
  #
5
5
  # -----------------------------------------------------------------------------
6
- # Copyright 2010-2012 Daniel Azuma
7
- #
8
- # All rights reserved.
9
- #
10
- # Redistribution and use in source and binary forms, with or without
11
- # modification, are permitted provided that the following conditions are met:
12
- #
13
- # * Redistributions of source code must retain the above copyright notice,
14
- # this list of conditions and the following disclaimer.
15
- # * Redistributions in binary form must reproduce the above copyright notice,
16
- # this list of conditions and the following disclaimer in the documentation
17
- # and/or other materials provided with the distribution.
18
- # * Neither the name of the copyright holder, nor the names of any other
19
- # contributors to this software, may be used to endorse or promote products
20
- # derived from this software without specific prior written permission.
21
- #
22
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26
- # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
- # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
- # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
- # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
- # POSSIBILITY OF SUCH DAMAGE.
33
- # -----------------------------------------------------------------------------
34
- ;
35
-
36
6
 
37
7
  require 'test/unit'
38
8
  require 'rgeo'
@@ -3,36 +3,6 @@
3
3
  # Tests for WKT generator
4
4
  #
5
5
  # -----------------------------------------------------------------------------
6
- # Copyright 2010-2012 Daniel Azuma
7
- #
8
- # All rights reserved.
9
- #
10
- # Redistribution and use in source and binary forms, with or without
11
- # modification, are permitted provided that the following conditions are met:
12
- #
13
- # * Redistributions of source code must retain the above copyright notice,
14
- # this list of conditions and the following disclaimer.
15
- # * Redistributions in binary form must reproduce the above copyright notice,
16
- # this list of conditions and the following disclaimer in the documentation
17
- # and/or other materials provided with the distribution.
18
- # * Neither the name of the copyright holder, nor the names of any other
19
- # contributors to this software, may be used to endorse or promote products
20
- # derived from this software without specific prior written permission.
21
- #
22
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26
- # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
- # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
- # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
- # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
- # POSSIBILITY OF SUCH DAMAGE.
33
- # -----------------------------------------------------------------------------
34
- ;
35
-
36
6
 
37
7
  require 'test/unit'
38
8
  require 'rgeo'
@@ -3,36 +3,6 @@
3
3
  # Tests for WKT parser
4
4
  #
5
5
  # -----------------------------------------------------------------------------
6
- # Copyright 2010-2012 Daniel Azuma
7
- #
8
- # All rights reserved.
9
- #
10
- # Redistribution and use in source and binary forms, with or without
11
- # modification, are permitted provided that the following conditions are met:
12
- #
13
- # * Redistributions of source code must retain the above copyright notice,
14
- # this list of conditions and the following disclaimer.
15
- # * Redistributions in binary form must reproduce the above copyright notice,
16
- # this list of conditions and the following disclaimer in the documentation
17
- # and/or other materials provided with the distribution.
18
- # * Neither the name of the copyright holder, nor the names of any other
19
- # contributors to this software, may be used to endorse or promote products
20
- # derived from this software without specific prior written permission.
21
- #
22
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26
- # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
- # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
- # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
- # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
- # POSSIBILITY OF SUCH DAMAGE.
33
- # -----------------------------------------------------------------------------
34
- ;
35
-
36
6
 
37
7
  require 'test/unit'
38
8
  require 'rgeo'
@@ -3,36 +3,6 @@
3
3
  # Tests for WKT generator
4
4
  #
5
5
  # -----------------------------------------------------------------------------
6
- # Copyright 2010-2012 Daniel Azuma
7
- #
8
- # All rights reserved.
9
- #
10
- # Redistribution and use in source and binary forms, with or without
11
- # modification, are permitted provided that the following conditions are met:
12
- #
13
- # * Redistributions of source code must retain the above copyright notice,
14
- # this list of conditions and the following disclaimer.
15
- # * Redistributions in binary form must reproduce the above copyright notice,
16
- # this list of conditions and the following disclaimer in the documentation
17
- # and/or other materials provided with the distribution.
18
- # * Neither the name of the copyright holder, nor the names of any other
19
- # contributors to this software, may be used to endorse or promote products
20
- # derived from this software without specific prior written permission.
21
- #
22
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26
- # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
- # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
- # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
- # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
- # POSSIBILITY OF SUCH DAMAGE.
33
- # -----------------------------------------------------------------------------
34
- ;
35
-
36
6
 
37
7
  require 'test/unit'
38
8
  require 'rgeo'
@@ -3,36 +3,6 @@
3
3
  # Tests for WKT parser
4
4
  #
5
5
  # -----------------------------------------------------------------------------
6
- # Copyright 2010-2012 Daniel Azuma
7
- #
8
- # All rights reserved.
9
- #
10
- # Redistribution and use in source and binary forms, with or without
11
- # modification, are permitted provided that the following conditions are met:
12
- #
13
- # * Redistributions of source code must retain the above copyright notice,
14
- # this list of conditions and the following disclaimer.
15
- # * Redistributions in binary form must reproduce the above copyright notice,
16
- # this list of conditions and the following disclaimer in the documentation
17
- # and/or other materials provided with the distribution.
18
- # * Neither the name of the copyright holder, nor the names of any other
19
- # contributors to this software, may be used to endorse or promote products
20
- # derived from this software without specific prior written permission.
21
- #
22
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26
- # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
- # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
- # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
- # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
- # POSSIBILITY OF SUCH DAMAGE.
33
- # -----------------------------------------------------------------------------
34
- ;
35
-
36
6
 
37
7
  require 'test/unit'
38
8
  require 'rgeo'
metadata CHANGED
@@ -1,16 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgeo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.20
5
- prerelease:
4
+ version: 0.4.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Daniel Azuma
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-12-12 00:00:00.000000000 Z
13
- dependencies: []
11
+ date: 2015-08-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '10.4'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '10.4'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.2'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: ffi-geos
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: test-unit
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
14
69
  description: RGeo is a geospatial data library for Ruby. It provides an implementation
15
70
  of the Open Geospatial Consortium's Simple Features Specification, used by most
16
71
  standard spatial/geographic data storage systems such as PostGIS. A number of add-on
@@ -21,11 +76,27 @@ executables: []
21
76
  extensions:
22
77
  - ext/geos_c_impl/extconf.rb
23
78
  - ext/proj4_c_impl/extconf.rb
24
- extra_rdoc_files:
25
- - History.rdoc
26
- - README.rdoc
27
- - Spatial_Programming_With_RGeo.rdoc
79
+ extra_rdoc_files: []
28
80
  files:
81
+ - ext/geos_c_impl/extconf.rb
82
+ - ext/geos_c_impl/factory.c
83
+ - ext/geos_c_impl/factory.h
84
+ - ext/geos_c_impl/geometry.c
85
+ - ext/geos_c_impl/geometry.h
86
+ - ext/geos_c_impl/geometry_collection.c
87
+ - ext/geos_c_impl/geometry_collection.h
88
+ - ext/geos_c_impl/line_string.c
89
+ - ext/geos_c_impl/line_string.h
90
+ - ext/geos_c_impl/main.c
91
+ - ext/geos_c_impl/point.c
92
+ - ext/geos_c_impl/point.h
93
+ - ext/geos_c_impl/polygon.c
94
+ - ext/geos_c_impl/polygon.h
95
+ - ext/geos_c_impl/preface.h
96
+ - ext/proj4_c_impl/extconf.rb
97
+ - ext/proj4_c_impl/main.c
98
+ - lib/rgeo.rb
99
+ - lib/rgeo/cartesian.rb
29
100
  - lib/rgeo/cartesian/analysis.rb
30
101
  - lib/rgeo/cartesian/bounding_box.rb
31
102
  - lib/rgeo/cartesian/calculations.rb
@@ -33,7 +104,7 @@ files:
33
104
  - lib/rgeo/cartesian/feature_classes.rb
34
105
  - lib/rgeo/cartesian/feature_methods.rb
35
106
  - lib/rgeo/cartesian/interface.rb
36
- - lib/rgeo/cartesian.rb
107
+ - lib/rgeo/coord_sys.rb
37
108
  - lib/rgeo/coord_sys/cs/entities.rb
38
109
  - lib/rgeo/coord_sys/cs/factories.rb
39
110
  - lib/rgeo/coord_sys/cs/wkt_parser.rb
@@ -43,8 +114,8 @@ files:
43
114
  - lib/rgeo/coord_sys/srs_database/proj4_data.rb
44
115
  - lib/rgeo/coord_sys/srs_database/sr_org.rb
45
116
  - lib/rgeo/coord_sys/srs_database/url_reader.rb
46
- - lib/rgeo/coord_sys.rb
47
117
  - lib/rgeo/error.rb
118
+ - lib/rgeo/feature.rb
48
119
  - lib/rgeo/feature/curve.rb
49
120
  - lib/rgeo/feature/factory.rb
50
121
  - lib/rgeo/feature/factory_generator.rb
@@ -63,7 +134,7 @@ files:
63
134
  - lib/rgeo/feature/polygon.rb
64
135
  - lib/rgeo/feature/surface.rb
65
136
  - lib/rgeo/feature/types.rb
66
- - lib/rgeo/feature.rb
137
+ - lib/rgeo/geographic.rb
67
138
  - lib/rgeo/geographic/factory.rb
68
139
  - lib/rgeo/geographic/interface.rb
69
140
  - lib/rgeo/geographic/proj4_projector.rb
@@ -74,7 +145,7 @@ files:
74
145
  - lib/rgeo/geographic/spherical_feature_classes.rb
75
146
  - lib/rgeo/geographic/spherical_feature_methods.rb
76
147
  - lib/rgeo/geographic/spherical_math.rb
77
- - lib/rgeo/geographic.rb
148
+ - lib/rgeo/geos.rb
78
149
  - lib/rgeo/geos/capi_factory.rb
79
150
  - lib/rgeo/geos/capi_feature_classes.rb
80
151
  - lib/rgeo/geos/ffi_factory.rb
@@ -85,7 +156,7 @@ files:
85
156
  - lib/rgeo/geos/zm_factory.rb
86
157
  - lib/rgeo/geos/zm_feature_classes.rb
87
158
  - lib/rgeo/geos/zm_feature_methods.rb
88
- - lib/rgeo/geos.rb
159
+ - lib/rgeo/impl_helper.rb
89
160
  - lib/rgeo/impl_helper/basic_geometry_collection_methods.rb
90
161
  - lib/rgeo/impl_helper/basic_geometry_methods.rb
91
162
  - lib/rgeo/impl_helper/basic_line_string_methods.rb
@@ -93,32 +164,13 @@ files:
93
164
  - lib/rgeo/impl_helper/basic_polygon_methods.rb
94
165
  - lib/rgeo/impl_helper/math.rb
95
166
  - lib/rgeo/impl_helper/utils.rb
96
- - lib/rgeo/impl_helper.rb
97
167
  - lib/rgeo/version.rb
168
+ - lib/rgeo/wkrep.rb
98
169
  - lib/rgeo/wkrep/wkb_generator.rb
99
170
  - lib/rgeo/wkrep/wkb_parser.rb
100
171
  - lib/rgeo/wkrep/wkt_generator.rb
101
172
  - lib/rgeo/wkrep/wkt_parser.rb
102
- - lib/rgeo/wkrep.rb
103
173
  - lib/rgeo/yaml.rb
104
- - lib/rgeo.rb
105
- - ext/geos_c_impl/extconf.rb
106
- - ext/proj4_c_impl/extconf.rb
107
- - ext/geos_c_impl/factory.c
108
- - ext/geos_c_impl/geometry.c
109
- - ext/geos_c_impl/geometry_collection.c
110
- - ext/geos_c_impl/line_string.c
111
- - ext/geos_c_impl/main.c
112
- - ext/geos_c_impl/point.c
113
- - ext/geos_c_impl/polygon.c
114
- - ext/proj4_c_impl/main.c
115
- - ext/geos_c_impl/factory.h
116
- - ext/geos_c_impl/geometry.h
117
- - ext/geos_c_impl/geometry_collection.h
118
- - ext/geos_c_impl/line_string.h
119
- - ext/geos_c_impl/point.h
120
- - ext/geos_c_impl/polygon.h
121
- - ext/geos_c_impl/preface.h
122
174
  - test/common/factory_tests.rb
123
175
  - test/common/geometry_collection_tests.rb
124
176
  - test/common/line_string_tests.rb
@@ -199,33 +251,28 @@ files:
199
251
  - test/wkrep/tc_wkb_parser.rb
200
252
  - test/wkrep/tc_wkt_generator.rb
201
253
  - test/wkrep/tc_wkt_parser.rb
202
- - History.rdoc
203
- - README.rdoc
204
- - Spatial_Programming_With_RGeo.rdoc
205
- - Version
206
- homepage: http://dazuma.github.com/rgeo
254
+ homepage: http://github.com/rgeo/rgeo
207
255
  licenses: []
256
+ metadata: {}
208
257
  post_install_message:
209
258
  rdoc_options: []
210
259
  require_paths:
211
260
  - lib
212
261
  required_ruby_version: !ruby/object:Gem::Requirement
213
- none: false
214
262
  requirements:
215
- - - ! '>='
263
+ - - ">="
216
264
  - !ruby/object:Gem::Version
217
- version: 1.8.7
265
+ version: 1.9.3
218
266
  required_rubygems_version: !ruby/object:Gem::Requirement
219
- none: false
220
267
  requirements:
221
- - - ! '>'
268
+ - - ">="
222
269
  - !ruby/object:Gem::Version
223
- version: 1.3.1
270
+ version: '0'
224
271
  requirements: []
225
- rubyforge_project: virtuoso
226
- rubygems_version: 1.8.24
272
+ rubyforge_project:
273
+ rubygems_version: 2.4.8
227
274
  signing_key:
228
- specification_version: 3
275
+ specification_version: 4
229
276
  summary: RGeo is a geospatial data library for Ruby.
230
277
  test_files:
231
278
  - test/coord_sys/tc_active_record_table.rb