nofxx-georuby 1.7.3 → 1.9.0
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.
- data/README.rdoc +184 -0
- data/Rakefile +5 -4
- data/VERSION +1 -1
- data/lib/geo_ruby.rb +1 -0
- data/lib/geo_ruby/simple_features/envelope.rb +1 -1
- data/lib/geo_ruby/simple_features/ewkb_parser.rb +16 -17
- data/lib/geo_ruby/simple_features/geojson_parser.rb +132 -0
- data/lib/geo_ruby/simple_features/geometry.rb +8 -0
- data/lib/geo_ruby/simple_features/geometry_collection.rb +8 -0
- data/lib/geo_ruby/simple_features/line_string.rb +12 -0
- data/lib/geo_ruby/simple_features/multi_line_string.rb +12 -0
- data/lib/geo_ruby/simple_features/multi_point.rb +12 -0
- data/lib/geo_ruby/simple_features/multi_polygon.rb +12 -0
- data/lib/geo_ruby/simple_features/point.rb +17 -0
- data/lib/geo_ruby/simple_features/polygon.rb +12 -0
- data/marcusmateus-georuby.gemspec +136 -0
- data/spec/data/geojson/feature_collection.json +34 -0
- data/spec/geo_ruby/gpx4r/gpx_spec.rb +10 -10
- data/spec/geo_ruby/shp4r/shp_spec.rb +4 -4
- data/spec/geo_ruby/simple_features/envelope_spec.rb +3 -1
- data/spec/geo_ruby/simple_features/geojson_parser_spec.rb +147 -0
- data/spec/geo_ruby/simple_features/geometry_spec.rb +1 -1
- data/spec/geo_ruby/simple_features/point_spec.rb +27 -27
- data/spec/spec_helper.rb +13 -6
- metadata +51 -31
- data/.gitignore +0 -6
- data/README.txt +0 -118
- data/nofxx-georuby.gemspec +0 -132
data/nofxx-georuby.gemspec
DELETED
@@ -1,132 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{nofxx-georuby}
|
8
|
-
s.version = "1.7.3"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Guilhem Vellut", "Marcos Piccinini"]
|
12
|
-
s.date = %q{2010-09-20}
|
13
|
-
s.description = %q{GeoRuby provides geometric data types from the OGC 'Simple Features' specification.}
|
14
|
-
s.email = %q{x@nofxx.com}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"LICENSE",
|
17
|
-
"README.txt"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
".gitignore",
|
21
|
-
"History.txt",
|
22
|
-
"LICENSE",
|
23
|
-
"README.txt",
|
24
|
-
"Rakefile",
|
25
|
-
"VERSION",
|
26
|
-
"lib/geo_ruby.rb",
|
27
|
-
"lib/geo_ruby/gpx.rb",
|
28
|
-
"lib/geo_ruby/gpx4r/gpx.rb",
|
29
|
-
"lib/geo_ruby/shp.rb",
|
30
|
-
"lib/geo_ruby/shp4r/dbf.rb",
|
31
|
-
"lib/geo_ruby/shp4r/shp.rb",
|
32
|
-
"lib/geo_ruby/simple_features/envelope.rb",
|
33
|
-
"lib/geo_ruby/simple_features/ewkb_parser.rb",
|
34
|
-
"lib/geo_ruby/simple_features/ewkt_parser.rb",
|
35
|
-
"lib/geo_ruby/simple_features/geometry.rb",
|
36
|
-
"lib/geo_ruby/simple_features/geometry_collection.rb",
|
37
|
-
"lib/geo_ruby/simple_features/geometry_factory.rb",
|
38
|
-
"lib/geo_ruby/simple_features/georss_parser.rb",
|
39
|
-
"lib/geo_ruby/simple_features/helper.rb",
|
40
|
-
"lib/geo_ruby/simple_features/line_string.rb",
|
41
|
-
"lib/geo_ruby/simple_features/linear_ring.rb",
|
42
|
-
"lib/geo_ruby/simple_features/multi_line_string.rb",
|
43
|
-
"lib/geo_ruby/simple_features/multi_point.rb",
|
44
|
-
"lib/geo_ruby/simple_features/multi_polygon.rb",
|
45
|
-
"lib/geo_ruby/simple_features/point.rb",
|
46
|
-
"lib/geo_ruby/simple_features/polygon.rb",
|
47
|
-
"nofxx-georuby.gemspec",
|
48
|
-
"script/console",
|
49
|
-
"script/destroy",
|
50
|
-
"script/generate",
|
51
|
-
"script/txt2html",
|
52
|
-
"spec/data/gpx/fells_loop.gpx",
|
53
|
-
"spec/data/gpx/long.gpx",
|
54
|
-
"spec/data/gpx/long.kml",
|
55
|
-
"spec/data/gpx/long.nmea",
|
56
|
-
"spec/data/gpx/short.gpx",
|
57
|
-
"spec/data/gpx/short.kml",
|
58
|
-
"spec/data/gpx/tracktreks.gpx",
|
59
|
-
"spec/data/multipoint.dbf",
|
60
|
-
"spec/data/multipoint.shp",
|
61
|
-
"spec/data/multipoint.shx",
|
62
|
-
"spec/data/point.dbf",
|
63
|
-
"spec/data/point.shp",
|
64
|
-
"spec/data/point.shx",
|
65
|
-
"spec/data/polygon.dbf",
|
66
|
-
"spec/data/polygon.shp",
|
67
|
-
"spec/data/polygon.shx",
|
68
|
-
"spec/data/polyline.dbf",
|
69
|
-
"spec/data/polyline.shp",
|
70
|
-
"spec/data/polyline.shx",
|
71
|
-
"spec/geo_ruby/gpx4r/gpx_spec.rb",
|
72
|
-
"spec/geo_ruby/shp4r/shp_spec.rb",
|
73
|
-
"spec/geo_ruby/simple_features/envelope_spec.rb",
|
74
|
-
"spec/geo_ruby/simple_features/ewkb_parser_spec.rb",
|
75
|
-
"spec/geo_ruby/simple_features/ewkt_parser_spec.rb",
|
76
|
-
"spec/geo_ruby/simple_features/geometry_collection_spec.rb",
|
77
|
-
"spec/geo_ruby/simple_features/geometry_factory_spec.rb",
|
78
|
-
"spec/geo_ruby/simple_features/geometry_spec.rb",
|
79
|
-
"spec/geo_ruby/simple_features/georss_parser_spec.rb",
|
80
|
-
"spec/geo_ruby/simple_features/line_string_spec.rb",
|
81
|
-
"spec/geo_ruby/simple_features/linear_ring_spec.rb",
|
82
|
-
"spec/geo_ruby/simple_features/multi_line_string_spec.rb",
|
83
|
-
"spec/geo_ruby/simple_features/multi_point_spec.rb",
|
84
|
-
"spec/geo_ruby/simple_features/multi_polygon_spec.rb",
|
85
|
-
"spec/geo_ruby/simple_features/point_spec.rb",
|
86
|
-
"spec/geo_ruby/simple_features/polygon_spec.rb",
|
87
|
-
"spec/geo_ruby_spec.rb",
|
88
|
-
"spec/spec_helper.rb"
|
89
|
-
]
|
90
|
-
s.homepage = %q{http://github.com/nofxx/georuby}
|
91
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
92
|
-
s.require_paths = ["lib"]
|
93
|
-
s.rubygems_version = %q{1.3.7}
|
94
|
-
s.summary = %q{Ruby data holder for OGC Simple Features}
|
95
|
-
s.test_files = [
|
96
|
-
"spec/geo_ruby_spec.rb",
|
97
|
-
"spec/spec_helper.rb",
|
98
|
-
"spec/geo_ruby/gpx4r/gpx_spec.rb",
|
99
|
-
"spec/geo_ruby/shp4r/shp_spec.rb",
|
100
|
-
"spec/geo_ruby/simple_features/point_spec.rb",
|
101
|
-
"spec/geo_ruby/simple_features/geometry_factory_spec.rb",
|
102
|
-
"spec/geo_ruby/simple_features/envelope_spec.rb",
|
103
|
-
"spec/geo_ruby/simple_features/polygon_spec.rb",
|
104
|
-
"spec/geo_ruby/simple_features/line_string_spec.rb",
|
105
|
-
"spec/geo_ruby/simple_features/multi_line_string_spec.rb",
|
106
|
-
"spec/geo_ruby/simple_features/ewkt_parser_spec.rb",
|
107
|
-
"spec/geo_ruby/simple_features/ewkb_parser_spec.rb",
|
108
|
-
"spec/geo_ruby/simple_features/linear_ring_spec.rb",
|
109
|
-
"spec/geo_ruby/simple_features/geometry_collection_spec.rb",
|
110
|
-
"spec/geo_ruby/simple_features/multi_polygon_spec.rb",
|
111
|
-
"spec/geo_ruby/simple_features/multi_point_spec.rb",
|
112
|
-
"spec/geo_ruby/simple_features/georss_parser_spec.rb",
|
113
|
-
"spec/geo_ruby/simple_features/geometry_spec.rb"
|
114
|
-
]
|
115
|
-
|
116
|
-
if s.respond_to? :specification_version then
|
117
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
118
|
-
s.specification_version = 3
|
119
|
-
|
120
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
121
|
-
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
122
|
-
s.add_development_dependency(%q<dbf>, [">= 1.1.2"])
|
123
|
-
else
|
124
|
-
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
125
|
-
s.add_dependency(%q<dbf>, [">= 1.1.2"])
|
126
|
-
end
|
127
|
-
else
|
128
|
-
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
129
|
-
s.add_dependency(%q<dbf>, [">= 1.1.2"])
|
130
|
-
end
|
131
|
-
end
|
132
|
-
|