georuby 2.2.1 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -8
  3. data/lib/geo_ruby/geojson.rb +8 -6
  4. data/lib/geo_ruby/simple_features/geometry.rb +11 -0
  5. data/lib/geo_ruby/simple_features/geometry_collection.rb +1 -9
  6. data/lib/geo_ruby/simple_features/line_string.rb +8 -13
  7. data/lib/geo_ruby/simple_features/multi_line_string.rb +2 -10
  8. data/lib/geo_ruby/simple_features/multi_point.rb +1 -9
  9. data/lib/geo_ruby/simple_features/multi_polygon.rb +0 -7
  10. data/lib/geo_ruby/simple_features/point.rb +11 -14
  11. data/lib/geo_ruby/simple_features/polygon.rb +1 -9
  12. data/lib/geo_ruby/version.rb +1 -1
  13. data/spec/geo_ruby/geojson_spec.rb +25 -25
  14. data/spec/geo_ruby/georss_spec.rb +63 -63
  15. data/spec/geo_ruby/gpx4r/gpx_spec.rb +34 -34
  16. data/spec/geo_ruby/kml_spec.rb +27 -27
  17. data/spec/geo_ruby/shp4r/shp_spec.rb +46 -46
  18. data/spec/geo_ruby/simple_features/circle_spec.rb +1 -1
  19. data/spec/geo_ruby/simple_features/envelope_spec.rb +15 -15
  20. data/spec/geo_ruby/simple_features/ewkb_parser_spec.rb +56 -56
  21. data/spec/geo_ruby/simple_features/ewkt_parser_spec.rb +68 -68
  22. data/spec/geo_ruby/simple_features/geometry_collection_spec.rb +18 -18
  23. data/spec/geo_ruby/simple_features/geometry_spec.rb +10 -10
  24. data/spec/geo_ruby/simple_features/line_string_spec.rb +80 -71
  25. data/spec/geo_ruby/simple_features/linear_ring_spec.rb +3 -3
  26. data/spec/geo_ruby/simple_features/multi_line_string_spec.rb +15 -15
  27. data/spec/geo_ruby/simple_features/multi_point_spec.rb +10 -10
  28. data/spec/geo_ruby/simple_features/multi_polygon_spec.rb +13 -13
  29. data/spec/geo_ruby/simple_features/point_spec.rb +139 -131
  30. data/spec/geo_ruby/simple_features/polygon_spec.rb +36 -36
  31. data/spec/geo_ruby_spec.rb +3 -3
  32. data/spec/spec_helper.rb +4 -4
  33. metadata +52 -52
@@ -7,11 +7,11 @@ describe GeoRuby::SimpleFeatures::Polygon do
7
7
  let(:poly) { GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[0,0],[4,0],[4,4],[0,4],[0,0]],[[1,1],[3,1],[3,3],[1,3],[1,1]]],256) }
8
8
 
9
9
  it "should check if contains point" do
10
- poly.contains_point?(GeoRuby::SimpleFeatures::Point.from_x_y(3, 3)).should be_true
10
+ expect(poly.contains_point?(GeoRuby::SimpleFeatures::Point.from_x_y(3, 3))).to be_truthy
11
11
  end
12
12
 
13
13
  it "should check if not contains point" do
14
- poly.contains_point?(GeoRuby::SimpleFeatures::Point.from_x_y(5, 5)).should be_false
14
+ expect(poly.contains_point?(GeoRuby::SimpleFeatures::Point.from_x_y(5, 5))).to be_falsey
15
15
  end
16
16
 
17
17
  end
@@ -31,49 +31,49 @@ describe GeoRuby::SimpleFeatures::Polygon do
31
31
  point8 = GeoRuby::SimpleFeatures::Point.from_x_y(2.4,5.3,256)
32
32
 
33
33
  polygon = GeoRuby::SimpleFeatures::Polygon::new(256)
34
- polygon.length.should be_zero
34
+ expect(polygon.length).to be_zero
35
35
 
36
36
  polygon << linear_ring1
37
- polygon.length.should eql(1)
38
- polygon[0].should == linear_ring1
37
+ expect(polygon.length).to eql(1)
38
+ expect(polygon[0]).to eq(linear_ring1)
39
39
 
