ffi-gdal 1.0.0.beta5 → 1.0.0.beta6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +7 -3
- data/.rubocop.yml +7 -0
- data/.ruby-version +1 -0
- data/Gemfile +1 -1
- data/History.md +143 -1
- data/README.md +5 -11
- data/Rakefile +2 -60
- data/TODO.md +10 -0
- data/examples/geometries.rb +4 -6
- data/examples/gridding.rb +99 -98
- data/examples/ogr_layer_to_layer.rb +0 -2
- data/examples/raster_erasing.rb +47 -0
- data/examples/remove_small_polygons.rb +62 -0
- data/examples/testing_gdal.rb +0 -3
- data/examples/warping.rb +140 -0
- data/ffi-gdal.gemspec +5 -2
- data/lib/ext/error_symbols.rb +1 -1
- data/lib/ext/ffi_library_function_checks.rb +3 -2
- data/lib/ext/float_ext.rb +2 -2
- data/lib/ext/narray_ext.rb +1 -1
- data/lib/ext/numeric_as_data_type.rb +1 -1
- data/lib/ext/to_bool.rb +2 -2
- data/lib/ffi/cpl/conv.rb +1 -3
- data/lib/ffi/cpl/error.rb +0 -3
- data/lib/ffi/cpl/minixml.rb +17 -21
- data/lib/ffi/cpl/progress.rb +27 -0
- data/lib/ffi/cpl/string.rb +0 -8
- data/lib/ffi/cpl/vsi.rb +0 -1
- data/lib/ffi/cpl/xml_node.rb +0 -1
- data/lib/ffi/cpl.rb +15 -0
- data/lib/ffi/gdal/alg.rb +72 -54
- data/lib/ffi/gdal/gdal.rb +669 -672
- data/lib/ffi/gdal/grid.rb +141 -24
- data/lib/ffi/gdal/grid_data_metrics_options.rb +1 -1
- data/lib/ffi/gdal/grid_moving_average_options.rb +1 -1
- data/lib/ffi/gdal/matching.rb +0 -2
- data/lib/ffi/gdal/transformer_info.rb +1 -1
- data/lib/ffi/gdal/version.rb +1 -1
- data/lib/ffi/gdal/vrt.rb +0 -2
- data/lib/ffi/gdal/warp_options.rb +12 -14
- data/lib/ffi/gdal/warper.rb +61 -6
- data/lib/ffi/gdal.rb +18 -3
- data/lib/ffi/ogr/api.rb +10 -21
- data/lib/ffi/ogr/core.rb +9 -12
- data/lib/ffi/ogr/featurestyle.rb +0 -5
- data/lib/ffi/ogr/geocoding.rb +0 -1
- data/lib/ffi/ogr/srs_api.rb +0 -4
- data/lib/ffi/ogr/style_value.rb +1 -2
- data/lib/ffi/ogr.rb +15 -12
- data/lib/ffi-gdal.rb +5 -3
- data/lib/gdal/color_entry.rb +1 -0
- data/lib/gdal/color_interpretation.rb +2 -2
- data/lib/gdal/color_table.rb +14 -14
- data/lib/gdal/color_table_mixins/extensions.rb +4 -4
- data/lib/gdal/cpl_error_handler.rb +12 -14
- data/lib/gdal/data_type.rb +13 -12
- data/lib/gdal/dataset.rb +170 -94
- data/lib/gdal/dataset_mixins/algorithm_methods.rb +47 -21
- data/lib/gdal/dataset_mixins/extensions.rb +32 -61
- data/lib/gdal/dataset_mixins/matching.rb +0 -2
- data/lib/gdal/dataset_mixins/warp_methods.rb +42 -0
- data/lib/gdal/driver.rb +62 -47
- data/lib/gdal/driver_mixins/extensions.rb +2 -7
- data/lib/gdal/environment_methods.rb +13 -10
- data/lib/gdal/exceptions.rb +24 -2
- data/lib/gdal/geo_transform.rb +10 -16
- data/lib/gdal/geo_transform_mixins/extensions.rb +58 -3
- data/lib/gdal/grid.rb +62 -109
- data/lib/gdal/{grid_types → grid_algorithms}/data_metrics_base.rb +1 -3
- data/lib/gdal/{grid_types → grid_algorithms}/inverse_distance_to_a_power.rb +2 -4
- data/lib/gdal/{grid_types → grid_algorithms}/metric_average_distance.rb +2 -2
- data/lib/gdal/{grid_types → grid_algorithms}/metric_average_distance_pts.rb +2 -2
- data/lib/gdal/{grid_types → grid_algorithms}/metric_count.rb +2 -2
- data/lib/gdal/{grid_types → grid_algorithms}/metric_maximum.rb +2 -2
- data/lib/gdal/{grid_types → grid_algorithms}/metric_minimum.rb +2 -2
- data/lib/gdal/{grid_types → grid_algorithms}/metric_range.rb +2 -2
- data/lib/gdal/{grid_types → grid_algorithms}/moving_average.rb +2 -4
- data/lib/gdal/{grid_types → grid_algorithms}/nearest_neighbor.rb +2 -4
- data/lib/gdal/grid_algorithms.rb +22 -0
- data/lib/gdal/gridder/point_extracting.rb +89 -0
- data/lib/gdal/gridder.rb +294 -0
- data/lib/gdal/gridder_options.rb +273 -0
- data/lib/gdal/internal_helpers.rb +132 -23
- data/lib/gdal/major_object.rb +13 -10
- data/lib/gdal/merger.rb +130 -0
- data/lib/gdal/options.rb +3 -2
- data/lib/gdal/raster_attribute_table.rb +74 -51
- data/lib/gdal/raster_attribute_table_mixins/extensions.rb +21 -3
- data/lib/gdal/raster_band.rb +139 -167
- data/lib/gdal/raster_band_classifier.rb +19 -18
- data/lib/gdal/raster_band_mixins/algorithm_extensions.rb +107 -0
- data/lib/gdal/raster_band_mixins/algorithm_methods.rb +79 -40
- data/lib/gdal/raster_band_mixins/coloring_extensions.rb +84 -0
- data/lib/gdal/raster_band_mixins/extensions.rb +34 -169
- data/lib/gdal/raster_band_mixins/io_extensions.rb +180 -0
- data/lib/gdal/rpc_info.rb +1 -2
- data/lib/gdal/transformer.rb +1 -6
- data/lib/gdal/transformers/approximate_transformer.rb +0 -4
- data/lib/gdal/transformers/base_general_image_projection_transformer.rb +0 -6
- data/lib/gdal/transformers/gcp_transformer.rb +2 -6
- data/lib/gdal/transformers/general_image_projection_transformer.rb +8 -7
- data/lib/gdal/transformers/general_image_projection_transformer2.rb +1 -1
- data/lib/gdal/transformers/geolocation_transformer.rb +0 -4
- data/lib/gdal/transformers/reprojection_transformer.rb +0 -8
- data/lib/gdal/transformers/rpc_transformer.rb +0 -4
- data/lib/gdal/transformers/tps_transformer.rb +1 -3
- data/lib/gdal/version_info.rb +7 -8
- data/lib/gdal/virtual_dataset.rb +2 -4
- data/lib/gdal/warp_operation.rb +17 -14
- data/lib/gdal/warp_options.rb +132 -0
- data/lib/gdal.rb +41 -2
- data/lib/ogr/coordinate_transformation.rb +79 -32
- data/lib/ogr/data_source.rb +17 -14
- data/lib/ogr/data_source_extensions.rb +1 -5
- data/lib/ogr/driver.rb +11 -14
- data/lib/ogr/envelope.rb +1 -1
- data/lib/ogr/envelope_extensions.rb +23 -6
- data/lib/ogr/error_handling.rb +3 -3
- data/lib/ogr/exceptions.rb +6 -0
- data/lib/ogr/feature.rb +25 -38
- data/lib/ogr/feature_definition.rb +6 -8
- data/lib/ogr/feature_definition_extensions.rb +2 -6
- data/lib/ogr/feature_extensions.rb +71 -41
- data/lib/ogr/field.rb +16 -15
- data/lib/ogr/field_definition.rb +4 -4
- data/lib/ogr/geocoder.rb +5 -5
- data/lib/ogr/geometries/geometry_collection.rb +4 -1
- data/lib/ogr/geometries/geometry_collection_25d.rb +12 -0
- data/lib/ogr/geometries/line_string.rb +30 -8
- data/lib/ogr/geometries/line_string_25d.rb +21 -0
- data/lib/ogr/geometries/linear_ring.rb +10 -1
- data/lib/ogr/geometries/multi_line_string.rb +2 -1
- data/lib/ogr/geometries/multi_line_string_25d.rb +13 -0
- data/lib/ogr/geometries/multi_point.rb +2 -1
- data/lib/ogr/geometries/multi_point_25d.rb +14 -0
- data/lib/ogr/geometries/multi_polygon.rb +3 -2
- data/lib/ogr/geometries/multi_polygon_25d.rb +13 -0
- data/lib/ogr/geometries/point.rb +20 -23
- data/lib/ogr/geometries/point_25d.rb +48 -0
- data/lib/ogr/geometries/polygon.rb +4 -1
- data/lib/ogr/geometries/polygon_25d.rb +14 -0
- data/lib/ogr/geometry.rb +125 -93
- data/lib/ogr/geometry_field_definition.rb +7 -5
- data/lib/ogr/geometry_mixins/container_mixins.rb +23 -0
- data/lib/ogr/geometry_mixins/extensions.rb +111 -0
- data/lib/ogr/geometry_types/container.rb +10 -3
- data/lib/ogr/geometry_types/curve.rb +68 -23
- data/lib/ogr/geometry_types/surface.rb +0 -9
- data/lib/ogr/internal_helpers.rb +3 -3
- data/lib/ogr/layer.rb +4 -5
- data/lib/ogr/layer_mixins/extensions.rb +242 -17
- data/lib/ogr/layer_mixins/ogr_feature_methods.rb +11 -11
- data/lib/ogr/layer_mixins/ogr_field_methods.rb +6 -11
- data/lib/ogr/layer_mixins/ogr_layer_method_methods.rb +18 -18
- data/lib/ogr/layer_mixins/ogr_query_filter_methods.rb +0 -2
- data/lib/ogr/layer_mixins/ogr_sql_methods.rb +1 -1
- data/lib/ogr/spatial_reference.rb +12 -37
- data/lib/ogr/spatial_reference_mixins/coordinate_system_getter_setters.rb +53 -55
- data/lib/ogr/spatial_reference_mixins/exporters.rb +18 -49
- data/lib/ogr/spatial_reference_mixins/parameter_getter_setters.rb +10 -29
- data/lib/ogr/style_table.rb +2 -2
- data/lib/ogr/style_table_extensions.rb +3 -1
- data/lib/ogr/style_tool.rb +8 -14
- data/lib/ogr.rb +39 -1
- data/spec/ffi-gdal_spec.rb +18 -1
- data/spec/integration/gdal/color_table_info_spec.rb +49 -33
- data/spec/integration/gdal/dataset_info_spec.rb +294 -45
- data/spec/integration/gdal/driver_info_spec.rb +139 -31
- data/spec/integration/gdal/geo_transform_info_spec.rb +197 -26
- data/spec/integration/gdal/gridder_spec.rb +329 -0
- data/spec/integration/gdal/raster_attribute_table_info_spec.rb +216 -11
- data/spec/integration/gdal/raster_band_algorithms_spec.rb +33 -0
- data/spec/integration/gdal/raster_band_info_spec.rb +240 -271
- data/spec/integration/ogr/layer_spec.rb +3 -1
- data/spec/spec_helper.rb +15 -6
- data/spec/support/images/osgeo/gdal/data/hfa/float-rle.img +0 -0
- data/spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.lgo +31 -0
- data/spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif +0 -0
- data/spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif.msk +0 -0
- data/spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.txt +10 -0
- data/spec/support/images/osgeo/geotiff/gdal_eg/cea.tif +0 -0
- data/spec/support/images/osgeo/geotiff/gdal_eg/cea.txt +84 -0
- data/spec/support/images/osgeo/geotiff/zi_imaging/image0.lgo +45 -0
- data/spec/support/images/osgeo/geotiff/zi_imaging/image0.tif +0 -0
- data/spec/support/integration_help.rb +32 -2
- data/spec/support/shared_examples/gdal/major_object_examples.rb +0 -6
- data/spec/support/shared_examples/ogr/a_geometry.rb +1 -1
- data/spec/unit/ffi/gdal_spec.rb +1 -1
- data/spec/unit/gdal/color_entry_spec.rb +1 -0
- data/spec/unit/gdal/color_interpretation_spec.rb +1 -0
- data/spec/unit/gdal/dataset_spec.rb +53 -2
- data/spec/unit/gdal/geo_transform_mixins/extensions_spec.rb +67 -0
- data/spec/unit/gdal/geo_transform_spec.rb +1 -1
- data/spec/unit/gdal/grid_spec.rb +83 -0
- data/spec/unit/gdal/gridder/point_extracting_spec.rb +99 -0
- data/spec/unit/gdal/gridder_options_spec.rb +183 -0
- data/spec/unit/gdal/gridder_spec.rb +140 -0
- data/spec/unit/gdal/internal_helpers_spec.rb +166 -2
- data/spec/unit/gdal/major_object_spec.rb +2 -0
- data/spec/unit/gdal/options_spec.rb +1 -0
- data/spec/unit/gdal/raster_band_classifier_spec.rb +70 -12
- data/spec/unit/gdal/raster_band_mixins/extensions_spec.rb +71 -0
- data/spec/unit/gdal/raster_band_mixins/io_extensions_spec.rb +133 -0
- data/spec/unit/gdal/raster_band_spec.rb +1 -0
- data/spec/unit/gdal/rpc_info_spec.rb +1 -0
- data/spec/unit/gdal/version_info_spec.rb +2 -0
- data/spec/unit/gdal/warp_operation_spec.rb +1 -0
- data/spec/unit/ogr/coordinate_transformation_spec.rb +102 -0
- data/spec/unit/ogr/data_source_spec.rb +12 -0
- data/spec/unit/ogr/feature_extensions_spec.rb +88 -0
- data/spec/unit/ogr/feature_spec.rb +30 -46
- data/spec/unit/ogr/geometries/geometry_collection_25d_spec.rb +23 -0
- data/spec/unit/ogr/geometries/geometry_collection_spec.rb +3 -3
- data/spec/unit/ogr/geometries/line_string_25d_spec.rb +23 -0
- data/spec/unit/ogr/geometries/line_string_spec.rb +2 -2
- data/spec/unit/ogr/geometries/linear_ring_spec.rb +2 -2
- data/spec/unit/ogr/geometries/multi_line_string_25d_spec.rb +23 -0
- data/spec/unit/ogr/geometries/multi_point_25d_spec.rb +23 -0
- data/spec/unit/ogr/geometries/multi_polygon_25d_spec.rb +23 -0
- data/spec/unit/ogr/geometries/point_25d_spec.rb +23 -0
- data/spec/unit/ogr/geometries/point_spec.rb +14 -24
- data/spec/unit/ogr/geometries/polygon_25d_spec.rb +23 -0
- data/spec/unit/ogr/geometries/polygon_spec.rb +1 -1
- data/spec/unit/ogr/geometry_field_definition_spec.rb +1 -1
- data/spec/unit/ogr/geometry_spec.rb +196 -30
- data/spec/unit/ogr/internal_helpers_spec.rb +20 -9
- data/spec/unit/ogr/layer_mixins/ogr_feature_methods_spec.rb +14 -6
- data/spec/unit/ogr/spatial_reference_mixins/exporters_spec.rb +9 -1
- data/spec/unit/ogr/spatial_reference_mixins/parameter_getter_setters_spec.rb +2 -1
- data/spec/unit/ogr/style_table_spec.rb +1 -1
- data/tmp/.keep +0 -0
- metadata +121 -19
- data/examples/points.txt +0 -127
- data/lib/gdal/grid_types.rb +0 -22
- data/lib/ogr/geometries/point_extensions.rb +0 -32
- data/lib/ogr/geometry_extensions.rb +0 -59
@@ -2,55 +2,66 @@ require 'spec_helper'
|
|
2
2
|
require 'ogr/internal_helpers'
|
3
3
|
|
4
4
|
RSpec.describe OGR::InternalHelpers do
|
5
|
+
subject(:tester) do
|
6
|
+
module Tester
|
7
|
+
include OGR::InternalHelpers
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
5
11
|
describe '._boolean_access_flag' do
|
6
12
|
context "when 'w'" do
|
7
|
-
subject {
|
13
|
+
subject { tester._boolean_access_flag('w') }
|
8
14
|
it { is_expected.to eq true }
|
9
15
|
end
|
10
16
|
|
11
17
|
context "when 'r'" do
|
12
|
-
subject {
|
18
|
+
subject { tester._boolean_access_flag('r') }
|
13
19
|
it { is_expected.to eq false }
|
14
20
|
end
|
15
21
|
|
16
22
|
context 'when anything else' do
|
17
23
|
it 'raises a RuntimeError' do
|
18
|
-
expect {
|
24
|
+
expect { tester._boolean_access_flag('a') }.to raise_exception RuntimeError
|
19
25
|
end
|
20
26
|
end
|
21
27
|
end
|
22
28
|
|
23
29
|
describe '._format_time_zone_for_ruby' do
|
24
30
|
context 'time_zone is 0' do
|
25
|
-
subject {
|
31
|
+
subject { tester._format_time_zone_for_ruby(0) }
|
26
32
|
it { is_expected.to be_nil }
|
27
33
|
end
|
28
34
|
|
29
35
|
context 'time_zone is 1' do
|
30
|
-
subject {
|
36
|
+
subject { tester._format_time_zone_for_ruby(1) }
|
31
37
|
it { is_expected.to be_a String }
|
32
38
|
it { is_expected.to_not be_empty }
|
33
39
|
end
|
34
40
|
|
35
41
|
context 'time_zone is 100' do
|
36
|
-
subject {
|
42
|
+
subject { tester._format_time_zone_for_ruby(100) }
|
37
43
|
it { is_expected.to eq '+0' }
|
38
44
|
end
|
39
45
|
end
|
40
46
|
|
41
47
|
describe '._format_time_zone_for_ogr' do
|
42
48
|
context 'GMT' do
|
43
|
-
subject {
|
49
|
+
subject { tester._format_time_zone_for_ogr('GMT') }
|
50
|
+
it { is_expected.to eq 100 }
|
51
|
+
end
|
52
|
+
|
53
|
+
context '+00:00' do
|
54
|
+
subject { tester._format_time_zone_for_ogr('+00:00') }
|
44
55
|
it { is_expected.to eq 100 }
|
45
56
|
end
|
46
57
|
|
47
58
|
context 'not nil and not GMT' do
|
48
|
-
subject {
|
59
|
+
subject { tester._format_time_zone_for_ogr('asdf') }
|
49
60
|
it { is_expected.to eq 1 }
|
50
61
|
end
|
51
62
|
|
52
63
|
context 'nil' do
|
53
|
-
subject {
|
64
|
+
subject { tester._format_time_zone_for_ogr(nil) }
|
54
65
|
it { is_expected.to eq 0 }
|
55
66
|
end
|
56
67
|
end
|
@@ -111,10 +111,12 @@ RSpec.describe OGR::Layer do
|
|
111
111
|
end
|
112
112
|
|
113
113
|
context 'has a feature' do
|
114
|
-
before {
|
114
|
+
before { layer.create_feature(OGR::Feature.new(layer.feature_definition)) }
|
115
|
+
subject { layer.next_feature }
|
116
|
+
after { subject.destroy! }
|
115
117
|
|
116
118
|
it 'returns an OGR::Feature' do
|
117
|
-
expect(subject
|
119
|
+
expect(subject).to be_a OGR::Feature
|
118
120
|
end
|
119
121
|
end
|
120
122
|
end
|
@@ -129,16 +131,22 @@ RSpec.describe OGR::Layer do
|
|
129
131
|
|
130
132
|
context 'features exist' do
|
131
133
|
let!(:feature1) do
|
132
|
-
|
134
|
+
layer.create_feature(OGR::Feature.new(layer.feature_definition))
|
133
135
|
end
|
134
136
|
|
135
137
|
let!(:feature2) do
|
136
|
-
|
138
|
+
layer.create_feature(OGR::Feature.new(layer.feature_definition))
|
137
139
|
end
|
138
140
|
|
141
|
+
subject do
|
142
|
+
layer.next_feature_index = 1
|
143
|
+
layer.next_feature
|
144
|
+
end
|
145
|
+
|
146
|
+
after { subject.destroy! }
|
147
|
+
|
139
148
|
it 'sets to the given feature' do
|
140
|
-
subject.
|
141
|
-
expect(subject.next_feature).to_not be_nil
|
149
|
+
expect(subject).to_not be_nil
|
142
150
|
end
|
143
151
|
end
|
144
152
|
end
|
@@ -80,8 +80,16 @@ RSpec.describe OGR::SpatialReference do
|
|
80
80
|
context 'known projection' do
|
81
81
|
subject { described_class.new_from_epsg(4322) }
|
82
82
|
|
83
|
+
let(:expected_wkt) do
|
84
|
+
'GEOGCS["WGS 72",DATUM["WGS_1972",SPHEROID["WGS 72",6378135,298.26,' \
|
85
|
+
'AUTHORITY["EPSG","7043"]],TOWGS84[0,0,4.5,0,0,0.554,0.2263],' \
|
86
|
+
'AUTHORITY["EPSG","6322"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],' \
|
87
|
+
'UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],' \
|
88
|
+
'AUTHORITY["EPSG","4322"]]'
|
89
|
+
end
|
90
|
+
|
83
91
|
it 'returns a well-known text String' do
|
84
|
-
expect(subject.to_wkt).to eq(
|
92
|
+
expect(subject.to_wkt).to eq(expected_wkt)
|
85
93
|
end
|
86
94
|
end
|
87
95
|
|
@@ -68,7 +68,8 @@ RSpec.describe OGR::SpatialReference do
|
|
68
68
|
|
69
69
|
context 'using a known label and value' do
|
70
70
|
it 'sets the new label and value' do
|
71
|
-
subject.set_linear_units_and_update_parameters(OGR::SpatialReference::FOOT_LABEL,
|
71
|
+
subject.set_linear_units_and_update_parameters(OGR::SpatialReference::FOOT_LABEL,
|
72
|
+
OGR::SpatialReference::METER_TO_FOOT)
|
72
73
|
expect(subject.linear_units).to eq(unit_name: 'Foot (International)', value: 0.3048)
|
73
74
|
end
|
74
75
|
end
|
@@ -5,7 +5,7 @@ RSpec.describe OGR::StyleTable do
|
|
5
5
|
describe '#destroy!' do
|
6
6
|
it 'cleans up the pointer and sets it to nil' do
|
7
7
|
subject.destroy!
|
8
|
-
expect(subject.instance_variable_get(:@
|
8
|
+
expect(subject.instance_variable_get(:@c_pointer)).to be_nil
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
data/tmp/.keep
ADDED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi-gdal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.beta6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Loveless
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.6'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: byebug
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: fakefs
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,6 +136,20 @@ dependencies:
|
|
122
136
|
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
138
|
version: '3.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rubocop
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
125
153
|
- !ruby/object:Gem::Dependency
|
126
154
|
name: simplecov
|
127
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,7 +166,7 @@ dependencies:
|
|
138
166
|
version: 0.9.0
|
139
167
|
description:
|
140
168
|
email:
|
141
|
-
- steve
|
169
|
+
- steve@agrian.com
|
142
170
|
executables: []
|
143
171
|
extensions: []
|
144
172
|
extra_rdoc_files: []
|
@@ -146,6 +174,7 @@ files:
|
|
146
174
|
- ".gitignore"
|
147
175
|
- ".rspec"
|
148
176
|
- ".rubocop.yml"
|
177
|
+
- ".ruby-version"
|
149
178
|
- Gemfile
|
150
179
|
- History.md
|
151
180
|
- LICENSE.txt
|
@@ -156,8 +185,10 @@ files:
|
|
156
185
|
- examples/geometries.rb
|
157
186
|
- examples/gridding.rb
|
158
187
|
- examples/ogr_layer_to_layer.rb
|
159
|
-
- examples/
|
188
|
+
- examples/raster_erasing.rb
|
189
|
+
- examples/remove_small_polygons.rb
|
160
190
|
- examples/testing_gdal.rb
|
191
|
+
- examples/warping.rb
|
161
192
|
- ffi-gdal.gemspec
|
162
193
|
- lib/ext/error_symbols.rb
|
163
194
|
- lib/ext/ffi_library_function_checks.rb
|
@@ -166,6 +197,7 @@ files:
|
|
166
197
|
- lib/ext/numeric_as_data_type.rb
|
167
198
|
- lib/ext/to_bool.rb
|
168
199
|
- lib/ffi-gdal.rb
|
200
|
+
- lib/ffi/cpl.rb
|
169
201
|
- lib/ffi/cpl/conv.rb
|
170
202
|
- lib/ffi/cpl/error.rb
|
171
203
|
- lib/ffi/cpl/hash_set.rb
|
@@ -175,6 +207,7 @@ files:
|
|
175
207
|
- lib/ffi/cpl/mime_part.rb
|
176
208
|
- lib/ffi/cpl/minixml.rb
|
177
209
|
- lib/ffi/cpl/port.rb
|
210
|
+
- lib/ffi/cpl/progress.rb
|
178
211
|
- lib/ffi/cpl/quad_tree.rb
|
179
212
|
- lib/ffi/cpl/rect_obj.rb
|
180
213
|
- lib/ffi/cpl/string.rb
|
@@ -226,6 +259,7 @@ files:
|
|
226
259
|
- lib/gdal/dataset_mixins/algorithm_methods.rb
|
227
260
|
- lib/gdal/dataset_mixins/extensions.rb
|
228
261
|
- lib/gdal/dataset_mixins/matching.rb
|
262
|
+
- lib/gdal/dataset_mixins/warp_methods.rb
|
229
263
|
- lib/gdal/driver.rb
|
230
264
|
- lib/gdal/driver_mixins/extensions.rb
|
231
265
|
- lib/gdal/environment_methods.rb
|
@@ -233,27 +267,34 @@ files:
|
|
233
267
|
- lib/gdal/geo_transform.rb
|
234
268
|
- lib/gdal/geo_transform_mixins/extensions.rb
|
235
269
|
- lib/gdal/grid.rb
|
236
|
-
- lib/gdal/
|
237
|
-
- lib/gdal/
|
238
|
-
- lib/gdal/
|
239
|
-
- lib/gdal/
|
240
|
-
- lib/gdal/
|
241
|
-
- lib/gdal/
|
242
|
-
- lib/gdal/
|
243
|
-
- lib/gdal/
|
244
|
-
- lib/gdal/
|
245
|
-
- lib/gdal/
|
246
|
-
- lib/gdal/
|
270
|
+
- lib/gdal/grid_algorithms.rb
|
271
|
+
- lib/gdal/grid_algorithms/data_metrics_base.rb
|
272
|
+
- lib/gdal/grid_algorithms/inverse_distance_to_a_power.rb
|
273
|
+
- lib/gdal/grid_algorithms/metric_average_distance.rb
|
274
|
+
- lib/gdal/grid_algorithms/metric_average_distance_pts.rb
|
275
|
+
- lib/gdal/grid_algorithms/metric_count.rb
|
276
|
+
- lib/gdal/grid_algorithms/metric_maximum.rb
|
277
|
+
- lib/gdal/grid_algorithms/metric_minimum.rb
|
278
|
+
- lib/gdal/grid_algorithms/metric_range.rb
|
279
|
+
- lib/gdal/grid_algorithms/moving_average.rb
|
280
|
+
- lib/gdal/grid_algorithms/nearest_neighbor.rb
|
281
|
+
- lib/gdal/gridder.rb
|
282
|
+
- lib/gdal/gridder/point_extracting.rb
|
283
|
+
- lib/gdal/gridder_options.rb
|
247
284
|
- lib/gdal/internal_helpers.rb
|
248
285
|
- lib/gdal/logger.rb
|
249
286
|
- lib/gdal/major_object.rb
|
287
|
+
- lib/gdal/merger.rb
|
250
288
|
- lib/gdal/options.rb
|
251
289
|
- lib/gdal/raster_attribute_table.rb
|
252
290
|
- lib/gdal/raster_attribute_table_mixins/extensions.rb
|
253
291
|
- lib/gdal/raster_band.rb
|
254
292
|
- lib/gdal/raster_band_classifier.rb
|
293
|
+
- lib/gdal/raster_band_mixins/algorithm_extensions.rb
|
255
294
|
- lib/gdal/raster_band_mixins/algorithm_methods.rb
|
295
|
+
- lib/gdal/raster_band_mixins/coloring_extensions.rb
|
256
296
|
- lib/gdal/raster_band_mixins/extensions.rb
|
297
|
+
- lib/gdal/raster_band_mixins/io_extensions.rb
|
257
298
|
- lib/gdal/rpc_info.rb
|
258
299
|
- lib/gdal/transformer.rb
|
259
300
|
- lib/gdal/transformers/approximate_transformer.rb
|
@@ -269,6 +310,7 @@ files:
|
|
269
310
|
- lib/gdal/version_info.rb
|
270
311
|
- lib/gdal/virtual_dataset.rb
|
271
312
|
- lib/gdal/warp_operation.rb
|
313
|
+
- lib/gdal/warp_options.rb
|
272
314
|
- lib/ogr.rb
|
273
315
|
- lib/ogr/coordinate_transformation.rb
|
274
316
|
- lib/ogr/data_source.rb
|
@@ -289,20 +331,27 @@ files:
|
|
289
331
|
- lib/ogr/field_definition_extensions.rb
|
290
332
|
- lib/ogr/geocoder.rb
|
291
333
|
- lib/ogr/geometries/geometry_collection.rb
|
334
|
+
- lib/ogr/geometries/geometry_collection_25d.rb
|
292
335
|
- lib/ogr/geometries/line_string.rb
|
336
|
+
- lib/ogr/geometries/line_string_25d.rb
|
293
337
|
- lib/ogr/geometries/linear_ring.rb
|
294
338
|
- lib/ogr/geometries/multi_line_string.rb
|
339
|
+
- lib/ogr/geometries/multi_line_string_25d.rb
|
295
340
|
- lib/ogr/geometries/multi_point.rb
|
341
|
+
- lib/ogr/geometries/multi_point_25d.rb
|
296
342
|
- lib/ogr/geometries/multi_polygon.rb
|
343
|
+
- lib/ogr/geometries/multi_polygon_25d.rb
|
297
344
|
- lib/ogr/geometries/none_geometry.rb
|
298
345
|
- lib/ogr/geometries/point.rb
|
299
|
-
- lib/ogr/geometries/
|
346
|
+
- lib/ogr/geometries/point_25d.rb
|
300
347
|
- lib/ogr/geometries/polygon.rb
|
348
|
+
- lib/ogr/geometries/polygon_25d.rb
|
301
349
|
- lib/ogr/geometries/unknown_geometry.rb
|
302
350
|
- lib/ogr/geometry.rb
|
303
|
-
- lib/ogr/geometry_extensions.rb
|
304
351
|
- lib/ogr/geometry_field_definition.rb
|
305
352
|
- lib/ogr/geometry_field_definition_extensions.rb
|
353
|
+
- lib/ogr/geometry_mixins/container_mixins.rb
|
354
|
+
- lib/ogr/geometry_mixins/extensions.rb
|
306
355
|
- lib/ogr/geometry_types/container.rb
|
307
356
|
- lib/ogr/geometry_types/curve.rb
|
308
357
|
- lib/ogr/geometry_types/surface.rb
|
@@ -331,10 +380,21 @@ files:
|
|
331
380
|
- spec/integration/gdal/dataset_info_spec.rb
|
332
381
|
- spec/integration/gdal/driver_info_spec.rb
|
333
382
|
- spec/integration/gdal/geo_transform_info_spec.rb
|
383
|
+
- spec/integration/gdal/gridder_spec.rb
|
334
384
|
- spec/integration/gdal/raster_attribute_table_info_spec.rb
|
385
|
+
- spec/integration/gdal/raster_band_algorithms_spec.rb
|
335
386
|
- spec/integration/gdal/raster_band_info_spec.rb
|
336
387
|
- spec/integration/ogr/layer_spec.rb
|
337
388
|
- spec/spec_helper.rb
|
389
|
+
- spec/support/images/osgeo/gdal/data/hfa/float-rle.img
|
390
|
+
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.lgo
|
391
|
+
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif
|
392
|
+
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif.msk
|
393
|
+
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.txt
|
394
|
+
- spec/support/images/osgeo/geotiff/gdal_eg/cea.tif
|
395
|
+
- spec/support/images/osgeo/geotiff/gdal_eg/cea.txt
|
396
|
+
- spec/support/images/osgeo/geotiff/zi_imaging/image0.lgo
|
397
|
+
- spec/support/images/osgeo/geotiff/zi_imaging/image0.tif
|
338
398
|
- spec/support/integration_help.rb
|
339
399
|
- spec/support/shapefiles/states_21basic/states.dbf
|
340
400
|
- spec/support/shapefiles/states_21basic/states.prj
|
@@ -366,35 +426,50 @@ files:
|
|
366
426
|
- spec/unit/gdal/driver_mixins/extensions_spec.rb
|
367
427
|
- spec/unit/gdal/driver_spec.rb
|
368
428
|
- spec/unit/gdal/environment_methods_spec.rb
|
429
|
+
- spec/unit/gdal/geo_transform_mixins/extensions_spec.rb
|
369
430
|
- spec/unit/gdal/geo_transform_spec.rb
|
370
431
|
- spec/unit/gdal/grid_spec.rb
|
432
|
+
- spec/unit/gdal/gridder/point_extracting_spec.rb
|
433
|
+
- spec/unit/gdal/gridder_options_spec.rb
|
434
|
+
- spec/unit/gdal/gridder_spec.rb
|
371
435
|
- spec/unit/gdal/internal_helpers_spec.rb
|
372
436
|
- spec/unit/gdal/major_object_spec.rb
|
373
437
|
- spec/unit/gdal/options_spec.rb
|
374
438
|
- spec/unit/gdal/raster_attribute_table_spec.rb
|
375
439
|
- spec/unit/gdal/raster_band_classifier_spec.rb
|
440
|
+
- spec/unit/gdal/raster_band_mixins/extensions_spec.rb
|
441
|
+
- spec/unit/gdal/raster_band_mixins/io_extensions_spec.rb
|
376
442
|
- spec/unit/gdal/raster_band_spec.rb
|
377
443
|
- spec/unit/gdal/rpc_info_spec.rb
|
378
444
|
- spec/unit/gdal/version_info_spec.rb
|
379
445
|
- spec/unit/gdal/virtual_dataset_spec.rb
|
380
446
|
- spec/unit/gdal/warp_operation_spec.rb
|
447
|
+
- spec/unit/ogr/coordinate_transformation_spec.rb
|
381
448
|
- spec/unit/ogr/data_source_mixins/capability_methods_spec.rb
|
382
449
|
- spec/unit/ogr/data_source_spec.rb
|
383
450
|
- spec/unit/ogr/driver_mixins/capability_methods_spec.rb
|
384
451
|
- spec/unit/ogr/driver_spec.rb
|
385
452
|
- spec/unit/ogr/envelope_spec.rb
|
386
453
|
- spec/unit/ogr/feature_definition_spec.rb
|
454
|
+
- spec/unit/ogr/feature_extensions_spec.rb
|
387
455
|
- spec/unit/ogr/feature_spec.rb
|
388
456
|
- spec/unit/ogr/field_definition_spec.rb
|
389
457
|
- spec/unit/ogr/field_spec.rb
|
458
|
+
- spec/unit/ogr/geometries/geometry_collection_25d_spec.rb
|
390
459
|
- spec/unit/ogr/geometries/geometry_collection_spec.rb
|
460
|
+
- spec/unit/ogr/geometries/line_string_25d_spec.rb
|
391
461
|
- spec/unit/ogr/geometries/line_string_spec.rb
|
392
462
|
- spec/unit/ogr/geometries/linear_ring_spec.rb
|
463
|
+
- spec/unit/ogr/geometries/multi_line_string_25d_spec.rb
|
393
464
|
- spec/unit/ogr/geometries/multi_line_string_spec.rb
|
465
|
+
- spec/unit/ogr/geometries/multi_point_25d_spec.rb
|
394
466
|
- spec/unit/ogr/geometries/multi_point_spec.rb
|
467
|
+
- spec/unit/ogr/geometries/multi_polygon_25d_spec.rb
|
395
468
|
- spec/unit/ogr/geometries/multi_polygon_spec.rb
|
396
469
|
- spec/unit/ogr/geometries/none_geometry_spec.rb
|
470
|
+
- spec/unit/ogr/geometries/point_25d_spec.rb
|
397
471
|
- spec/unit/ogr/geometries/point_spec.rb
|
472
|
+
- spec/unit/ogr/geometries/polygon_25d_spec.rb
|
398
473
|
- spec/unit/ogr/geometries/polygon_spec.rb
|
399
474
|
- spec/unit/ogr/geometries/unknown_geometry_spec.rb
|
400
475
|
- spec/unit/ogr/geometry_field_definition_spec.rb
|
@@ -417,7 +492,8 @@ files:
|
|
417
492
|
- spec/unit/ogr/style_table_spec.rb
|
418
493
|
- spec/unit/ogr/style_tool_spec.rb
|
419
494
|
- spec/unit/version_info_spec.rb
|
420
|
-
|
495
|
+
- tmp/.keep
|
496
|
+
homepage: http://bitbucket.org/agrian/ffi-gdal
|
421
497
|
licenses:
|
422
498
|
- MIT
|
423
499
|
metadata: {}
|
@@ -437,7 +513,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
437
513
|
version: 1.3.1
|
438
514
|
requirements: []
|
439
515
|
rubyforge_project:
|
440
|
-
rubygems_version: 2.
|
516
|
+
rubygems_version: 2.5.1
|
441
517
|
signing_key:
|
442
518
|
specification_version: 4
|
443
519
|
summary: FFI wrapper for GDAL/OGR.
|
@@ -447,10 +523,21 @@ test_files:
|
|
447
523
|
- spec/integration/gdal/dataset_info_spec.rb
|
448
524
|
- spec/integration/gdal/driver_info_spec.rb
|
449
525
|
- spec/integration/gdal/geo_transform_info_spec.rb
|
526
|
+
- spec/integration/gdal/gridder_spec.rb
|
450
527
|
- spec/integration/gdal/raster_attribute_table_info_spec.rb
|
528
|
+
- spec/integration/gdal/raster_band_algorithms_spec.rb
|
451
529
|
- spec/integration/gdal/raster_band_info_spec.rb
|
452
530
|
- spec/integration/ogr/layer_spec.rb
|
453
531
|
- spec/spec_helper.rb
|
532
|
+
- spec/support/images/osgeo/gdal/data/hfa/float-rle.img
|
533
|
+
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.lgo
|
534
|
+
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif
|
535
|
+
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif.msk
|
536
|
+
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.txt
|
537
|
+
- spec/support/images/osgeo/geotiff/gdal_eg/cea.tif
|
538
|
+
- spec/support/images/osgeo/geotiff/gdal_eg/cea.txt
|
539
|
+
- spec/support/images/osgeo/geotiff/zi_imaging/image0.lgo
|
540
|
+
- spec/support/images/osgeo/geotiff/zi_imaging/image0.tif
|
454
541
|
- spec/support/integration_help.rb
|
455
542
|
- spec/support/shapefiles/states_21basic/states.dbf
|
456
543
|
- spec/support/shapefiles/states_21basic/states.prj
|
@@ -482,35 +569,50 @@ test_files:
|
|
482
569
|
- spec/unit/gdal/driver_mixins/extensions_spec.rb
|
483
570
|
- spec/unit/gdal/driver_spec.rb
|
484
571
|
- spec/unit/gdal/environment_methods_spec.rb
|
572
|
+
- spec/unit/gdal/geo_transform_mixins/extensions_spec.rb
|
485
573
|
- spec/unit/gdal/geo_transform_spec.rb
|
486
574
|
- spec/unit/gdal/grid_spec.rb
|
575
|
+
- spec/unit/gdal/gridder/point_extracting_spec.rb
|
576
|
+
- spec/unit/gdal/gridder_options_spec.rb
|
577
|
+
- spec/unit/gdal/gridder_spec.rb
|
487
578
|
- spec/unit/gdal/internal_helpers_spec.rb
|
488
579
|
- spec/unit/gdal/major_object_spec.rb
|
489
580
|
- spec/unit/gdal/options_spec.rb
|
490
581
|
- spec/unit/gdal/raster_attribute_table_spec.rb
|
491
582
|
- spec/unit/gdal/raster_band_classifier_spec.rb
|
583
|
+
- spec/unit/gdal/raster_band_mixins/extensions_spec.rb
|
584
|
+
- spec/unit/gdal/raster_band_mixins/io_extensions_spec.rb
|
492
585
|
- spec/unit/gdal/raster_band_spec.rb
|
493
586
|
- spec/unit/gdal/rpc_info_spec.rb
|
494
587
|
- spec/unit/gdal/version_info_spec.rb
|
495
588
|
- spec/unit/gdal/virtual_dataset_spec.rb
|
496
589
|
- spec/unit/gdal/warp_operation_spec.rb
|
590
|
+
- spec/unit/ogr/coordinate_transformation_spec.rb
|
497
591
|
- spec/unit/ogr/data_source_mixins/capability_methods_spec.rb
|
498
592
|
- spec/unit/ogr/data_source_spec.rb
|
499
593
|
- spec/unit/ogr/driver_mixins/capability_methods_spec.rb
|
500
594
|
- spec/unit/ogr/driver_spec.rb
|
501
595
|
- spec/unit/ogr/envelope_spec.rb
|
502
596
|
- spec/unit/ogr/feature_definition_spec.rb
|
597
|
+
- spec/unit/ogr/feature_extensions_spec.rb
|
503
598
|
- spec/unit/ogr/feature_spec.rb
|
504
599
|
- spec/unit/ogr/field_definition_spec.rb
|
505
600
|
- spec/unit/ogr/field_spec.rb
|
601
|
+
- spec/unit/ogr/geometries/geometry_collection_25d_spec.rb
|
506
602
|
- spec/unit/ogr/geometries/geometry_collection_spec.rb
|
603
|
+
- spec/unit/ogr/geometries/line_string_25d_spec.rb
|
507
604
|
- spec/unit/ogr/geometries/line_string_spec.rb
|
508
605
|
- spec/unit/ogr/geometries/linear_ring_spec.rb
|
606
|
+
- spec/unit/ogr/geometries/multi_line_string_25d_spec.rb
|
509
607
|
- spec/unit/ogr/geometries/multi_line_string_spec.rb
|
608
|
+
- spec/unit/ogr/geometries/multi_point_25d_spec.rb
|
510
609
|
- spec/unit/ogr/geometries/multi_point_spec.rb
|
610
|
+
- spec/unit/ogr/geometries/multi_polygon_25d_spec.rb
|
511
611
|
- spec/unit/ogr/geometries/multi_polygon_spec.rb
|
512
612
|
- spec/unit/ogr/geometries/none_geometry_spec.rb
|
613
|
+
- spec/unit/ogr/geometries/point_25d_spec.rb
|
513
614
|
- spec/unit/ogr/geometries/point_spec.rb
|
615
|
+
- spec/unit/ogr/geometries/polygon_25d_spec.rb
|
514
616
|
- spec/unit/ogr/geometries/polygon_spec.rb
|
515
617
|
- spec/unit/ogr/geometries/unknown_geometry_spec.rb
|
516
618
|
- spec/unit/ogr/geometry_field_definition_spec.rb
|
data/examples/points.txt
DELETED
@@ -1,127 +0,0 @@
|
|
1
|
-
53414.28,31421.88,39.555
|
2
|
-
53387.8,31425.02,36.8774
|
3
|
-
53359.06,31426.62,31.225
|
4
|
-
53348.04,31425.53,27.416
|
5
|
-
53344.57,31440.31,27.7945
|
6
|
-
53352.89,31454.84,28.4999
|
7
|
-
53402.88,31442.45,37.951
|
8
|
-
53393.47,31393.86,32.5395
|
9
|
-
53358.85,31387.57,29.426
|
10
|
-
53358.59,31376.62,29.223
|
11
|
-
53348.66,31364.21,28.2538
|
12
|
-
53362.8,31340.89,26.8212
|
13
|
-
53335.73,31347.62,26.2299
|
14
|
-
53331.84,31362.69,26.6612
|
15
|
-
53351.82,31402.35,28.4848
|
16
|
-
53335.09,31399.61,26.6922
|
17
|
-
53331.15,31333.34,24.6894
|
18
|
-
53344.1,31322.26,24.3684
|
19
|
-
53326.8,31381.66,26.7581
|
20
|
-
53396.59,31331.42,28.7137
|
21
|
-
53372.7,31317.25,25.8215
|
22
|
-
53404.54,31313.74,26.9055
|
23
|
-
53416.04,31349.16,31.7509
|
24
|
-
53424.7,31367.77,34.8919
|
25
|
-
53414.85,31383.5,37.4818
|
26
|
-
53399.59,31370.21,32.5866
|
27
|
-
53386.89,31353.32,30.5459
|
28
|
-
53383.23,31336.82,29.2504
|
29
|
-
53421.13,31322.59,27.7593
|
30
|
-
53468.29,31316.53,27.0276
|
31
|
-
53434.93,31313.32,26.5662
|
32
|
-
53456.71,31324.05,28.8742
|
33
|
-
53491.54,31372.23,33.0459
|
34
|
-
53470.83,31363.75,32.6194
|
35
|
-
53414.07,31397.87,39.5041
|
36
|
-
53446.84,31368.77,34.5865
|
37
|
-
53438,31337.25,30.1398
|
38
|
-
53456.08,31344.36,30.1871
|
39
|
-
53472.76,31401.02,38.5963
|
40
|
-
53479.13,31432.82,42.3405
|
41
|
-
53499.63,31422.7,40.7577
|
42
|
-
53492.35,31402.93,37.9286
|
43
|
-
53489.32,31390.16,36.34
|
44
|
-
53449.7,31383.25,36.9367
|
45
|
-
53444.56,31406.78,41.6945
|
46
|
-
53464.5,31427.23,43.5075
|
47
|
-
53503.60,31439.93,41.0365
|
48
|
-
53515.85,31437.89,39.9929
|
49
|
-
53505.89,31493.01,33.8673
|
50
|
-
53485.63,31490.18,36.4479
|
51
|
-
53493.83,31472.49,39.8801
|
52
|
-
53482.52,31450.67,42.3327
|
53
|
-
53508.10,31461.98,40.2172
|
54
|
-
53513.7,31482.32,36.919
|
55
|
-
53532.14,31466.79,37.7726
|
56
|
-
53547.81,31446.42,38.3385
|
57
|
-
53555.09,31429.29,37.5484
|
58
|
-
53550.59,31466.8,37.233
|
59
|
-
53542.39,31490.08,33.8351
|
60
|
-
53562.32,31481.02,34.4659
|
61
|
-
53582.49,31461.23,34.1418
|
62
|
-
53585.43,31474.09,32.5303
|
63
|
-
53596.28,31464.84,31.7542
|
64
|
-
53573.76,31494.1,31.3335
|
65
|
-
53567.67,31505.61,29.5076
|
66
|
-
53435.85,31465.51,40.6101
|
67
|
-
53446.92,31438.86,43.5085
|
68
|
-
53451.21,31462.16,42.1787
|
69
|
-
53425.14,31442.84,42.2289
|
70
|
-
53465.83,31471.64,41.4353
|
71
|
-
53444.54,31478.39,39.4434
|
72
|
-
53436.92,31489.73,35.15
|
73
|
-
53446.87,31502.75,32.0204
|
74
|
-
53424.8,31499.59,31.1902
|
75
|
-
53415.55,31477.23,36.1728
|
76
|
-
53405.41,31459.37,36.2749
|
77
|
-
53407.98,31487.67,31.2808
|
78
|
-
53410.21,31511.39,29.09
|
79
|
-
53392.51,31495.92,29.1024
|
80
|
-
53434.96,31524.73,28.8913
|
81
|
-
53415.92,31523.57,28.6408
|
82
|
-
53381.47,31504.81,28.3432
|
83
|
-
53365.02,31495.85,27.6838
|
84
|
-
53352.99,31500.58,26.1047
|
85
|
-
53348.82,31486.82,26.2623
|
86
|
-
53350.47,31471.08,27.5493
|
87
|
-
53357.64,31521.57,25.8516
|
88
|
-
53387.14,31526.14,25.9322
|
89
|
-
53418.4,31538.09,25.2847
|
90
|
-
53448.49,31533.77,25.8802
|
91
|
-
53465.16,31494.46,34.603
|
92
|
-
53458.79,31508.1,31.0874
|
93
|
-
53503.63,31519.64,28.9581
|
94
|
-
53504.38,31505.74,29.4945
|
95
|
-
53487.85,31513.90,29.3574
|
96
|
-
53473.73,31522.38,28.2401
|
97
|
-
53474.65,31534.46,28.1753
|
98
|
-
53501.33,31537.72,27.601
|
99
|
-
53526.89,31530.08,29.1993
|
100
|
-
53538.63,31519.63,29.2767
|
101
|
-
53327.38,31431.95,26.6129
|
102
|
-
53326.22,31419.39,26.2965
|
103
|
-
53591.41,31400.14,31.3133
|
104
|
-
53580.18,31375.51,30.2236
|
105
|
-
53603.18,31381.36,28.8233
|
106
|
-
53529.15,31341.71,27.0601
|
107
|
-
53583.86,31408.9,33.6867
|
108
|
-
53565.07,31419.84,36.2957
|
109
|
-
53544.34,31402.71,36.3476
|
110
|
-
53568.31,31403.82,34.7975
|
111
|
-
53517.51,31388.7,35.1603
|
112
|
-
53521.11,31366.48,31.672
|
113
|
-
53539.64,31349.28,29.138
|
114
|
-
53506.62,31335.71,26.9185
|
115
|
-
53505.15,31350.97,29.6483
|
116
|
-
53494.79,31379.74,33.5259
|
117
|
-
53511.44,31374.64,33.1928
|
118
|
-
53493.14,31354.75,30.8649
|
119
|
-
53549.66,31508.67,30.3146
|
120
|
-
53369.18,31500.28,27.7
|
121
|
-
53442.8,31431.06,43.90
|
122
|
-
53455.78,31444.08,43.460
|
123
|
-
53461.02,31374.57,35.5
|
124
|
-
53437.30,31388.9,38.2
|
125
|
-
53399.61,31407.54,37
|
126
|
-
53514.12,31450.64,40.1
|
127
|
-
|
data/lib/gdal/grid_types.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
module GDAL
|
2
|
-
module GridTypes
|
3
|
-
autoload :InverseDistanceToAPower,
|
4
|
-
File.expand_path('grid_types/inverse_distance_to_a_power', __dir__)
|
5
|
-
autoload :MetricAverageDistance,
|
6
|
-
File.expand_path('grid_types/metric_average_distance', __dir__)
|
7
|
-
autoload :MetricAverageDistancePts,
|
8
|
-
File.expand_path('grid_types/metric_average_distance_pts', __dir__)
|
9
|
-
autoload :MetricCount,
|
10
|
-
File.expand_path('grid_types/metric_count', __dir__)
|
11
|
-
autoload :MetricMaximum,
|
12
|
-
File.expand_path('grid_types/metric_maximum', __dir__)
|
13
|
-
autoload :MetricMinimum,
|
14
|
-
File.expand_path('grid_types/metric_minimum', __dir__)
|
15
|
-
autoload :MetricRange,
|
16
|
-
File.expand_path('grid_types/metric_range', __dir__)
|
17
|
-
autoload :MovingAverage,
|
18
|
-
File.expand_path('grid_types/moving_average', __dir__)
|
19
|
-
autoload :NearestNeighbor,
|
20
|
-
File.expand_path('grid_types/nearest_neighbor', __dir__)
|
21
|
-
end
|
22
|
-
end
|