ffi-gdal 1.0.0.beta3 → 1.0.0.beta4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/.rubocop.yml +62 -0
- data/Gemfile +1 -1
- data/History.md +53 -28
- data/README.md +6 -0
- data/Rakefile +23 -1
- data/examples/extract_and_colorize.rb +21 -22
- data/examples/geometries.rb +2 -2
- data/examples/gridding.rb +106 -0
- data/examples/ogr_layer_to_layer.rb +1 -1
- data/examples/points.txt +127 -0
- data/examples/testing_gdal.rb +3 -4
- data/ffi-gdal.gemspec +3 -2
- data/lib/ext/error_symbols.rb +2 -57
- data/lib/ext/ffi_library_function_checks.rb +26 -0
- data/lib/ext/float_ext.rb +2 -2
- data/lib/ext/narray_ext.rb +2 -0
- data/lib/ext/numeric_as_data_type.rb +19 -0
- data/lib/ext/to_bool.rb +4 -4
- data/lib/ffi/cpl/conv.rb +132 -0
- data/lib/ffi/cpl/error.rb +67 -0
- data/lib/ffi/cpl/hash_set.rb +39 -0
- data/lib/ffi/cpl/http.rb +25 -0
- data/lib/ffi/cpl/http_result.rb +18 -0
- data/lib/ffi/cpl/list.rb +38 -0
- data/lib/ffi/cpl/mime_part.rb +11 -0
- data/lib/ffi/cpl/minixml.rb +47 -0
- data/lib/ffi/cpl/port.rb +23 -0
- data/lib/ffi/cpl/quad_tree.rb +51 -0
- data/lib/ffi/{ogr/ogr_envelope.rb → cpl/rect_obj.rb} +3 -3
- data/lib/ffi/cpl/string.rb +95 -0
- data/lib/ffi/cpl/vsi.rb +115 -0
- data/lib/ffi/cpl/xml_node.rb +6 -6
- data/lib/ffi/gdal/alg.rb +385 -0
- data/lib/ffi/gdal/{gdal_color_entry.rb → color_entry.rb} +1 -2
- data/lib/ffi/gdal/exceptions.rb +6 -0
- data/lib/ffi/gdal/{gdal_gcp.rb → gcp.rb} +1 -3
- data/lib/ffi/gdal/{gdal_h.rb → gdal.rb} +253 -252
- data/lib/ffi/gdal/grid.rb +58 -0
- data/lib/ffi/gdal/{gdal_grid_data_metrics_options.rb → grid_data_metrics_options.rb} +1 -2
- data/lib/ffi/gdal/{gdal_grid_inverse_distance_to_a_power_options.rb → grid_inverse_distance_to_a_power_options.rb} +1 -2
- data/lib/ffi/gdal/{gdal_grid_moving_average_options.rb → grid_moving_average_options.rb} +1 -2
- data/lib/ffi/gdal/{gdal_grid_nearest_neighbor_options.rb → grid_nearest_neighbor_options.rb} +1 -2
- data/lib/ffi/gdal/matching.rb +20 -0
- data/lib/ffi/gdal/{gdal_rpc_info.rb → rpc_info.rb} +1 -2
- data/lib/ffi/gdal/{gdal_transformer_info.rb → transformer_info.rb} +1 -2
- data/lib/ffi/gdal/version.rb +1 -1
- data/lib/ffi/gdal/vrt.rb +92 -0
- data/lib/ffi/gdal/{gdal_warp_options.rb → warp_options.rb} +8 -4
- data/lib/ffi/gdal/warper.rb +70 -0
- data/lib/ffi/gdal.rb +56 -69
- data/lib/ffi/ogr/api.rb +567 -0
- data/lib/ffi/ogr/{ogr_contour_writer_info.rb → contour_writer_info.rb} +2 -3
- data/lib/ffi/ogr/core.rb +181 -0
- data/lib/ffi/ogr/envelope.rb +12 -0
- data/lib/ffi/ogr/{ogr_envelope_3d.rb → envelope_3d.rb} +2 -2
- data/lib/ffi/ogr/featurestyle.rb +29 -0
- data/lib/ffi/ogr/field.rb +63 -0
- data/lib/ffi/ogr/geocoding.rb +30 -0
- data/lib/ffi/ogr/srs_api.rb +407 -0
- data/lib/ffi/ogr/style_param.rb +13 -0
- data/lib/ffi/ogr/{ogr_style_value.rb → style_value.rb} +4 -3
- data/lib/ffi/ogr.rb +7 -7
- data/lib/ffi-gdal.rb +7 -145
- data/lib/gdal/color_entry.rb +18 -14
- data/lib/gdal/color_entry_mixins/extensions.rb +32 -0
- data/lib/gdal/color_interpretation.rb +2 -2
- data/lib/gdal/color_table.rb +37 -32
- data/lib/gdal/color_table_mixins/extensions.rb +48 -0
- data/lib/gdal/cpl_error_handler.rb +119 -0
- data/lib/gdal/data_type.rb +7 -7
- data/lib/gdal/dataset.rb +131 -238
- data/lib/gdal/dataset_mixins/algorithm_methods.rb +182 -0
- data/lib/gdal/dataset_mixins/extensions.rb +542 -0
- data/lib/gdal/dataset_mixins/matching.rb +26 -0
- data/lib/gdal/driver.rb +68 -92
- data/lib/gdal/driver_mixins/extensions.rb +93 -0
- data/lib/gdal/exceptions.rb +32 -4
- data/lib/gdal/geo_transform.rb +63 -43
- data/lib/gdal/geo_transform_mixins/extensions.rb +57 -0
- data/lib/gdal/grid.rb +144 -0
- data/lib/gdal/grid_types/data_metrics_base.rb +14 -0
- data/lib/gdal/grid_types/inverse_distance_to_a_power.rb +19 -0
- data/lib/gdal/grid_types/metric_average_distance.rb +12 -0
- data/lib/gdal/grid_types/metric_average_distance_pts.rb +12 -0
- data/lib/gdal/grid_types/metric_count.rb +12 -0
- data/lib/gdal/grid_types/metric_maximum.rb +12 -0
- data/lib/gdal/grid_types/metric_minimum.rb +12 -0
- data/lib/gdal/grid_types/metric_range.rb +12 -0
- data/lib/gdal/grid_types/moving_average.rb +19 -0
- data/lib/gdal/grid_types/nearest_neighbor.rb +19 -0
- data/lib/gdal/grid_types.rb +22 -0
- data/lib/gdal/internal_helpers.rb +94 -0
- data/lib/gdal/major_object.rb +4 -7
- data/lib/gdal/options.rb +14 -7
- data/lib/gdal/raster_attribute_table.rb +38 -47
- data/lib/gdal/raster_attribute_table_mixins/extensions.rb +41 -0
- data/lib/gdal/raster_band.rb +193 -227
- data/lib/gdal/raster_band_classifier.rb +107 -0
- data/lib/gdal/raster_band_mixins/algorithm_methods.rb +292 -0
- data/lib/gdal/raster_band_mixins/extensions.rb +238 -0
- data/lib/gdal/rpc_info.rb +35 -0
- data/lib/gdal/transformer.rb +15 -0
- data/lib/gdal/transformers/approximate_transformer.rb +48 -0
- data/lib/gdal/transformers/base_general_image_projection_transformer.rb +45 -0
- data/lib/gdal/transformers/gcp_transformer.rb +55 -0
- data/lib/gdal/transformers/general_image_projection_transformer.rb +31 -0
- data/lib/gdal/transformers/general_image_projection_transformer2.rb +52 -0
- data/lib/gdal/transformers/general_image_projection_transformer3.rb +25 -0
- data/lib/gdal/transformers/geolocation_transformer.rb +42 -0
- data/lib/gdal/transformers/reprojection_transformer.rb +39 -0
- data/lib/gdal/transformers/rpc_transformer.rb +56 -0
- data/lib/gdal/transformers/tps_transformer.rb +40 -0
- data/lib/gdal/virtual_dataset.rb +96 -0
- data/lib/gdal/warp_operation.rb +20 -23
- data/lib/gdal.rb +17 -0
- data/lib/ogr/coordinate_transformation.rb +16 -41
- data/lib/ogr/data_source.rb +103 -58
- data/lib/ogr/data_source_extensions.rb +5 -6
- data/lib/ogr/data_source_mixins/capability_methods.rb +27 -0
- data/lib/ogr/driver.rb +61 -33
- data/lib/ogr/driver_mixins/capability_methods.rb +16 -0
- data/lib/ogr/envelope.rb +29 -18
- data/lib/ogr/envelope_extensions.rb +70 -49
- data/lib/ogr/error_handling.rb +46 -0
- data/lib/ogr/exceptions.rb +58 -12
- data/lib/ogr/feature.rb +334 -86
- data/lib/ogr/feature_definition.rb +94 -51
- data/lib/ogr/feature_definition_extensions.rb +36 -13
- data/lib/ogr/feature_extensions.rb +62 -11
- data/lib/ogr/field.rb +175 -54
- data/lib/ogr/field_definition.rb +110 -0
- data/lib/ogr/{field_extensions.rb → field_definition_extensions.rb} +4 -5
- data/lib/ogr/{geocoding_session.rb → geocoder.rb} +14 -13
- data/lib/ogr/geometries/geometry_collection.rb +13 -0
- data/lib/ogr/geometries/line_string.rb +35 -0
- data/lib/ogr/geometries/linear_ring.rb +11 -0
- data/lib/ogr/geometries/multi_line_string.rb +16 -0
- data/lib/ogr/geometries/multi_point.rb +14 -0
- data/lib/ogr/geometries/multi_polygon.rb +21 -0
- data/lib/ogr/geometries/none_geometry.rb +13 -0
- data/lib/ogr/geometries/point.rb +65 -0
- data/lib/ogr/geometries/point_extensions.rb +32 -0
- data/lib/ogr/geometries/polygon.rb +14 -0
- data/lib/ogr/geometries/unknown_geometry.rb +10 -0
- data/lib/ogr/geometry.rb +270 -242
- data/lib/ogr/geometry_extensions.rb +8 -9
- data/lib/ogr/geometry_field_definition.rb +99 -0
- data/lib/ogr/geometry_field_definition_extensions.rb +19 -0
- data/lib/ogr/geometry_types/container.rb +75 -0
- data/lib/ogr/geometry_types/curve.rb +25 -28
- data/lib/ogr/geometry_types/surface.rb +13 -4
- data/lib/ogr/internal_helpers.rb +57 -0
- data/lib/ogr/layer.rb +60 -181
- data/lib/ogr/layer_mixins/capability_methods.rb +102 -0
- data/lib/ogr/layer_mixins/extensions.rb +59 -0
- data/lib/ogr/layer_mixins/ogr_feature_methods.rb +127 -0
- data/lib/ogr/layer_mixins/ogr_field_methods.rb +143 -0
- data/lib/ogr/layer_mixins/ogr_layer_method_methods.rb +163 -0
- data/lib/ogr/layer_mixins/ogr_query_filter_methods.rb +89 -0
- data/lib/ogr/layer_mixins/ogr_sql_methods.rb +48 -0
- data/lib/ogr/spatial_reference.rb +108 -589
- data/lib/ogr/spatial_reference_extensions.rb +29 -3
- data/lib/ogr/spatial_reference_mixins/coordinate_system_getter_setters.rb +494 -0
- data/lib/ogr/spatial_reference_mixins/exporters.rb +134 -0
- data/lib/ogr/spatial_reference_mixins/importers.rb +243 -0
- data/lib/ogr/spatial_reference_mixins/morphers.rb +25 -0
- data/lib/ogr/spatial_reference_mixins/parameter_getter_setters.rb +122 -0
- data/lib/ogr/spatial_reference_mixins/type_checks.rb +62 -0
- data/lib/ogr/style_table.rb +53 -5
- data/lib/ogr/style_table_extensions.rb +21 -5
- data/lib/ogr/style_tool.rb +118 -0
- data/lib/ogr.rb +8 -0
- data/spec/ffi-gdal_spec.rb +1 -2
- data/spec/integration/{color_table_info_spec.rb → gdal/color_table_info_spec.rb} +12 -12
- data/spec/integration/{dataset_info_spec.rb → gdal/dataset_info_spec.rb} +2 -6
- data/spec/integration/{driver_info_spec.rb → gdal/driver_info_spec.rb} +5 -5
- data/spec/integration/{geo_transform_info_spec.rb → gdal/geo_transform_info_spec.rb} +1 -14
- data/spec/integration/{raster_attribute_table_info_spec.rb → gdal/raster_attribute_table_info_spec.rb} +1 -2
- data/spec/integration/{raster_band_info_spec.rb → gdal/raster_band_info_spec.rb} +30 -42
- data/spec/integration/ogr/layer_spec.rb +97 -0
- data/spec/spec_helper.rb +94 -5
- data/spec/support/integration_help.rb +1 -0
- data/spec/support/shared_contexts.rb +26 -0
- data/spec/support/shared_examples/{major_object_examples.rb → gdal/major_object_examples.rb} +5 -5
- data/spec/support/shared_examples/ogr/a_25D_geometry.rb +7 -0
- data/spec/support/shared_examples/ogr/a_container_geometry.rb +47 -0
- data/spec/support/shared_examples/ogr/a_geometry.rb +404 -0
- data/spec/support/shared_examples/ogr/a_line_string.rb +16 -0
- data/spec/support/test_style_table.txt +3 -0
- data/spec/unit/ext/error_symbols_spec.rb +41 -53
- data/spec/unit/ext/numeric_as_data_type_spec.rb +113 -0
- data/spec/unit/ffi/gdal_spec.rb +70 -0
- data/spec/unit/gdal/color_entry_spec.rb +5 -0
- data/spec/unit/gdal/color_interpretation_spec.rb +5 -0
- data/spec/unit/gdal/{color_table_extensions_spec.rb → color_table_mixins/extensions_spec.rb} +3 -3
- data/spec/unit/gdal/color_table_spec.rb +14 -16
- data/spec/unit/gdal/data_type_spec.rb +10 -17
- data/spec/unit/gdal/dataset_spec.rb +4 -7
- data/spec/unit/gdal/driver_mixins/extensions_spec.rb +22 -0
- data/spec/unit/gdal/driver_spec.rb +49 -0
- data/spec/unit/gdal/environment_methods_spec.rb +6 -0
- data/spec/unit/gdal/geo_transform_spec.rb +276 -0
- data/spec/unit/gdal/grid_spec.rb +5 -0
- data/spec/unit/gdal/internal_helpers_spec.rb +112 -0
- data/spec/unit/gdal/major_object_spec.rb +6 -0
- data/spec/unit/gdal/options_spec.rb +5 -0
- data/spec/unit/gdal/raster_attribute_table_spec.rb +5 -0
- data/spec/unit/gdal/raster_band_classifier_spec.rb +134 -0
- data/spec/unit/gdal/raster_band_spec.rb +5 -0
- data/spec/unit/gdal/rpc_info_spec.rb +5 -0
- data/spec/unit/gdal/version_info_spec.rb +6 -0
- data/spec/unit/gdal/virtual_dataset_spec.rb +32 -0
- data/spec/unit/gdal/warp_operation_spec.rb +5 -0
- data/spec/unit/ogr/data_source_mixins/capability_methods_spec.rb +30 -0
- data/spec/unit/ogr/data_source_spec.rb +209 -0
- data/spec/unit/ogr/driver_mixins/capability_methods_spec.rb +18 -0
- data/spec/unit/ogr/driver_spec.rb +150 -0
- data/spec/unit/ogr/envelope_spec.rb +322 -0
- data/spec/unit/ogr/feature_definition_spec.rb +313 -0
- data/spec/unit/ogr/feature_spec.rb +379 -0
- data/spec/unit/ogr/field_definition_spec.rb +135 -0
- data/spec/unit/ogr/field_spec.rb +193 -0
- data/spec/unit/ogr/geometries/geometry_collection_spec.rb +186 -0
- data/spec/unit/ogr/geometries/line_string_spec.rb +105 -0
- data/spec/unit/ogr/{linear_ring_spec.rb → geometries/linear_ring_spec.rb} +10 -31
- data/spec/unit/ogr/geometries/multi_line_string_spec.rb +14 -0
- data/spec/unit/ogr/geometries/multi_point_spec.rb +14 -0
- data/spec/unit/ogr/geometries/multi_polygon_spec.rb +41 -0
- data/spec/unit/ogr/geometries/none_geometry_spec.rb +12 -0
- data/spec/unit/ogr/{point_spec.rb → geometries/point_spec.rb} +19 -25
- data/spec/unit/ogr/geometries/polygon_spec.rb +17 -0
- data/spec/unit/ogr/geometries/unknown_geometry_spec.rb +10 -0
- data/spec/unit/ogr/geometry_field_definition_spec.rb +87 -0
- data/spec/unit/ogr/geometry_spec.rb +542 -0
- data/spec/unit/ogr/internal_helpers_spec.rb +57 -0
- data/spec/unit/ogr/layer_mixins/capability_methods_spec.rb +88 -0
- data/spec/unit/ogr/layer_mixins/ogr_feature_methods_spec.rb +145 -0
- data/spec/unit/ogr/layer_mixins/ogr_field_methods_spec.rb +432 -0
- data/spec/unit/ogr/layer_mixins/ogr_layer_method_methods_spec.rb +20 -0
- data/spec/unit/ogr/layer_mixins/ogr_query_filter_methods_spec.rb +42 -0
- data/spec/unit/ogr/layer_mixins/ogr_sql_methods_spec.rb +12 -0
- data/spec/unit/ogr/layer_spec.rb +66 -67
- data/spec/unit/ogr/spatial_reference_mixins/coordinate_system_getter_setters_spec.rb +46 -0
- data/spec/unit/ogr/spatial_reference_mixins/exporters_spec.rb +139 -0
- data/spec/unit/ogr/spatial_reference_mixins/importers_spec.rb +38 -0
- data/spec/unit/ogr/spatial_reference_mixins/morphers_spec.rb +36 -0
- data/spec/unit/ogr/spatial_reference_mixins/parameter_getter_setters_spec.rb +102 -0
- data/spec/unit/ogr/spatial_reference_mixins/type_checks_spec.rb +157 -0
- data/spec/unit/ogr/spatial_reference_spec.rb +42 -0
- data/spec/unit/ogr/style_table_spec.rb +132 -0
- data/spec/unit/ogr/style_tool_spec.rb +157 -0
- data/spec/unit/version_info_spec.rb +1 -1
- metadata +285 -75
- data/lib/ffi/cpl/conv_h.rb +0 -143
- data/lib/ffi/cpl/error_h.rb +0 -63
- data/lib/ffi/cpl/minixml_h.rb +0 -14
- data/lib/ffi/cpl/string_h.rb +0 -81
- data/lib/ffi/cpl/vsi_h.rb +0 -112
- data/lib/ffi/gdal/alg_h.rb +0 -127
- data/lib/ffi/gdal/grid_h.rb +0 -51
- data/lib/ffi/gdal/warper_h.rb +0 -48
- data/lib/ffi/ogr/api_h.rb +0 -553
- data/lib/ffi/ogr/core_h.rb +0 -148
- data/lib/ffi/ogr/featurestyle_h.rb +0 -22
- data/lib/ffi/ogr/geocoding_h.rb +0 -21
- data/lib/ffi/ogr/ogr_field.rb +0 -50
- data/lib/ffi/ogr/ogr_style_param.rb +0 -12
- data/lib/ffi/ogr/srs_api_h.rb +0 -325
- data/lib/gdal/color_entry_extensions.rb +0 -30
- data/lib/gdal/color_table_extensions.rb +0 -47
- data/lib/gdal/dataset_extensions.rb +0 -496
- data/lib/gdal/driver_extensions.rb +0 -56
- data/lib/gdal/geo_transform_extensions.rb +0 -90
- data/lib/gdal/raster_attribute_table_extensions.rb +0 -40
- data/lib/gdal/raster_band_extensions.rb +0 -198
- data/lib/ogr/geometry_types/collection.rb +0 -45
- data/lib/ogr/layer_extensions.rb +0 -55
- data/lib/ogr/line_string.rb +0 -7
- data/lib/ogr/linear_ring.rb +0 -6
- data/lib/ogr/multi_line_string.rb +0 -9
- data/lib/ogr/multi_point.rb +0 -7
- data/lib/ogr/multi_polygon.rb +0 -14
- data/lib/ogr/point.rb +0 -89
- data/lib/ogr/polygon.rb +0 -9
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.beta4
|
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: 2015-04-22 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: fakefs
|
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: rake
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,19 +123,19 @@ dependencies:
|
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '3.0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
126
|
+
name: simplecov
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- - "
|
129
|
+
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
131
|
+
version: 0.9.0
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- - "
|
136
|
+
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
138
|
+
version: 0.9.0
|
125
139
|
description:
|
126
140
|
email:
|
127
141
|
- steve.loveless@gmail.com
|
@@ -131,6 +145,7 @@ extra_rdoc_files: []
|
|
131
145
|
files:
|
132
146
|
- ".gitignore"
|
133
147
|
- ".rspec"
|
148
|
+
- ".rubocop.yml"
|
134
149
|
- Gemfile
|
135
150
|
- History.md
|
136
151
|
- LICENSE.txt
|
@@ -139,113 +154,186 @@ files:
|
|
139
154
|
- TODO.md
|
140
155
|
- examples/extract_and_colorize.rb
|
141
156
|
- examples/geometries.rb
|
157
|
+
- examples/gridding.rb
|
142
158
|
- examples/ogr_layer_to_layer.rb
|
159
|
+
- examples/points.txt
|
143
160
|
- examples/testing_gdal.rb
|
144
161
|
- ffi-gdal.gemspec
|
145
162
|
- lib/ext/error_symbols.rb
|
163
|
+
- lib/ext/ffi_library_function_checks.rb
|
146
164
|
- lib/ext/float_ext.rb
|
147
165
|
- lib/ext/narray_ext.rb
|
166
|
+
- lib/ext/numeric_as_data_type.rb
|
148
167
|
- lib/ext/to_bool.rb
|
149
168
|
- lib/ffi-gdal.rb
|
150
|
-
- lib/ffi/cpl/
|
151
|
-
- lib/ffi/cpl/
|
152
|
-
- lib/ffi/cpl/
|
153
|
-
- lib/ffi/cpl/
|
154
|
-
- lib/ffi/cpl/
|
169
|
+
- lib/ffi/cpl/conv.rb
|
170
|
+
- lib/ffi/cpl/error.rb
|
171
|
+
- lib/ffi/cpl/hash_set.rb
|
172
|
+
- lib/ffi/cpl/http.rb
|
173
|
+
- lib/ffi/cpl/http_result.rb
|
174
|
+
- lib/ffi/cpl/list.rb
|
175
|
+
- lib/ffi/cpl/mime_part.rb
|
176
|
+
- lib/ffi/cpl/minixml.rb
|
177
|
+
- lib/ffi/cpl/port.rb
|
178
|
+
- lib/ffi/cpl/quad_tree.rb
|
179
|
+
- lib/ffi/cpl/rect_obj.rb
|
180
|
+
- lib/ffi/cpl/string.rb
|
181
|
+
- lib/ffi/cpl/vsi.rb
|
155
182
|
- lib/ffi/cpl/xml_node.rb
|
156
183
|
- lib/ffi/gdal.rb
|
157
|
-
- lib/ffi/gdal/
|
158
|
-
- lib/ffi/gdal/
|
159
|
-
- lib/ffi/gdal/
|
160
|
-
- lib/ffi/gdal/
|
161
|
-
- lib/ffi/gdal/
|
162
|
-
- lib/ffi/gdal/
|
163
|
-
- lib/ffi/gdal/
|
164
|
-
- lib/ffi/gdal/
|
165
|
-
- lib/ffi/gdal/
|
166
|
-
- lib/ffi/gdal/
|
167
|
-
- lib/ffi/gdal/
|
168
|
-
- lib/ffi/gdal/
|
184
|
+
- lib/ffi/gdal/alg.rb
|
185
|
+
- lib/ffi/gdal/color_entry.rb
|
186
|
+
- lib/ffi/gdal/exceptions.rb
|
187
|
+
- lib/ffi/gdal/gcp.rb
|
188
|
+
- lib/ffi/gdal/gdal.rb
|
189
|
+
- lib/ffi/gdal/grid.rb
|
190
|
+
- lib/ffi/gdal/grid_data_metrics_options.rb
|
191
|
+
- lib/ffi/gdal/grid_inverse_distance_to_a_power_options.rb
|
192
|
+
- lib/ffi/gdal/grid_moving_average_options.rb
|
193
|
+
- lib/ffi/gdal/grid_nearest_neighbor_options.rb
|
194
|
+
- lib/ffi/gdal/matching.rb
|
195
|
+
- lib/ffi/gdal/rpc_info.rb
|
196
|
+
- lib/ffi/gdal/transformer_info.rb
|
169
197
|
- lib/ffi/gdal/version.rb
|
170
|
-
- lib/ffi/gdal/
|
198
|
+
- lib/ffi/gdal/vrt.rb
|
199
|
+
- lib/ffi/gdal/warp_options.rb
|
200
|
+
- lib/ffi/gdal/warper.rb
|
171
201
|
- lib/ffi/ogr.rb
|
172
|
-
- lib/ffi/ogr/
|
173
|
-
- lib/ffi/ogr/
|
174
|
-
- lib/ffi/ogr/
|
175
|
-
- lib/ffi/ogr/
|
176
|
-
- lib/ffi/ogr/
|
177
|
-
- lib/ffi/ogr/
|
178
|
-
- lib/ffi/ogr/
|
179
|
-
- lib/ffi/ogr/
|
180
|
-
- lib/ffi/ogr/
|
181
|
-
- lib/ffi/ogr/
|
182
|
-
- lib/ffi/ogr/
|
202
|
+
- lib/ffi/ogr/api.rb
|
203
|
+
- lib/ffi/ogr/contour_writer_info.rb
|
204
|
+
- lib/ffi/ogr/core.rb
|
205
|
+
- lib/ffi/ogr/envelope.rb
|
206
|
+
- lib/ffi/ogr/envelope_3d.rb
|
207
|
+
- lib/ffi/ogr/featurestyle.rb
|
208
|
+
- lib/ffi/ogr/field.rb
|
209
|
+
- lib/ffi/ogr/geocoding.rb
|
210
|
+
- lib/ffi/ogr/srs_api.rb
|
211
|
+
- lib/ffi/ogr/style_param.rb
|
212
|
+
- lib/ffi/ogr/style_value.rb
|
213
|
+
- lib/gdal.rb
|
183
214
|
- lib/gdal/color_entry.rb
|
184
|
-
- lib/gdal/
|
215
|
+
- lib/gdal/color_entry_mixins/extensions.rb
|
185
216
|
- lib/gdal/color_interpretation.rb
|
186
217
|
- lib/gdal/color_table.rb
|
187
|
-
- lib/gdal/
|
218
|
+
- lib/gdal/color_table_mixins/extensions.rb
|
188
219
|
- lib/gdal/color_table_types/cmyk.rb
|
189
220
|
- lib/gdal/color_table_types/gray.rb
|
190
221
|
- lib/gdal/color_table_types/hls.rb
|
191
222
|
- lib/gdal/color_table_types/rgb.rb
|
223
|
+
- lib/gdal/cpl_error_handler.rb
|
192
224
|
- lib/gdal/data_type.rb
|
193
225
|
- lib/gdal/dataset.rb
|
194
|
-
- lib/gdal/
|
226
|
+
- lib/gdal/dataset_mixins/algorithm_methods.rb
|
227
|
+
- lib/gdal/dataset_mixins/extensions.rb
|
228
|
+
- lib/gdal/dataset_mixins/matching.rb
|
195
229
|
- lib/gdal/driver.rb
|
196
|
-
- lib/gdal/
|
230
|
+
- lib/gdal/driver_mixins/extensions.rb
|
197
231
|
- lib/gdal/environment_methods.rb
|
198
232
|
- lib/gdal/exceptions.rb
|
199
233
|
- lib/gdal/geo_transform.rb
|
200
|
-
- lib/gdal/
|
234
|
+
- lib/gdal/geo_transform_mixins/extensions.rb
|
235
|
+
- lib/gdal/grid.rb
|
236
|
+
- lib/gdal/grid_types.rb
|
237
|
+
- lib/gdal/grid_types/data_metrics_base.rb
|
238
|
+
- lib/gdal/grid_types/inverse_distance_to_a_power.rb
|
239
|
+
- lib/gdal/grid_types/metric_average_distance.rb
|
240
|
+
- lib/gdal/grid_types/metric_average_distance_pts.rb
|
241
|
+
- lib/gdal/grid_types/metric_count.rb
|
242
|
+
- lib/gdal/grid_types/metric_maximum.rb
|
243
|
+
- lib/gdal/grid_types/metric_minimum.rb
|
244
|
+
- lib/gdal/grid_types/metric_range.rb
|
245
|
+
- lib/gdal/grid_types/moving_average.rb
|
246
|
+
- lib/gdal/grid_types/nearest_neighbor.rb
|
247
|
+
- lib/gdal/internal_helpers.rb
|
201
248
|
- lib/gdal/logger.rb
|
202
249
|
- lib/gdal/major_object.rb
|
203
250
|
- lib/gdal/options.rb
|
204
251
|
- lib/gdal/raster_attribute_table.rb
|
205
|
-
- lib/gdal/
|
252
|
+
- lib/gdal/raster_attribute_table_mixins/extensions.rb
|
206
253
|
- lib/gdal/raster_band.rb
|
207
|
-
- lib/gdal/
|
254
|
+
- lib/gdal/raster_band_classifier.rb
|
255
|
+
- lib/gdal/raster_band_mixins/algorithm_methods.rb
|
256
|
+
- lib/gdal/raster_band_mixins/extensions.rb
|
257
|
+
- lib/gdal/rpc_info.rb
|
258
|
+
- lib/gdal/transformer.rb
|
259
|
+
- lib/gdal/transformers/approximate_transformer.rb
|
260
|
+
- lib/gdal/transformers/base_general_image_projection_transformer.rb
|
261
|
+
- lib/gdal/transformers/gcp_transformer.rb
|
262
|
+
- lib/gdal/transformers/general_image_projection_transformer.rb
|
263
|
+
- lib/gdal/transformers/general_image_projection_transformer2.rb
|
264
|
+
- lib/gdal/transformers/general_image_projection_transformer3.rb
|
265
|
+
- lib/gdal/transformers/geolocation_transformer.rb
|
266
|
+
- lib/gdal/transformers/reprojection_transformer.rb
|
267
|
+
- lib/gdal/transformers/rpc_transformer.rb
|
268
|
+
- lib/gdal/transformers/tps_transformer.rb
|
208
269
|
- lib/gdal/version_info.rb
|
270
|
+
- lib/gdal/virtual_dataset.rb
|
209
271
|
- lib/gdal/warp_operation.rb
|
272
|
+
- lib/ogr.rb
|
210
273
|
- lib/ogr/coordinate_transformation.rb
|
211
274
|
- lib/ogr/data_source.rb
|
212
275
|
- lib/ogr/data_source_extensions.rb
|
276
|
+
- lib/ogr/data_source_mixins/capability_methods.rb
|
213
277
|
- lib/ogr/driver.rb
|
278
|
+
- lib/ogr/driver_mixins/capability_methods.rb
|
214
279
|
- lib/ogr/envelope.rb
|
215
280
|
- lib/ogr/envelope_extensions.rb
|
281
|
+
- lib/ogr/error_handling.rb
|
216
282
|
- lib/ogr/exceptions.rb
|
217
283
|
- lib/ogr/feature.rb
|
218
284
|
- lib/ogr/feature_definition.rb
|
219
285
|
- lib/ogr/feature_definition_extensions.rb
|
220
286
|
- lib/ogr/feature_extensions.rb
|
221
287
|
- lib/ogr/field.rb
|
222
|
-
- lib/ogr/
|
223
|
-
- lib/ogr/
|
288
|
+
- lib/ogr/field_definition.rb
|
289
|
+
- lib/ogr/field_definition_extensions.rb
|
290
|
+
- lib/ogr/geocoder.rb
|
291
|
+
- lib/ogr/geometries/geometry_collection.rb
|
292
|
+
- lib/ogr/geometries/line_string.rb
|
293
|
+
- lib/ogr/geometries/linear_ring.rb
|
294
|
+
- lib/ogr/geometries/multi_line_string.rb
|
295
|
+
- lib/ogr/geometries/multi_point.rb
|
296
|
+
- lib/ogr/geometries/multi_polygon.rb
|
297
|
+
- lib/ogr/geometries/none_geometry.rb
|
298
|
+
- lib/ogr/geometries/point.rb
|
299
|
+
- lib/ogr/geometries/point_extensions.rb
|
300
|
+
- lib/ogr/geometries/polygon.rb
|
301
|
+
- lib/ogr/geometries/unknown_geometry.rb
|
224
302
|
- lib/ogr/geometry.rb
|
225
303
|
- lib/ogr/geometry_extensions.rb
|
226
|
-
- lib/ogr/
|
304
|
+
- lib/ogr/geometry_field_definition.rb
|
305
|
+
- lib/ogr/geometry_field_definition_extensions.rb
|
306
|
+
- lib/ogr/geometry_types/container.rb
|
227
307
|
- lib/ogr/geometry_types/curve.rb
|
228
308
|
- lib/ogr/geometry_types/surface.rb
|
309
|
+
- lib/ogr/internal_helpers.rb
|
229
310
|
- lib/ogr/layer.rb
|
230
|
-
- lib/ogr/
|
231
|
-
- lib/ogr/
|
232
|
-
- lib/ogr/
|
233
|
-
- lib/ogr/
|
234
|
-
- lib/ogr/
|
235
|
-
- lib/ogr/
|
236
|
-
- lib/ogr/
|
237
|
-
- lib/ogr/polygon.rb
|
311
|
+
- lib/ogr/layer_mixins/capability_methods.rb
|
312
|
+
- lib/ogr/layer_mixins/extensions.rb
|
313
|
+
- lib/ogr/layer_mixins/ogr_feature_methods.rb
|
314
|
+
- lib/ogr/layer_mixins/ogr_field_methods.rb
|
315
|
+
- lib/ogr/layer_mixins/ogr_layer_method_methods.rb
|
316
|
+
- lib/ogr/layer_mixins/ogr_query_filter_methods.rb
|
317
|
+
- lib/ogr/layer_mixins/ogr_sql_methods.rb
|
238
318
|
- lib/ogr/spatial_reference.rb
|
239
319
|
- lib/ogr/spatial_reference_extensions.rb
|
320
|
+
- lib/ogr/spatial_reference_mixins/coordinate_system_getter_setters.rb
|
321
|
+
- lib/ogr/spatial_reference_mixins/exporters.rb
|
322
|
+
- lib/ogr/spatial_reference_mixins/importers.rb
|
323
|
+
- lib/ogr/spatial_reference_mixins/morphers.rb
|
324
|
+
- lib/ogr/spatial_reference_mixins/parameter_getter_setters.rb
|
325
|
+
- lib/ogr/spatial_reference_mixins/type_checks.rb
|
240
326
|
- lib/ogr/style_table.rb
|
241
327
|
- lib/ogr/style_table_extensions.rb
|
328
|
+
- lib/ogr/style_tool.rb
|
242
329
|
- spec/ffi-gdal_spec.rb
|
243
|
-
- spec/integration/color_table_info_spec.rb
|
244
|
-
- spec/integration/dataset_info_spec.rb
|
245
|
-
- spec/integration/driver_info_spec.rb
|
246
|
-
- spec/integration/geo_transform_info_spec.rb
|
247
|
-
- spec/integration/raster_attribute_table_info_spec.rb
|
248
|
-
- spec/integration/raster_band_info_spec.rb
|
330
|
+
- spec/integration/gdal/color_table_info_spec.rb
|
331
|
+
- spec/integration/gdal/dataset_info_spec.rb
|
332
|
+
- spec/integration/gdal/driver_info_spec.rb
|
333
|
+
- spec/integration/gdal/geo_transform_info_spec.rb
|
334
|
+
- spec/integration/gdal/raster_attribute_table_info_spec.rb
|
335
|
+
- spec/integration/gdal/raster_band_info_spec.rb
|
336
|
+
- spec/integration/ogr/layer_spec.rb
|
249
337
|
- spec/spec_helper.rb
|
250
338
|
- spec/support/integration_help.rb
|
251
339
|
- spec/support/shapefiles/states_21basic/states.dbf
|
@@ -255,19 +343,79 @@ files:
|
|
255
343
|
- spec/support/shapefiles/states_21basic/states.shp
|
256
344
|
- spec/support/shapefiles/states_21basic/states.shp.xml
|
257
345
|
- spec/support/shapefiles/states_21basic/states.shx
|
258
|
-
- spec/support/
|
346
|
+
- spec/support/shared_contexts.rb
|
347
|
+
- spec/support/shared_examples/gdal/major_object_examples.rb
|
348
|
+
- spec/support/shared_examples/ogr/a_25D_geometry.rb
|
349
|
+
- spec/support/shared_examples/ogr/a_container_geometry.rb
|
350
|
+
- spec/support/shared_examples/ogr/a_geometry.rb
|
351
|
+
- spec/support/shared_examples/ogr/a_line_string.rb
|
352
|
+
- spec/support/test_style_table.txt
|
259
353
|
- spec/support/worldfiles/SR_50M/SR_50M.VERSION.txt
|
260
354
|
- spec/support/worldfiles/SR_50M/SR_50M.prj
|
261
355
|
- spec/support/worldfiles/SR_50M/SR_50M.tfw
|
262
356
|
- spec/support/worldfiles/SR_50M/SR_50M.tif
|
263
357
|
- spec/unit/ext/error_symbols_spec.rb
|
264
|
-
- spec/unit/
|
358
|
+
- spec/unit/ext/numeric_as_data_type_spec.rb
|
359
|
+
- spec/unit/ffi/gdal_spec.rb
|
360
|
+
- spec/unit/gdal/color_entry_spec.rb
|
361
|
+
- spec/unit/gdal/color_interpretation_spec.rb
|
362
|
+
- spec/unit/gdal/color_table_mixins/extensions_spec.rb
|
265
363
|
- spec/unit/gdal/color_table_spec.rb
|
266
364
|
- spec/unit/gdal/data_type_spec.rb
|
267
365
|
- spec/unit/gdal/dataset_spec.rb
|
366
|
+
- spec/unit/gdal/driver_mixins/extensions_spec.rb
|
367
|
+
- spec/unit/gdal/driver_spec.rb
|
368
|
+
- spec/unit/gdal/environment_methods_spec.rb
|
369
|
+
- spec/unit/gdal/geo_transform_spec.rb
|
370
|
+
- spec/unit/gdal/grid_spec.rb
|
371
|
+
- spec/unit/gdal/internal_helpers_spec.rb
|
372
|
+
- spec/unit/gdal/major_object_spec.rb
|
373
|
+
- spec/unit/gdal/options_spec.rb
|
374
|
+
- spec/unit/gdal/raster_attribute_table_spec.rb
|
375
|
+
- spec/unit/gdal/raster_band_classifier_spec.rb
|
376
|
+
- spec/unit/gdal/raster_band_spec.rb
|
377
|
+
- spec/unit/gdal/rpc_info_spec.rb
|
378
|
+
- spec/unit/gdal/version_info_spec.rb
|
379
|
+
- spec/unit/gdal/virtual_dataset_spec.rb
|
380
|
+
- spec/unit/gdal/warp_operation_spec.rb
|
381
|
+
- spec/unit/ogr/data_source_mixins/capability_methods_spec.rb
|
382
|
+
- spec/unit/ogr/data_source_spec.rb
|
383
|
+
- spec/unit/ogr/driver_mixins/capability_methods_spec.rb
|
384
|
+
- spec/unit/ogr/driver_spec.rb
|
385
|
+
- spec/unit/ogr/envelope_spec.rb
|
386
|
+
- spec/unit/ogr/feature_definition_spec.rb
|
387
|
+
- spec/unit/ogr/feature_spec.rb
|
388
|
+
- spec/unit/ogr/field_definition_spec.rb
|
389
|
+
- spec/unit/ogr/field_spec.rb
|
390
|
+
- spec/unit/ogr/geometries/geometry_collection_spec.rb
|
391
|
+
- spec/unit/ogr/geometries/line_string_spec.rb
|
392
|
+
- spec/unit/ogr/geometries/linear_ring_spec.rb
|
393
|
+
- spec/unit/ogr/geometries/multi_line_string_spec.rb
|
394
|
+
- spec/unit/ogr/geometries/multi_point_spec.rb
|
395
|
+
- spec/unit/ogr/geometries/multi_polygon_spec.rb
|
396
|
+
- spec/unit/ogr/geometries/none_geometry_spec.rb
|
397
|
+
- spec/unit/ogr/geometries/point_spec.rb
|
398
|
+
- spec/unit/ogr/geometries/polygon_spec.rb
|
399
|
+
- spec/unit/ogr/geometries/unknown_geometry_spec.rb
|
400
|
+
- spec/unit/ogr/geometry_field_definition_spec.rb
|
401
|
+
- spec/unit/ogr/geometry_spec.rb
|
402
|
+
- spec/unit/ogr/internal_helpers_spec.rb
|
403
|
+
- spec/unit/ogr/layer_mixins/capability_methods_spec.rb
|
404
|
+
- spec/unit/ogr/layer_mixins/ogr_feature_methods_spec.rb
|
405
|
+
- spec/unit/ogr/layer_mixins/ogr_field_methods_spec.rb
|
406
|
+
- spec/unit/ogr/layer_mixins/ogr_layer_method_methods_spec.rb
|
407
|
+
- spec/unit/ogr/layer_mixins/ogr_query_filter_methods_spec.rb
|
408
|
+
- spec/unit/ogr/layer_mixins/ogr_sql_methods_spec.rb
|
268
409
|
- spec/unit/ogr/layer_spec.rb
|
269
|
-
- spec/unit/ogr/
|
270
|
-
- spec/unit/ogr/
|
410
|
+
- spec/unit/ogr/spatial_reference_mixins/coordinate_system_getter_setters_spec.rb
|
411
|
+
- spec/unit/ogr/spatial_reference_mixins/exporters_spec.rb
|
412
|
+
- spec/unit/ogr/spatial_reference_mixins/importers_spec.rb
|
413
|
+
- spec/unit/ogr/spatial_reference_mixins/morphers_spec.rb
|
414
|
+
- spec/unit/ogr/spatial_reference_mixins/parameter_getter_setters_spec.rb
|
415
|
+
- spec/unit/ogr/spatial_reference_mixins/type_checks_spec.rb
|
416
|
+
- spec/unit/ogr/spatial_reference_spec.rb
|
417
|
+
- spec/unit/ogr/style_table_spec.rb
|
418
|
+
- spec/unit/ogr/style_tool_spec.rb
|
271
419
|
- spec/unit/version_info_spec.rb
|
272
420
|
homepage: https://github.com/turboladen/ffi-gdal
|
273
421
|
licenses:
|
@@ -289,18 +437,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
437
|
version: 1.3.1
|
290
438
|
requirements: []
|
291
439
|
rubyforge_project:
|
292
|
-
rubygems_version: 2.
|
440
|
+
rubygems_version: 2.4.6
|
293
441
|
signing_key:
|
294
442
|
specification_version: 4
|
295
443
|
summary: FFI wrapper for GDAL/OGR.
|
296
444
|
test_files:
|
297
445
|
- spec/ffi-gdal_spec.rb
|
298
|
-
- spec/integration/color_table_info_spec.rb
|
299
|
-
- spec/integration/dataset_info_spec.rb
|
300
|
-
- spec/integration/driver_info_spec.rb
|
301
|
-
- spec/integration/geo_transform_info_spec.rb
|
302
|
-
- spec/integration/raster_attribute_table_info_spec.rb
|
303
|
-
- spec/integration/raster_band_info_spec.rb
|
446
|
+
- spec/integration/gdal/color_table_info_spec.rb
|
447
|
+
- spec/integration/gdal/dataset_info_spec.rb
|
448
|
+
- spec/integration/gdal/driver_info_spec.rb
|
449
|
+
- spec/integration/gdal/geo_transform_info_spec.rb
|
450
|
+
- spec/integration/gdal/raster_attribute_table_info_spec.rb
|
451
|
+
- spec/integration/gdal/raster_band_info_spec.rb
|
452
|
+
- spec/integration/ogr/layer_spec.rb
|
304
453
|
- spec/spec_helper.rb
|
305
454
|
- spec/support/integration_help.rb
|
306
455
|
- spec/support/shapefiles/states_21basic/states.dbf
|
@@ -310,17 +459,78 @@ test_files:
|
|
310
459
|
- spec/support/shapefiles/states_21basic/states.shp
|
311
460
|
- spec/support/shapefiles/states_21basic/states.shp.xml
|
312
461
|
- spec/support/shapefiles/states_21basic/states.shx
|
313
|
-
- spec/support/
|
462
|
+
- spec/support/shared_contexts.rb
|
463
|
+
- spec/support/shared_examples/gdal/major_object_examples.rb
|
464
|
+
- spec/support/shared_examples/ogr/a_25D_geometry.rb
|
465
|
+
- spec/support/shared_examples/ogr/a_container_geometry.rb
|
466
|
+
- spec/support/shared_examples/ogr/a_geometry.rb
|
467
|
+
- spec/support/shared_examples/ogr/a_line_string.rb
|
468
|
+
- spec/support/test_style_table.txt
|
314
469
|
- spec/support/worldfiles/SR_50M/SR_50M.VERSION.txt
|
315
470
|
- spec/support/worldfiles/SR_50M/SR_50M.prj
|
316
471
|
- spec/support/worldfiles/SR_50M/SR_50M.tfw
|
317
472
|
- spec/support/worldfiles/SR_50M/SR_50M.tif
|
318
473
|
- spec/unit/ext/error_symbols_spec.rb
|
319
|
-
- spec/unit/
|
474
|
+
- spec/unit/ext/numeric_as_data_type_spec.rb
|
475
|
+
- spec/unit/ffi/gdal_spec.rb
|
476
|
+
- spec/unit/gdal/color_entry_spec.rb
|
477
|
+
- spec/unit/gdal/color_interpretation_spec.rb
|
478
|
+
- spec/unit/gdal/color_table_mixins/extensions_spec.rb
|
320
479
|
- spec/unit/gdal/color_table_spec.rb
|
321
480
|
- spec/unit/gdal/data_type_spec.rb
|
322
481
|
- spec/unit/gdal/dataset_spec.rb
|
482
|
+
- spec/unit/gdal/driver_mixins/extensions_spec.rb
|
483
|
+
- spec/unit/gdal/driver_spec.rb
|
484
|
+
- spec/unit/gdal/environment_methods_spec.rb
|
485
|
+
- spec/unit/gdal/geo_transform_spec.rb
|
486
|
+
- spec/unit/gdal/grid_spec.rb
|
487
|
+
- spec/unit/gdal/internal_helpers_spec.rb
|
488
|
+
- spec/unit/gdal/major_object_spec.rb
|
489
|
+
- spec/unit/gdal/options_spec.rb
|
490
|
+
- spec/unit/gdal/raster_attribute_table_spec.rb
|
491
|
+
- spec/unit/gdal/raster_band_classifier_spec.rb
|
492
|
+
- spec/unit/gdal/raster_band_spec.rb
|
493
|
+
- spec/unit/gdal/rpc_info_spec.rb
|
494
|
+
- spec/unit/gdal/version_info_spec.rb
|
495
|
+
- spec/unit/gdal/virtual_dataset_spec.rb
|
496
|
+
- spec/unit/gdal/warp_operation_spec.rb
|
497
|
+
- spec/unit/ogr/data_source_mixins/capability_methods_spec.rb
|
498
|
+
- spec/unit/ogr/data_source_spec.rb
|
499
|
+
- spec/unit/ogr/driver_mixins/capability_methods_spec.rb
|
500
|
+
- spec/unit/ogr/driver_spec.rb
|
501
|
+
- spec/unit/ogr/envelope_spec.rb
|
502
|
+
- spec/unit/ogr/feature_definition_spec.rb
|
503
|
+
- spec/unit/ogr/feature_spec.rb
|
504
|
+
- spec/unit/ogr/field_definition_spec.rb
|
505
|
+
- spec/unit/ogr/field_spec.rb
|
506
|
+
- spec/unit/ogr/geometries/geometry_collection_spec.rb
|
507
|
+
- spec/unit/ogr/geometries/line_string_spec.rb
|
508
|
+
- spec/unit/ogr/geometries/linear_ring_spec.rb
|
509
|
+
- spec/unit/ogr/geometries/multi_line_string_spec.rb
|
510
|
+
- spec/unit/ogr/geometries/multi_point_spec.rb
|
511
|
+
- spec/unit/ogr/geometries/multi_polygon_spec.rb
|
512
|
+
- spec/unit/ogr/geometries/none_geometry_spec.rb
|
513
|
+
- spec/unit/ogr/geometries/point_spec.rb
|
514
|
+
- spec/unit/ogr/geometries/polygon_spec.rb
|
515
|
+
- spec/unit/ogr/geometries/unknown_geometry_spec.rb
|
516
|
+
- spec/unit/ogr/geometry_field_definition_spec.rb
|
517
|
+
- spec/unit/ogr/geometry_spec.rb
|
518
|
+
- spec/unit/ogr/internal_helpers_spec.rb
|
519
|
+
- spec/unit/ogr/layer_mixins/capability_methods_spec.rb
|
520
|
+
- spec/unit/ogr/layer_mixins/ogr_feature_methods_spec.rb
|
521
|
+
- spec/unit/ogr/layer_mixins/ogr_field_methods_spec.rb
|
522
|
+
- spec/unit/ogr/layer_mixins/ogr_layer_method_methods_spec.rb
|
523
|
+
- spec/unit/ogr/layer_mixins/ogr_query_filter_methods_spec.rb
|
524
|
+
- spec/unit/ogr/layer_mixins/ogr_sql_methods_spec.rb
|
323
525
|
- spec/unit/ogr/layer_spec.rb
|
324
|
-
- spec/unit/ogr/
|
325
|
-
- spec/unit/ogr/
|
526
|
+
- spec/unit/ogr/spatial_reference_mixins/coordinate_system_getter_setters_spec.rb
|
527
|
+
- spec/unit/ogr/spatial_reference_mixins/exporters_spec.rb
|
528
|
+
- spec/unit/ogr/spatial_reference_mixins/importers_spec.rb
|
529
|
+
- spec/unit/ogr/spatial_reference_mixins/morphers_spec.rb
|
530
|
+
- spec/unit/ogr/spatial_reference_mixins/parameter_getter_setters_spec.rb
|
531
|
+
- spec/unit/ogr/spatial_reference_mixins/type_checks_spec.rb
|
532
|
+
- spec/unit/ogr/spatial_reference_spec.rb
|
533
|
+
- spec/unit/ogr/style_table_spec.rb
|
534
|
+
- spec/unit/ogr/style_tool_spec.rb
|
326
535
|
- spec/unit/version_info_spec.rb
|
536
|
+
has_rdoc:
|
data/lib/ffi/cpl/conv_h.rb
DELETED
@@ -1,143 +0,0 @@
|
|
1
|
-
require_relative 'error_h'
|
2
|
-
require_relative 'vsi_h'
|
3
|
-
|
4
|
-
|
5
|
-
module FFI
|
6
|
-
module GDAL
|
7
|
-
def CPLFree(pointer)
|
8
|
-
extend CPLVSI
|
9
|
-
VSIFree(pointer)
|
10
|
-
end
|
11
|
-
|
12
|
-
#------------------------------------------------------------------------
|
13
|
-
# cpl_port Typedefs
|
14
|
-
#------------------------------------------------------------------------
|
15
|
-
typedef :int, :GInt32
|
16
|
-
typedef :uint, :GUInt32
|
17
|
-
typedef :short, :GInt16
|
18
|
-
typedef :ushort, :GUInt16
|
19
|
-
typedef :uchar, :GByte
|
20
|
-
typedef :int, :GBool
|
21
|
-
typedef :long_long, :GIntBig
|
22
|
-
typedef :ulong_long, :GUIntBig
|
23
|
-
|
24
|
-
#--------------------------------------------------------------------------
|
25
|
-
# Functions
|
26
|
-
#--------------------------------------------------------------------------
|
27
|
-
callback :CPLFileFinder, %i[string string], :string
|
28
|
-
|
29
|
-
#---------
|
30
|
-
# Config
|
31
|
-
#---------
|
32
|
-
attach_function :CPLVerifyConfiguration, %i[], :void
|
33
|
-
attach_function :CPLGetConfigOption, %i[string string], :string
|
34
|
-
attach_function :CPLSetConfigOption, %i[string string], :void
|
35
|
-
attach_function :CPLSetThreadLocalConfigOption, %i[string string], :void
|
36
|
-
attach_function :CPLFreeConfig, %i[], :void
|
37
|
-
|
38
|
-
#---------
|
39
|
-
# Memory
|
40
|
-
#---------
|
41
|
-
attach_function :CPLMalloc, %i[size_t], :pointer
|
42
|
-
attach_function :CPLCalloc, %i[size_t size_t], :pointer
|
43
|
-
attach_function :CPLRealloc, %i[pointer size_t], :pointer
|
44
|
-
|
45
|
-
#---------
|
46
|
-
# Strings
|
47
|
-
#---------
|
48
|
-
attach_function :CPLStrdup, %i[string], :string
|
49
|
-
attach_function :CPLStrlwr, %i[string], :string
|
50
|
-
attach_function :CPLFGets, %i[string int pointer], :string
|
51
|
-
attach_function :CPLReadLine, %i[pointer], :string
|
52
|
-
attach_function :CPLReadLineL, %i[pointer], :string
|
53
|
-
attach_function :CPLReadLine2L, %i[pointer int pointer], :string
|
54
|
-
attach_function :CPLAtof, %i[string], :double
|
55
|
-
attach_function :CPLAtofDelim, %i[string char], :double
|
56
|
-
attach_function :CPLStrtod, %i[string pointer], :double
|
57
|
-
attach_function :CPLStrtodDelim, %i[string pointer char], :double
|
58
|
-
attach_function :CPLStrtof, %i[string pointer], :float
|
59
|
-
attach_function :CPLStrtofDelim, %i[string pointer char], :float
|
60
|
-
attach_function :CPLAtofM, %i[string], :double
|
61
|
-
attach_function :CPLScanString, %i[string int int int], :string
|
62
|
-
attach_function :CPLScanDouble, %i[string int], :double
|
63
|
-
attach_function :CPLScanLong, %i[string int], :long
|
64
|
-
attach_function :CPLScanLong, %i[string int], :ulong
|
65
|
-
attach_function :CPLScanUIntBig, %i[string int], :GUIntBig
|
66
|
-
attach_function :CPLScanPointer, %i[string int], :pointer
|
67
|
-
attach_function :CPLPrintString, %i[string string int], :int
|
68
|
-
attach_function :CPLPrintStringFill, %i[string string int], :int
|
69
|
-
|
70
|
-
#---------
|
71
|
-
# Numbers to strings
|
72
|
-
#---------
|
73
|
-
attach_function :CPLPrintInt32, %i[string GInt32 int], :int
|
74
|
-
attach_function :CPLPrintUIntBig, %i[string GUIntBig int], :int
|
75
|
-
attach_function :CPLPrintDouble, %i[string string double string], :int
|
76
|
-
attach_function :CPLPrintTime, %i[string int string pointer string], :int
|
77
|
-
attach_function :CPLPrintPointer, %i[string pointer int], :int
|
78
|
-
attach_function :CPLGetSymbol, %i[string string], :pointer
|
79
|
-
|
80
|
-
#---------
|
81
|
-
# Files
|
82
|
-
#---------
|
83
|
-
attach_function :CPLGetExecPath, %i[string int], :int
|
84
|
-
attach_function :CPLGetPath, %i[string], :string
|
85
|
-
attach_function :CPLGetDirname, %i[string], :string
|
86
|
-
attach_function :CPLGetFilename, %i[string], :string
|
87
|
-
attach_function :CPLGetBasename, %i[string], :string
|
88
|
-
attach_function :CPLGetExtension, %i[string], :string
|
89
|
-
attach_function :CPLGetCurrentDir, [], :string
|
90
|
-
attach_function :CPLFormFilename, %i[string string string], :string
|
91
|
-
attach_function :CPLFormCIFilename, %i[string string string], :string
|
92
|
-
attach_function :CPLResetExtension, %i[string string], :string
|
93
|
-
attach_function :CPLProjectRelativeFilename, %i[string string], :string
|
94
|
-
attach_function :CPLIsFilenameRelative, %i[string], :int
|
95
|
-
attach_function :CPLExtractRelativePath, %i[string string pointer], :string
|
96
|
-
attach_function :CPLCleanTrailingSlash, %i[string], :string
|
97
|
-
attach_function :CPLCorrespondingPaths, %i[string string pointer], :pointer
|
98
|
-
attach_function :CPLCheckForFile, %i[string string], :int
|
99
|
-
attach_function :CPLGenerateTempFilename, %i[string], :string
|
100
|
-
attach_function :CPLFindFile, %i[string string], :string
|
101
|
-
attach_function :CPLDefaultFindFile, %i[string string], :string
|
102
|
-
attach_function :CPLPushFileFinder, %i[CPLFileFinder], :void
|
103
|
-
attach_function :CPLPopFileFinder, %i[], :CPLFileFinder
|
104
|
-
attach_function :CPLPushFinderLocation, %i[string], :void
|
105
|
-
attach_function :CPLPopFinderLocation, %i[], :void
|
106
|
-
attach_function :CPLFinderClean, %i[], :void
|
107
|
-
attach_function :CPLStat, %i[string pointer], :int
|
108
|
-
attach_function :CPLOpenShared, %i[string string int], :pointer
|
109
|
-
attach_function :CPLCloseShared, %i[pointer], :void
|
110
|
-
attach_function :CPLGetSharedList, %i[pointer], :pointer
|
111
|
-
attach_function :CPLDumpSharedList, %i[pointer], :void
|
112
|
-
attach_function :CPLCleanupSharedFileMutex, %i[], :void
|
113
|
-
|
114
|
-
attach_function :CPLDMSToDec, %i[string], :double
|
115
|
-
attach_function :CPLDecToDMS, %i[double string int], :string
|
116
|
-
attach_function :CPLPackedDMSToDec, %i[double], :double
|
117
|
-
attach_function :CPLDecToPackedDMS, %i[double], :string
|
118
|
-
attach_function :CPLStringToComplex, %i[string pointer pointer], :void
|
119
|
-
attach_function :CPLUnlinkTree, %i[string], :int
|
120
|
-
attach_function :CPLCopyFile, %i[string string], :int
|
121
|
-
attach_function :CPLMoveFile, %i[string string], :int
|
122
|
-
|
123
|
-
#---------
|
124
|
-
# Zip Files
|
125
|
-
#---------
|
126
|
-
attach_function :CPLCreateZip, %i[string pointer], :pointer
|
127
|
-
attach_function :CPLCreateFileInZip, %i[pointer string pointer], CPLErr
|
128
|
-
attach_function :CPLWriteFileInZip, %i[pointer pointer int], CPLErr
|
129
|
-
attach_function :CPLCloseFileInZip, %i[pointer], CPLErr
|
130
|
-
attach_function :CPLCloseZip, %i[pointer], CPLErr
|
131
|
-
attach_function :CPLZLibDeflate,
|
132
|
-
%i[pointer size_t int pointer size_t pointer],
|
133
|
-
:pointer
|
134
|
-
attach_function :CPLZLibInflate,
|
135
|
-
%i[pointer size_t pointer size_t pointer],
|
136
|
-
:pointer
|
137
|
-
|
138
|
-
attach_function :CPLValidateXML, %i[string string pointer], :int
|
139
|
-
attach_function :CPLsetlocale, %i[int string], :string
|
140
|
-
|
141
|
-
attach_function :CPLCleanupSetlocaleMutex, %i[], :void
|
142
|
-
end
|
143
|
-
end
|