40
40
  #the validity of the hole is not checked : just for the sake of example
41
41
  polygon << linear_ring2
42
- polygon.length.should eql(2)
43
- polygon[1].should == linear_ring2
42
+ expect(polygon.length).to eql(2)
43
+ expect(polygon[1]).to eq(linear_ring2)
44
44
 
45
45
  polygon = GeoRuby::SimpleFeatures::Polygon.from_linear_rings([linear_ring1,linear_ring2],256)
46
- polygon.class.should eql(GeoRuby::SimpleFeatures::Polygon)
47
- polygon.length.should eql(2)
48
- polygon[0].should == linear_ring1
49
- polygon[1].should == linear_ring2
46
+ expect(polygon.class).to eql(GeoRuby::SimpleFeatures::Polygon)
47
+ expect(polygon.length).to eql(2)
48
+ expect(polygon[0]).to eq(linear_ring1)
49
+ expect(polygon[1]).to eq(linear_ring2)
50
50
 
51
51
  polygon = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[12.4,-45.3],[45.4,41.6],[4.456,1.0698],[12.4,-45.3]],[[2.4,5.3],[5.4,1.4263],[14.46,1.06],[2.4,5.3]]],256)
52
- polygon.class.should eql(GeoRuby::SimpleFeatures::Polygon)
53
- polygon.length.should eql(2)
54
- polygon[0].should == linear_ring1
55
- polygon[1].should == linear_ring2
52
+ expect(polygon.class).to eql(GeoRuby::SimpleFeatures::Polygon)
53
+ expect(polygon.length).to eql(2)
54
+ expect(polygon[0]).to eq(linear_ring1)
55
+ expect(polygon[1]).to eq(linear_ring2)
56
56
 
57
57
  polygon = GeoRuby::SimpleFeatures::Polygon.from_points([[point1,point2,point3,point4],[point5,point6,point7,point8]],256)
58
- polygon.length.should eql(2)
59
- polygon[0].should == linear_ring1
60
- polygon[1].should == linear_ring2
58
+ expect(polygon.length).to eql(2)
59
+ expect(polygon[0]).to eq(linear_ring1)
60
+ expect(polygon[1]).to eq(linear_ring2)
61
61
 
62
62
  polygon = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[12.4,-45.3,15.2],[45.4,41.6,2.4],[4.456,1.0698,5.6],[12.4,-45.3,6.1]],[[2.4,5.3,4.5],[5.4,1.4263,4.2],[14.46,1.06,123.1],[2.4,5.3,4.4]]],256,true)
63
- polygon.class.should eql(GeoRuby::SimpleFeatures::Polygon)
64
- polygon.length.should eql(2)
63
+ expect(polygon.class).to eql(GeoRuby::SimpleFeatures::Polygon)
64
+ expect(polygon.length).to eql(2)
65
65
 
66
66
  linear_ring1 = GeoRuby::SimpleFeatures::LinearRing.from_coordinates([[12.4,-45.3,15.2],[45.4,41.6,2.4],[4.456,1.0698,5.6],[12.4,-45.3,6.1]],256,true)
67
67
  linear_ring2 = GeoRuby::SimpleFeatures::LinearRing.from_coordinates([[2.4,5.3,4.5],[5.4,1.4263,4.2],[14.46,1.06,123.1],[2.4,5.3,4.4]],256,true)
68
- polygon[0].should == linear_ring1
69
- polygon[1].should == linear_ring2
68
+ expect(polygon[0]).to eq(linear_ring1)
69
+ expect(polygon[1]).to eq(linear_ring2)
70
70
  end
71
71
 
72
72
  it "bbox" do
73
73
  bbox = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[12.4,-45.3,15.2],[45.4,41.6,2.4],[4.456,1.0698,5.6],[12.4,-45.3,6.1]],[[2.4,5.3,4.5],[5.4,1.4263,4.2],[14.46,1.06,123.1],[2.4,5.3,4.4]]],256,true).bounding_box
74
- bbox.length.should eql(2)
75
- bbox[0].should == GeoRuby::SimpleFeatures::Point.from_x_y_z(4.456,-45.3,2.4)
76
- bbox[1].should == GeoRuby::SimpleFeatures::Point.from_x_y_z(45.4,41.6,123.1)
74
+ expect(bbox.length).to eql(2)
75
+ expect(bbox[0]).to eq(GeoRuby::SimpleFeatures::Point.from_x_y_z(4.456,-45.3,2.4))
76
+ expect(bbox[1]).to eq(GeoRuby::SimpleFeatures::Point.from_x_y_z(45.4,41.6,123.1))
77
77
  end
78
78
 
79
79
 
@@ -82,39 +82,39 @@ describe GeoRuby::SimpleFeatures::Polygon do
82
82
  polygon2 = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[12.4,-45.3],[45.4,41.6],[4.456,1.0698],[12.4,-45.3]],[[2.4,5.3],[5.4,1.4263],[14.46,1.06]]])
83
83
  point = GeoRuby::SimpleFeatures::Point.from_x_y(12.4,-45.3,123)
84
84
 
85
- polygon1.should == GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[12.4,-45.3],[45.4,41.6],[4.456,1.0698],[12.4,-45.3]],[[2.4,5.3],[5.4,1.4263],[14.46,1.06],[2.4,5.3]]],256)
86
- polygon1.should_not == polygon2
87
- polygon1.should_not == point
85
+ expect(polygon1).to eq(GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[12.4,-45.3],[45.4,41.6],[4.456,1.0698],[12.4,-45.3]],[[2.4,5.3],[5.4,1.4263],[14.46,1.06],[2.4,5.3]]],256))
86
+ expect(polygon1).not_to eq(polygon2)
87
+ expect(polygon1).not_to eq(point)
88
88
  end
89
89
 
90
90
  it "test_polygon_binary" do
91
91
  polygon = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[0,0],[4,0],[4,4],[0,4],[0,0]],[[1,1],[3,1],[3,3],[1,3],[1,1]]],256)
92
92
  #taken from PostGIS answer
93
- polygon.as_hex_ewkb.should eql("0103000020000100000200000005000000000000000000000000000000000000000000000000001040000000000000000000000000000010400000000000001040000000000000000000000000000010400000000000000000000000000000000005000000000000000000F03F000000000000F03F0000000000000840000000000000F03F00000000000008400000000000000840000000000000F03F0000000000000840000000000000F03F000000000000F03F")
93
+ expect(polygon.as_hex_ewkb).to eql("0103000020000100000200000005000000000000000000000000000000000000000000000000001040000000000000000000000000000010400000000000001040000000000000000000000000000010400000000000000000000000000000000005000000000000000000F03F000000000000F03F0000000000000840000000000000F03F00000000000008400000000000000840000000000000F03F0000000000000840000000000000F03F000000000000F03F")
94
94
 
95
95
  polygon = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[0,0,2],[4,0,2],[4,4,2],[0,4,2],[0,0,2]],[[1,1,2],[3,1,2],[3,3,2],[1,3,2],[1,1,2]]],256,true)
96
96
  #taken from PostGIS answer
97
- polygon.as_hex_ewkb.should eql("01030000A000010000020000000500000000000000000000000000000000000000000000000000004000000000000010400000000000000000000000000000004000000000000010400000000000001040000000000000004000000000000000000000000000001040000000000000004000000000000000000000000000000000000000000000004005000000000000000000F03F000000000000F03F00000000000000400000000000000840000000000000F03F0000000000000040000000000000084000000000000008400000000000000040000000000000F03F00000000000008400000000000000040000000000000F03F000000000000F03F0000000000000040")
97
+ expect(polygon.as_hex_ewkb).to eql("01030000A000010000020000000500000000000000000000000000000000000000000000000000004000000000000010400000000000000000000000000000004000000000000010400000000000001040000000000000004000000000000000000000000000001040000000000000004000000000000000000000000000000000000000000000004005000000000000000000F03F000000000000F03F00000000000000400000000000000840000000000000F03F0000000000000040000000000000084000000000000008400000000000000040000000000000F03F00000000000008400000000000000040000000000000F03F000000000000F03F0000000000000040")
98
98
 
99
99
  polygon = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[0,0,2],[4,0,2],[4,4,2],[0,4,2],[0,0,2]],[[1,1,2],[3,1,2],[3,3,2],[1,3,2],[1,1,2]]],256,false,true)
100
- polygon.as_hex_ewkb.should eql("010300006000010000020000000500000000000000000000000000000000000000000000000000004000000000000010400000000000000000000000000000004000000000000010400000000000001040000000000000004000000000000000000000000000001040000000000000004000000000000000000000000000000000000000000000004005000000000000000000F03F000000000000F03F00000000000000400000000000000840000000000000F03F0000000000000040000000000000084000000000000008400000000000000040000000000000F03F00000000000008400000000000000040000000000000F03F000000000000F03F0000000000000040")
100
+ expect(polygon.as_hex_ewkb).to eql("010300006000010000020000000500000000000000000000000000000000000000000000000000004000000000000010400000000000000000000000000000004000000000000010400000000000001040000000000000004000000000000000000000000000001040000000000000004000000000000000000000000000000000000000000000004005000000000000000000F03F000000000000F03F00000000000000400000000000000840000000000000F03F0000000000000040000000000000084000000000000008400000000000000040000000000000F03F00000000000008400000000000000040000000000000F03F000000000000F03F0000000000000040")
101
101
 
102
102
  polygon = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[0,0,2,-45.1],[4,0,2,5],[4,4,2,4.67],[0,4,2,1.34],[0,0,2,-45.1]],[[1,1,2,12.3],[3,1,2,123],[3,3,2,12.2],[1,3,2,12],[1,1,2,12.3]]],256,true,true)
103
- polygon.as_hex_ewkb.should eql("01030000E0000100000200000005000000000000000000000000000000000000000000000000000040CDCCCCCCCC8C46C00000000000001040000000000000000000000000000000400000000000001440000000000000104000000000000010400000000000000040AE47E17A14AE1240000000000000000000000000000010400000000000000040713D0AD7A370F53F000000000000000000000000000000000000000000000040CDCCCCCCCC8C46C005000000000000000000F03F000000000000F03F00000000000000409A999999999928400000000000000840000000000000F03F00000000000000400000000000C05E400000000000000840000000000000084000000000000000406666666666662840000000000000F03F000000000000084000000000000000400000000000002840000000000000F03F000000000000F03F00000000000000409A99999999992840")
103
+ expect(polygon.as_hex_ewkb).to eql("01030000E0000100000200000005000000000000000000000000000000000000000000000000000040CDCCCCCCCC8C46C00000000000001040000000000000000000000000000000400000000000001440000000000000104000000000000010400000000000000040AE47E17A14AE1240000000000000000000000000000010400000000000000040713D0AD7A370F53F000000000000000000000000000000000000000000000040CDCCCCCCCC8C46C005000000000000000000F03F000000000000F03F00000000000000409A999999999928400000000000000840000000000000F03F00000000000000400000000000C05E400000000000000840000000000000084000000000000000406666666666662840000000000000F03F000000000000084000000000000000400000000000002840000000000000F03F000000000000F03F00000000000000409A99999999992840")
104
104
  end
105
105
 
106
106
  it "should test_polygon_text" do
107
107
  polygon = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[0,0],[4,0],[4,4],[0,4],[0,0]],[[1,1],[3,1],[3,3],[1,3],[1,1]]],256)
108
- polygon.as_ewkt.should eql("SRID=256;POLYGON((0 0,4 0,4 4,0 4,0 0),(1 1,3 1,3 3,1 3,1 1))")
108
+ expect(polygon.as_ewkt).to eql("SRID=256;POLYGON((0 0,4 0,4 4,0 4,0 0),(1 1,3 1,3 3,1 3,1 1))")
109
109
 
110
110
  polygon = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[0,0,2],[4,0,2],[4,4,2],[0,4,2],[0,0,2]],[[1,1,2],[3,1,2],[3,3,2],[1,3,2],[1,1,2]]],256,true)
111
- polygon.as_ewkt.should eql("SRID=256;POLYGON((0 0 2,4 0 2,4 4 2,0 4 2,0 0 2),(1 1 2,3 1 2,3 3 2,1 3 2,1 1 2))")
111
+ expect(polygon.as_ewkt).to eql("SRID=256;POLYGON((0 0 2,4 0 2,4 4 2,0 4 2,0 0 2),(1 1 2,3 1 2,3 3 2,1 3 2,1 1 2))")
112
112
 
113
113
  polygon = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[0,0,2],[4,0,2],[4,4,2],[0,4,2],[0,0,2]],[[1,1,2],[3,1,2],[3,3,2],[1,3,2],[1,1,2]]],256,false,true)
114
- polygon.as_ewkt.should eql("SRID=256;POLYGONM((0 0 2,4 0 2,4 4 2,0 4 2,0 0 2),(1 1 2,3 1 2,3 3 2,1 3 2,1 1 2))")
114
+ expect(polygon.as_ewkt).to eql("SRID=256;POLYGONM((0 0 2,4 0 2,4 4 2,0 4 2,0 0 2),(1 1 2,3 1 2,3 3 2,1 3 2,1 1 2))")
115
115
 
116
116
  polygon = GeoRuby::SimpleFeatures::Polygon.from_coordinates([[[0,0,2,-45.1],[4,0,2,5],[4,4,2,4.67],[0,4,2,1.34],[0,0,2,-45.1]],[[1,1,2,12.3],[3,1,2,123],[3,3,2,12.2],[1,3,2,12],[1,1,2,12.3]]],256,true,true)
117
- polygon.as_ewkt.should eql("SRID=256;POLYGON((0 0 2 -45.1,4 0 2 5,4 4 2 4.67,0 4 2 1.34,0 0 2 -45.1),(1 1 2 12.3,3 1 2 123,3 3 2 12.2,1 3 2 12,1 1 2 12.3))")
117
+ expect(polygon.as_ewkt).to eql("SRID=256;POLYGON((0 0 2 -45.1,4 0 2 5,4 4 2 4.67,0 4 2 1.34,0 0 2 -45.1),(1 1 2 12.3,3 1 2 123,3 3 2 12.2,1 3 2 12,1 1 2 12.3))")
118
118
  end
119
119
 
120
120
  end
@@ -6,17 +6,17 @@ describe GeoRuby do
6
6
 
7
7
  it "should instantiate Geometry" do
8
8
  @geo = GeoRuby::SimpleFeatures::Geometry.new
9
- @geo.class.should eql(::GeoRuby::SimpleFeatures::Geometry)
9
+ expect(@geo.class).to eql(::GeoRuby::SimpleFeatures::Geometry)
10
10
  end
11
11
 
12
12
  it "should instantiate Point" do
13
13
  @point = GeoRuby::SimpleFeatures::Point.new
14
- @point.should be_instance_of(::GeoRuby::SimpleFeatures::Point)
14
+ expect(@point).to be_instance_of(::GeoRuby::SimpleFeatures::Point)
15
15
  end
16
16
 
17
17
  it "should instantiate Line" do
18
18
  @line = GeoRuby::SimpleFeatures::LineString.new
19
- @line.should be_instance_of(::GeoRuby::SimpleFeatures::LineString)
19
+ expect(@line).to be_instance_of(::GeoRuby::SimpleFeatures::LineString)
20
20
  end
21
21
 
22
22
  end
data/spec/spec_helper.rb CHANGED
@@ -43,17 +43,17 @@ module GeorubyMatchers
43
43
  [:x, :y, :z, :m].each_with_index do |c, i|
44
44
  next unless val = @expect[i]
45
45
  if val.kind_of? Numeric
46
- actual.send(c).should be_within(0.1).of(val)
46
+ expect(actual.send(c)).to be_within(0.1).of(val)
47
47
  else
48
- actual.send(c).should eql(val)
48
+ expect(actual.send(c)).to eql(val)
49
49
  end
50
50
  end
51
51
  end
52
- actual.should be_instance_of(GeoRuby::SimpleFeatures::Point)
52
+ expect(actual).to be_instance_of(GeoRuby::SimpleFeatures::Point)
53
53
  end
54
54
 
55
55
  def failure_message; "expected #{@expect} but received #{@actual.inspect}"; end
56
- def negative_failure_message; "expected something else then '#{@expect}' but got '#{@actual}'"; end
56
+ def failure_message_when_negated; "expected something else then '#{@expect}' but got '#{@actual}'"; end
57
57
  end
58
58
 
59
59
  def be_a_point(*args)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: georuby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilhem Vellut
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-11-13 00:00:00.000000000 Z
14
+ date: 2014-09-20 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description: GeoRuby provides geometric data types from the OGC 'Simple Features'
17
17
  specification.
@@ -20,79 +20,79 @@ executables: []
20
20
  extensions: []
21
21
  extra_rdoc_files: []
22
22
  files:
23
+ - README.md
24
+ - Rakefile
23
25
  - lib/geo_ruby.rb
24
- - lib/georuby.rb
25
26
  - lib/geo_ruby/geojson.rb
26
- - lib/geo_ruby/gpx4r/gpx.rb
27
+ - lib/geo_ruby/georss.rb
27
28
  - lib/geo_ruby/gpx.rb
29
+ - lib/geo_ruby/gpx4r/gpx.rb
30
+ - lib/geo_ruby/kml.rb
28
31
  - lib/geo_ruby/shp.rb
29
- - lib/geo_ruby/version.rb
30
- - lib/geo_ruby/simple_features/point.rb
31
- - lib/geo_ruby/simple_features/multi_point.rb
32
- - lib/geo_ruby/simple_features/line_string.rb
32
+ - lib/geo_ruby/shp4r/dbf.rb
33
+ - lib/geo_ruby/shp4r/shp.rb
34
+ - lib/geo_ruby/simple_features.rb
33
35
  - lib/geo_ruby/simple_features/circle.rb
34
- - lib/geo_ruby/simple_features/multi_polygon.rb
35
- - lib/geo_ruby/simple_features/ewkt_parser.rb
36
- - lib/geo_ruby/simple_features/helper.rb
37
36
  - lib/geo_ruby/simple_features/envelope.rb
38
- - lib/geo_ruby/simple_features/geometry_factory.rb
37
+ - lib/geo_ruby/simple_features/ewkb_parser.rb
38
+ - lib/geo_ruby/simple_features/ewkt_parser.rb
39
+ - lib/geo_ruby/simple_features/geometry.rb
39
40
  - lib/geo_ruby/simple_features/geometry_collection.rb
40
- - lib/geo_ruby/simple_features/multi_line_string.rb
41
+ - lib/geo_ruby/simple_features/geometry_factory.rb
42
+ - lib/geo_ruby/simple_features/helper.rb
43
+ - lib/geo_ruby/simple_features/line_string.rb
41
44
  - lib/geo_ruby/simple_features/linear_ring.rb
45
+ - lib/geo_ruby/simple_features/multi_line_string.rb
46
+ - lib/geo_ruby/simple_features/multi_point.rb
47
+ - lib/geo_ruby/simple_features/multi_polygon.rb
48
+ - lib/geo_ruby/simple_features/point.rb
42
49
  - lib/geo_ruby/simple_features/polygon.rb
43
- - lib/geo_ruby/simple_features/geometry.rb
44
- - lib/geo_ruby/simple_features/ewkb_parser.rb
45
- - lib/geo_ruby/simple_features.rb
46
- - lib/geo_ruby/shp4r/shp.rb
47
- - lib/geo_ruby/shp4r/dbf.rb
48
- - lib/geo_ruby/kml.rb
49
- - lib/geo_ruby/georss.rb
50
- - spec/geo_ruby_spec.rb
51
- - spec/data/point.dbf
50
+ - lib/geo_ruby/version.rb
51
+ - lib/georuby.rb
52
+ - spec/data/geojson/feature_collection.json
53
+ - spec/data/georss/atom.xml
54
+ - spec/data/georss/gml.xml
55
+ - spec/data/georss/w3c.xml
52
56
  - spec/data/gpx/fells_loop.gpx
53
57
  - spec/data/gpx/long.gpx
54
58
  - spec/data/gpx/long.kml
55
- - spec/data/gpx/tracktreks.gpx
56
59
  - spec/data/gpx/long.nmea
57
60
  - spec/data/gpx/short.gpx
58
61
  - spec/data/gpx/short.kml
59
- - spec/data/polygon.dbf
62
+ - spec/data/gpx/tracktreks.gpx
63
+ - spec/data/multipoint.dbf
60
64
  - spec/data/multipoint.shp
65
+ - spec/data/multipoint.shx
66
+ - spec/data/point.dbf
61
67
  - spec/data/point.shp
62
- - spec/data/polyline.shx
63
- - spec/data/multipoint.dbf
64
- - spec/data/geojson/feature_collection.json
65
- - spec/data/polyline.shp
66
68
  - spec/data/point.shx
67
- - spec/data/polyline.dbf
68
- - spec/data/multipoint.shx
69
- - spec/data/georss/w3c.xml
70
- - spec/data/georss/atom.xml
71
- - spec/data/georss/gml.xml
72
- - spec/data/polygon.shx
69
+ - spec/data/polygon.dbf
73
70
  - spec/data/polygon.shp
74
- - spec/spec_helper.rb
75
- - spec/geo_ruby/kml_spec.rb
76
- - spec/geo_ruby/gpx4r/gpx_spec.rb
71
+ - spec/data/polygon.shx
72
+ - spec/data/polyline.dbf
73
+ - spec/data/polyline.shp
74
+ - spec/data/polyline.shx
77
75
  - spec/geo_ruby/geojson_spec.rb
78
- - spec/geo_ruby/simple_features/multi_line_string_spec.rb
76
+ - spec/geo_ruby/georss_spec.rb
77
+ - spec/geo_ruby/gpx4r/gpx_spec.rb
78
+ - spec/geo_ruby/kml_spec.rb
79
+ - spec/geo_ruby/shp4r/shp_spec.rb
80
+ - spec/geo_ruby/simple_features/circle_spec.rb
81
+ - spec/geo_ruby/simple_features/envelope_spec.rb
79
82
  - spec/geo_ruby/simple_features/ewkb_parser_spec.rb
80
- - spec/geo_ruby/simple_features/geometry_spec.rb
81
- - spec/geo_ruby/simple_features/line_string_spec.rb
82
83
  - spec/geo_ruby/simple_features/ewkt_parser_spec.rb
83
84
  - spec/geo_ruby/simple_features/geometry_collection_spec.rb
84
- - spec/geo_ruby/simple_features/envelope_spec.rb
85
85
  - spec/geo_ruby/simple_features/geometry_factory_spec.rb
86
- - spec/geo_ruby/simple_features/circle_spec.rb
86
+ - spec/geo_ruby/simple_features/geometry_spec.rb
87
+ - spec/geo_ruby/simple_features/line_string_spec.rb
88
+ - spec/geo_ruby/simple_features/linear_ring_spec.rb
89
+ - spec/geo_ruby/simple_features/multi_line_string_spec.rb
90
+ - spec/geo_ruby/simple_features/multi_point_spec.rb
87
91
  - spec/geo_ruby/simple_features/multi_polygon_spec.rb
88
- - spec/geo_ruby/simple_features/polygon_spec.rb
89
92
  - spec/geo_ruby/simple_features/point_spec.rb
90
- - spec/geo_ruby/simple_features/multi_point_spec.rb
91
- - spec/geo_ruby/simple_features/linear_ring_spec.rb
92
- - spec/geo_ruby/georss_spec.rb
93
- - spec/geo_ruby/shp4r/shp_spec.rb
94
- - README.md
95
- - Rakefile
93
+ - spec/geo_ruby/simple_features/polygon_spec.rb
94
+ - spec/geo_ruby_spec.rb
95
+ - spec/spec_helper.rb
96
96
  homepage: http://github.com/nofxx/georuby
97
97
  licenses:
98
98
  - MIT
@@ -103,17 +103,17 @@ require_paths:
103
103
  - lib
104
104
  required_ruby_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
- - - '>='
106
+ - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - '>='
111
+ - - ">="
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
115
  rubyforge_project:
116
- rubygems_version: 2.0.7
116
+ rubygems_version: 2.2.2
117
117
  signing_key:
118
118
  specification_version: 4
119
119
  summary: Ruby data holder for OGC Simple Features