ffi-gdal 1.0.0.beta16 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (324) hide show
  1. checksums.yaml +4 -4
  2. data/.dockerignore +17 -0
  3. data/.github/workflows/codacy.yml +61 -0
  4. data/.github/workflows/codeql.yml +74 -0
  5. data/.github/workflows/continuous-integration.yml +36 -0
  6. data/.github/workflows/dependency-review.yml +20 -0
  7. data/.github/workflows/specs-in-docker.yml +27 -0
  8. data/.gitignore +3 -0
  9. data/.rspec +1 -0
  10. data/.rubocop.yml +10 -80
  11. data/.rubocop_todo.yml +23 -40
  12. data/.ruby-version +1 -1
  13. data/Changelog-0.x.md +512 -0
  14. data/Changelog.md +12 -0
  15. data/Dockerfile.gdal2 +110 -0
  16. data/Dockerfile.gdal3 +73 -0
  17. data/README.md +25 -14
  18. data/Rakefile +0 -8
  19. data/Tiltfile +91 -0
  20. data/bin/bundle +123 -0
  21. data/bin/docker-clean +8 -0
  22. data/bin/rake +29 -0
  23. data/bin/rspec +29 -0
  24. data/bin/rubocop +29 -0
  25. data/docker-compose.yml +25 -0
  26. data/examples/extract_and_colorize.rb +0 -13
  27. data/examples/geometries.rb +14 -14
  28. data/examples/ogr_layer_to_layer.rb +1 -3
  29. data/examples/raster_erasing.rb +1 -0
  30. data/examples/remove_small_polygons.rb +1 -1
  31. data/examples/testing_gdal.rb +20 -17
  32. data/examples/warping.rb +9 -7
  33. data/ffi-gdal.gemspec +12 -6
  34. data/lib/ext/ffi_library_function_checks.rb +2 -2
  35. data/lib/ext/to_bool.rb +5 -3
  36. data/lib/ffi/cpl/conv.rb +27 -25
  37. data/lib/ffi/cpl/error.rb +19 -20
  38. data/lib/ffi/cpl/hash_set.rb +4 -4
  39. data/lib/ffi/cpl/http.rb +3 -3
  40. data/lib/ffi/cpl/http_result.rb +8 -8
  41. data/lib/ffi/cpl/list.rb +1 -1
  42. data/lib/ffi/cpl/mime_part.rb +2 -2
  43. data/lib/ffi/cpl/minixml.rb +7 -7
  44. data/lib/ffi/cpl/progress.rb +8 -8
  45. data/lib/ffi/cpl/quad_tree.rb +14 -14
  46. data/lib/ffi/cpl/rect_obj.rb +3 -3
  47. data/lib/ffi/cpl/string.rb +17 -20
  48. data/lib/ffi/cpl/vsi.rb +13 -13
  49. data/lib/ffi/cpl/xml_node.rb +3 -3
  50. data/lib/ffi/extensions/gdal/extensions/all.rb +4 -0
  51. data/lib/ffi/extensions/gdal/extensions/version.rb +9 -0
  52. data/lib/ffi/extensions/gdal/extensions.rb +12 -0
  53. data/lib/ffi/extensions/rttopo/gbox.rb +19 -0
  54. data/lib/ffi/extensions/rttopo/geom.rb +16 -0
  55. data/lib/ffi/extensions/rttopo.rb +41 -0
  56. data/lib/ffi/gdal/alg.rb +277 -277
  57. data/lib/ffi/gdal/color_entry.rb +3 -3
  58. data/lib/ffi/gdal/gcp.rb +6 -6
  59. data/lib/ffi/gdal/gdal.rb +349 -349
  60. data/lib/ffi/gdal/grid.rb +134 -134
  61. data/lib/ffi/gdal/grid_data_metrics_options.rb +4 -4
  62. data/lib/ffi/gdal/grid_inverse_distance_to_a_power_options.rb +9 -9
  63. data/lib/ffi/gdal/grid_moving_average_options.rb +4 -4
  64. data/lib/ffi/gdal/grid_nearest_neighbor_options.rb +3 -3
  65. data/lib/ffi/gdal/matching.rb +3 -3
  66. data/lib/ffi/gdal/rpc_info.rb +17 -17
  67. data/lib/ffi/gdal/transformer_info.rb +4 -4
  68. data/lib/ffi/gdal/version.rb +1 -1
  69. data/lib/ffi/gdal/vrt.rb +39 -39
  70. data/lib/ffi/gdal/warp_options.rb +34 -34
  71. data/lib/ffi/gdal/warper.rb +90 -90
  72. data/lib/ffi/gdal.rb +2 -31
  73. data/lib/ffi/ogr/api.rb +175 -167
  74. data/lib/ffi/ogr/contour_writer_info.rb +4 -4
  75. data/lib/ffi/ogr/core.rb +107 -107
  76. data/lib/ffi/ogr/envelope.rb +3 -3
  77. data/lib/ffi/ogr/envelope_3d.rb +5 -5
  78. data/lib/ffi/ogr/featurestyle.rb +3 -3
  79. data/lib/ffi/ogr/field.rb +22 -22
  80. data/lib/ffi/ogr/geocoding.rb +4 -4
  81. data/lib/ffi/ogr/srs_api.rb +154 -155
  82. data/lib/ffi/ogr/style_param.rb +3 -3
  83. data/lib/ffi/ogr/style_value.rb +4 -4
  84. data/lib/gdal/color_entry.rb +1 -5
  85. data/lib/gdal/color_interpretation.rb +7 -3
  86. data/lib/gdal/color_table.rb +46 -27
  87. data/lib/gdal/cpl_error_handler.rb +26 -6
  88. data/lib/gdal/data_type.rb +10 -3
  89. data/lib/gdal/dataset.rb +171 -85
  90. data/lib/gdal/dataset_mixins/algorithm_methods.rb +44 -44
  91. data/lib/gdal/dataset_mixins/matching.rb +1 -1
  92. data/lib/gdal/dataset_mixins/warp_methods.rb +4 -2
  93. data/lib/gdal/driver.rb +38 -21
  94. data/lib/gdal/environment_methods.rb +6 -6
  95. data/lib/gdal/extensions/all.rb +3 -0
  96. data/lib/gdal/{color_entry_mixins → extensions/color_entry}/extensions.rb +4 -1
  97. data/lib/gdal/{color_table_mixins → extensions/color_table}/extensions.rb +3 -0
  98. data/lib/gdal/extensions/dataset/extensions.rb +205 -0
  99. data/lib/gdal/{driver_mixins → extensions/driver}/extensions.rb +6 -2
  100. data/lib/gdal/{geo_transform_mixins → extensions/geo_transform}/extensions.rb +10 -8
  101. data/lib/gdal/{gridder → extensions/gridder}/point_extracting.rb +7 -5
  102. data/lib/gdal/{gridder.rb → extensions/gridder.rb} +33 -33
  103. data/lib/gdal/{gridder_options.rb → extensions/gridder_options.rb} +13 -14
  104. data/lib/gdal/{raster_attribute_table_mixins → extensions/raster_attribute_table}/extensions.rb +8 -6
  105. data/lib/gdal/{raster_band_mixins → extensions/raster_band}/algorithm_extensions.rb +8 -6
  106. data/lib/gdal/{raster_band_mixins → extensions/raster_band}/coloring_extensions.rb +6 -4
  107. data/lib/gdal/{raster_band_mixins → extensions/raster_band}/extensions.rb +9 -5
  108. data/lib/gdal/{raster_band_mixins → extensions/raster_band}/io_extensions.rb +18 -14
  109. data/lib/gdal/{raster_band_classifier.rb → extensions/raster_band_classifier.rb} +3 -5
  110. data/lib/gdal/geo_transform.rb +1 -6
  111. data/lib/gdal/grid.rb +3 -2
  112. data/lib/gdal/grid_algorithms.rb +9 -9
  113. data/lib/gdal/internal_helpers.rb +46 -9
  114. data/lib/gdal/major_object.rb +11 -3
  115. data/lib/gdal/options.rb +26 -32
  116. data/lib/gdal/raster_attribute_table.rb +63 -37
  117. data/lib/gdal/raster_band.rb +164 -116
  118. data/lib/gdal/raster_band_mixins/algorithm_methods.rb +26 -25
  119. data/lib/gdal/rpc_info.rb +3 -2
  120. data/lib/gdal/transformers/approximate_transformer.rb +12 -3
  121. data/lib/gdal/transformers/base_general_image_projection_transformer.rb +15 -2
  122. data/lib/gdal/transformers/gcp_transformer.rb +27 -19
  123. data/lib/gdal/transformers/general_image_projection_transformer.rb +8 -6
  124. data/lib/gdal/transformers/general_image_projection_transformer2.rb +9 -6
  125. data/lib/gdal/transformers/general_image_projection_transformer3.rb +6 -2
  126. data/lib/gdal/transformers/geolocation_transformer.rb +12 -4
  127. data/lib/gdal/transformers/reprojection_transformer.rb +11 -3
  128. data/lib/gdal/transformers/rpc_transformer.rb +11 -2
  129. data/lib/gdal/transformers/tps_transformer.rb +12 -4
  130. data/lib/gdal/version_info.rb +2 -2
  131. data/lib/gdal/virtual_dataset.rb +2 -0
  132. data/lib/gdal/warp_operation.rb +65 -54
  133. data/lib/gdal/warp_options.rb +9 -11
  134. data/lib/ogr/coordinate_transformation.rb +23 -9
  135. data/lib/ogr/data_source.rb +68 -37
  136. data/lib/ogr/driver.rb +18 -17
  137. data/lib/ogr/envelope.rb +0 -3
  138. data/lib/ogr/error_handling.rb +22 -24
  139. data/lib/ogr/extensions/all.rb +3 -0
  140. data/lib/ogr/{data_source_mixins → extensions/data_source}/capability_methods.rb +2 -0
  141. data/lib/ogr/extensions/data_source/data_source_extensions.rb +16 -0
  142. data/lib/ogr/{driver_mixins → extensions/driver}/capability_methods.rb +5 -1
  143. data/lib/ogr/extensions/envelope/extensions.rb +114 -0
  144. data/lib/ogr/extensions/feature/extensions.rb +87 -0
  145. data/lib/ogr/extensions/feature_definition/extensions.rb +43 -0
  146. data/lib/ogr/extensions/geometries/point/extensions.rb +19 -0
  147. data/lib/ogr/extensions/geometry/container_mixins.rb +56 -0
  148. data/lib/ogr/extensions/geometry/ewkb_io_extensions.rb +44 -0
  149. data/lib/ogr/extensions/geometry/ewkb_record.rb +94 -0
  150. data/lib/ogr/{geometry_mixins → extensions/geometry}/extensions.rb +16 -9
  151. data/lib/ogr/extensions/geometry/rttopo_extensions.rb +48 -0
  152. data/lib/ogr/extensions/geometry/wkb_record.rb +63 -0
  153. data/lib/ogr/extensions/geometry_types/curve/extensions.rb +68 -0
  154. data/lib/ogr/{layer_mixins → extensions/layer}/capability_methods.rb +4 -0
  155. data/lib/ogr/{layer_mixins → extensions/layer}/extensions.rb +11 -6
  156. data/lib/ogr/extensions/spatial_reference/extensions.rb +38 -0
  157. data/lib/ogr/extensions/spatial_reference/initializers.rb +138 -0
  158. data/lib/ogr/extensions/style_table/extensions.rb +31 -0
  159. data/lib/ogr/feature.rb +173 -88
  160. data/lib/ogr/feature_definition.rb +53 -45
  161. data/lib/ogr/field.rb +17 -19
  162. data/lib/ogr/field_definition.rb +30 -18
  163. data/lib/ogr/geocoder.rb +11 -4
  164. data/lib/ogr/geometries/line_string.rb +1 -0
  165. data/lib/ogr/geometries/line_string_25d.rb +0 -9
  166. data/lib/ogr/geometries/linear_ring.rb +2 -2
  167. data/lib/ogr/geometries/point.rb +0 -9
  168. data/lib/ogr/geometry.rb +116 -49
  169. data/lib/ogr/geometry_field_definition.rb +31 -15
  170. data/lib/ogr/geometry_types/container.rb +26 -28
  171. data/lib/ogr/geometry_types/curve.rb +5 -61
  172. data/lib/ogr/geometry_types/surface.rb +1 -1
  173. data/lib/ogr/internal_helpers.rb +2 -2
  174. data/lib/ogr/layer.rb +12 -10
  175. data/lib/ogr/layer_mixins/ogr_feature_methods.rb +39 -27
  176. data/lib/ogr/layer_mixins/ogr_field_methods.rb +66 -50
  177. data/lib/ogr/layer_mixins/ogr_layer_method_methods.rb +17 -8
  178. data/lib/ogr/layer_mixins/ogr_query_filter_methods.rb +7 -6
  179. data/lib/ogr/layer_mixins/ogr_sql_methods.rb +15 -7
  180. data/lib/ogr/spatial_reference.rb +79 -42
  181. data/lib/ogr/spatial_reference_mixins/coordinate_system_getter_setters.rb +149 -118
  182. data/lib/ogr/spatial_reference_mixins/exporters.rb +87 -51
  183. data/lib/ogr/spatial_reference_mixins/importers.rb +88 -43
  184. data/lib/ogr/spatial_reference_mixins/morphers.rb +12 -8
  185. data/lib/ogr/spatial_reference_mixins/parameter_getter_setters.rb +27 -13
  186. data/lib/ogr/style_table.rb +15 -5
  187. data/lib/ogr/style_tool.rb +29 -15
  188. data/lib/ogr.rb +1 -0
  189. data/rakelib/docker.rake +10 -0
  190. data/sorbet/rbi/hidden-definitions/errors.txt +21790 -0
  191. data/tilt/gdal2.yml +22 -0
  192. data/tilt/gdal3.yml +22 -0
  193. metadata +116 -280
  194. data/History.md +0 -360
  195. data/lib/ext/error_symbols.rb +0 -7
  196. data/lib/gdal/dataset_mixins/extensions.rb +0 -380
  197. data/lib/gdal/merger.rb +0 -132
  198. data/lib/ogr/data_source_extensions.rb +0 -10
  199. data/lib/ogr/envelope_extensions.rb +0 -110
  200. data/lib/ogr/feature_definition_extensions.rb +0 -39
  201. data/lib/ogr/feature_extensions.rb +0 -87
  202. data/lib/ogr/geometry_mixins/container_mixins.rb +0 -25
  203. data/lib/ogr/spatial_reference_extensions.rb +0 -34
  204. data/lib/ogr/style_table_extensions.rb +0 -26
  205. data/spec/ffi-gdal_spec.rb +0 -24
  206. data/spec/integration/gdal/color_table_info_spec.rb +0 -78
  207. data/spec/integration/gdal/dataset_info_spec.rb +0 -342
  208. data/spec/integration/gdal/driver_info_spec.rb +0 -170
  209. data/spec/integration/gdal/geo_transform_info_spec.rb +0 -226
  210. data/spec/integration/gdal/gridder_spec.rb +0 -331
  211. data/spec/integration/gdal/raster_attribute_table_info_spec.rb +0 -229
  212. data/spec/integration/gdal/raster_band_algorithms_spec.rb +0 -35
  213. data/spec/integration/gdal/raster_band_info_spec.rb +0 -320
  214. data/spec/integration/ogr/layer_spec.rb +0 -95
  215. data/spec/spec_helper.rb +0 -116
  216. data/spec/support/images/123.tiff +0 -0
  217. data/spec/support/images/osgeo/gdal/data/hfa/float-rle.img +0 -0
  218. data/spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.lgo +0 -31
  219. data/spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif +0 -0
  220. data/spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif.msk +0 -0
  221. data/spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.txt +0 -10
  222. data/spec/support/images/osgeo/geotiff/gdal_eg/cea.tif +0 -0
  223. data/spec/support/images/osgeo/geotiff/gdal_eg/cea.txt +0 -84
  224. data/spec/support/images/osgeo/geotiff/zi_imaging/image0.lgo +0 -45
  225. data/spec/support/images/osgeo/geotiff/zi_imaging/image0.tif +0 -0
  226. data/spec/support/integration_help.rb +0 -34
  227. data/spec/support/shapefiles/states_21basic/states.dbf +0 -0
  228. data/spec/support/shapefiles/states_21basic/states.prj +0 -1
  229. data/spec/support/shapefiles/states_21basic/states.sbn +0 -0
  230. data/spec/support/shapefiles/states_21basic/states.sbx +0 -0
  231. data/spec/support/shapefiles/states_21basic/states.shp +0 -0
  232. data/spec/support/shapefiles/states_21basic/states.shp.xml +0 -3
  233. data/spec/support/shapefiles/states_21basic/states.shx +0 -0
  234. data/spec/support/shared_contexts.rb +0 -28
  235. data/spec/support/shared_examples/gdal/major_object_examples.rb +0 -55
  236. data/spec/support/shared_examples/ogr/a_25d_geometry.rb +0 -9
  237. data/spec/support/shared_examples/ogr/a_container_geometry.rb +0 -49
  238. data/spec/support/shared_examples/ogr/a_geometry.rb +0 -406
  239. data/spec/support/shared_examples/ogr/a_line_string.rb +0 -18
  240. data/spec/support/test_style_table.txt +0 -3
  241. data/spec/support/worldfiles/SR_50M/SR_50M.VERSION.txt +0 -1
  242. data/spec/support/worldfiles/SR_50M/SR_50M.prj +0 -1
  243. data/spec/support/worldfiles/SR_50M/SR_50M.tfw +0 -6
  244. data/spec/support/worldfiles/SR_50M/SR_50M.tif +0 -0
  245. data/spec/unit/ext/error_symbols_spec.rb +0 -69
  246. data/spec/unit/ext/numeric_as_data_type_spec.rb +0 -115
  247. data/spec/unit/ffi/gdal_spec.rb +0 -73
  248. data/spec/unit/gdal/color_entry_spec.rb +0 -8
  249. data/spec/unit/gdal/color_interpretation_spec.rb +0 -8
  250. data/spec/unit/gdal/color_table_mixins/extensions_spec.rb +0 -62
  251. data/spec/unit/gdal/color_table_spec.rb +0 -146
  252. data/spec/unit/gdal/data_type_spec.rb +0 -74
  253. data/spec/unit/gdal/dataset_mixins/warp_methods_spec.rb +0 -55
  254. data/spec/unit/gdal/dataset_spec.rb +0 -148
  255. data/spec/unit/gdal/driver_mixins/extensions_spec.rb +0 -24
  256. data/spec/unit/gdal/driver_spec.rb +0 -51
  257. data/spec/unit/gdal/environment_methods_spec.rb +0 -8
  258. data/spec/unit/gdal/geo_transform_mixins/extensions_spec.rb +0 -69
  259. data/spec/unit/gdal/geo_transform_spec.rb +0 -265
  260. data/spec/unit/gdal/grid_spec.rb +0 -98
  261. data/spec/unit/gdal/gridder/point_extracting_spec.rb +0 -101
  262. data/spec/unit/gdal/gridder_options_spec.rb +0 -185
  263. data/spec/unit/gdal/gridder_spec.rb +0 -182
  264. data/spec/unit/gdal/internal_helpers_spec.rb +0 -278
  265. data/spec/unit/gdal/major_object_spec.rb +0 -10
  266. data/spec/unit/gdal/options_spec.rb +0 -33
  267. data/spec/unit/gdal/raster_attribute_table_spec.rb +0 -7
  268. data/spec/unit/gdal/raster_band_classifier_spec.rb +0 -260
  269. data/spec/unit/gdal/raster_band_mixins/extensions_spec.rb +0 -73
  270. data/spec/unit/gdal/raster_band_mixins/io_extensions_spec.rb +0 -135
  271. data/spec/unit/gdal/raster_band_spec.rb +0 -8
  272. data/spec/unit/gdal/rpc_info_spec.rb +0 -8
  273. data/spec/unit/gdal/version_info_spec.rb +0 -10
  274. data/spec/unit/gdal/virtual_dataset_spec.rb +0 -34
  275. data/spec/unit/gdal/warp_operation_spec.rb +0 -8
  276. data/spec/unit/gdal/warp_options_spec.rb +0 -338
  277. data/spec/unit/ogr/coordinate_transformation_spec.rb +0 -104
  278. data/spec/unit/ogr/data_source_mixins/capability_methods_spec.rb +0 -32
  279. data/spec/unit/ogr/data_source_spec.rb +0 -223
  280. data/spec/unit/ogr/driver_mixins/capability_methods_spec.rb +0 -20
  281. data/spec/unit/ogr/driver_spec.rb +0 -152
  282. data/spec/unit/ogr/envelope_spec.rb +0 -324
  283. data/spec/unit/ogr/feature_definition_spec.rb +0 -296
  284. data/spec/unit/ogr/feature_extensions_spec.rb +0 -90
  285. data/spec/unit/ogr/feature_spec.rb +0 -363
  286. data/spec/unit/ogr/field_definition_spec.rb +0 -118
  287. data/spec/unit/ogr/field_spec.rb +0 -195
  288. data/spec/unit/ogr/geometries/geometry_collection_25d_spec.rb +0 -25
  289. data/spec/unit/ogr/geometries/geometry_collection_spec.rb +0 -188
  290. data/spec/unit/ogr/geometries/line_string_25d_spec.rb +0 -25
  291. data/spec/unit/ogr/geometries/line_string_spec.rb +0 -107
  292. data/spec/unit/ogr/geometries/linear_ring_spec.rb +0 -92
  293. data/spec/unit/ogr/geometries/multi_line_string_25d_spec.rb +0 -25
  294. data/spec/unit/ogr/geometries/multi_line_string_spec.rb +0 -16
  295. data/spec/unit/ogr/geometries/multi_point_25d_spec.rb +0 -25
  296. data/spec/unit/ogr/geometries/multi_point_spec.rb +0 -16
  297. data/spec/unit/ogr/geometries/multi_polygon_25d_spec.rb +0 -25
  298. data/spec/unit/ogr/geometries/multi_polygon_spec.rb +0 -43
  299. data/spec/unit/ogr/geometries/none_geometry_spec.rb +0 -14
  300. data/spec/unit/ogr/geometries/point_25d_spec.rb +0 -25
  301. data/spec/unit/ogr/geometries/point_spec.rb +0 -307
  302. data/spec/unit/ogr/geometries/polygon_25d_spec.rb +0 -25
  303. data/spec/unit/ogr/geometries/polygon_spec.rb +0 -19
  304. data/spec/unit/ogr/geometries/unknown_geometry_spec.rb +0 -12
  305. data/spec/unit/ogr/geometry_field_definition_spec.rb +0 -73
  306. data/spec/unit/ogr/geometry_spec.rb +0 -711
  307. data/spec/unit/ogr/internal_helpers_spec.rb +0 -70
  308. data/spec/unit/ogr/layer_mixins/capability_methods_spec.rb +0 -90
  309. data/spec/unit/ogr/layer_mixins/ogr_feature_methods_spec.rb +0 -155
  310. data/spec/unit/ogr/layer_mixins/ogr_field_methods_spec.rb +0 -434
  311. data/spec/unit/ogr/layer_mixins/ogr_layer_method_methods_spec.rb +0 -22
  312. data/spec/unit/ogr/layer_mixins/ogr_query_filter_methods_spec.rb +0 -44
  313. data/spec/unit/ogr/layer_mixins/ogr_sql_methods_spec.rb +0 -14
  314. data/spec/unit/ogr/layer_spec.rb +0 -98
  315. data/spec/unit/ogr/spatial_reference_mixins/coordinate_system_getter_setters_spec.rb +0 -48
  316. data/spec/unit/ogr/spatial_reference_mixins/exporters_spec.rb +0 -151
  317. data/spec/unit/ogr/spatial_reference_mixins/importers_spec.rb +0 -40
  318. data/spec/unit/ogr/spatial_reference_mixins/morphers_spec.rb +0 -38
  319. data/spec/unit/ogr/spatial_reference_mixins/parameter_getter_setters_spec.rb +0 -105
  320. data/spec/unit/ogr/spatial_reference_mixins/type_checks_spec.rb +0 -159
  321. data/spec/unit/ogr/spatial_reference_spec.rb +0 -44
  322. data/spec/unit/ogr/style_table_spec.rb +0 -108
  323. data/spec/unit/ogr/style_tool_spec.rb +0 -159
  324. data/spec/unit/version_info_spec.rb +0 -50
data/tilt/gdal2.yml ADDED
@@ -0,0 +1,22 @@
1
+ ---
2
+ apiVersion: batch/v1
3
+ kind: Job
4
+ metadata:
5
+ name: gdal2
6
+ labels:
7
+ app: gdal2
8
+ spec:
9
+ restartPolicy: Never
10
+ concurrencyPolicy: Forbid
11
+ failedJobsHistoryLimit: 1
12
+ parallelism: 1
13
+ backoffLimit: 0
14
+ template:
15
+ metadata:
16
+ labels:
17
+ app: gdal2
18
+ spec:
19
+ restartPolicy: Never
20
+ containers:
21
+ - name: gdal2
22
+ image: ttl.sh/ffi-gdal-12345/5d7df36c-2e4d-42dd-a744-fc5959dffb7f
data/tilt/gdal3.yml ADDED
@@ -0,0 +1,22 @@
1
+ ---
2
+ apiVersion: batch/v1
3
+ kind: Job
4
+ metadata:
5
+ name: gdal3
6
+ labels:
7
+ app: gdal3
8
+ spec:
9
+ restartPolicy: Never
10
+ concurrencyPolicy: Forbid
11
+ failedJobsHistoryLimit: 1
12
+ parallelism: 1
13
+ backoffLimit: 0
14
+ template:
15
+ metadata:
16
+ labels:
17
+ app: gdal3
18
+ spec:
19
+ restartPolicy: Never
20
+ containers:
21
+ - name: gdal3
22
+ image: ttl.sh/ffi-gdal-12345/ff64f94d-84fb-4762-a1f2-ce223da180b1
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-gdal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta16
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Loveless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-10 00:00:00.000000000 Z
11
+ date: 2023-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bindata
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: ffi
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +122,20 @@ dependencies:
108
122
  - - ">="
109
123
  - !ruby/object:Gem::Version
110
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: climate_control
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: fakefs
113
141
  requirement: !ruby/object:Gem::Requirement
@@ -151,7 +179,7 @@ dependencies:
151
179
  - !ruby/object:Gem::Version
152
180
  version: '3.0'
153
181
  - !ruby/object:Gem::Dependency
154
- name: rubocop
182
+ name: rspec-github
155
183
  requirement: !ruby/object:Gem::Requirement
156
184
  requirements:
157
185
  - - ">="
@@ -165,7 +193,21 @@ dependencies:
165
193
  - !ruby/object:Gem::Version
166
194
  version: '0'
167
195
  - !ruby/object:Gem::Dependency
168
- name: rubocop-checkstyle_formatter
196
+ name: rubocop
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '1.0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '1.0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: rubocop-performance
169
211
  requirement: !ruby/object:Gem::Requirement
170
212
  requirements:
171
213
  - - ">="
@@ -199,18 +241,34 @@ executables: []
199
241
  extensions: []
200
242
  extra_rdoc_files: []
201
243
  files:
244
+ - ".dockerignore"
245
+ - ".github/workflows/codacy.yml"
246
+ - ".github/workflows/codeql.yml"
247
+ - ".github/workflows/continuous-integration.yml"
248
+ - ".github/workflows/dependency-review.yml"
249
+ - ".github/workflows/specs-in-docker.yml"
202
250
  - ".gitignore"
203
251
  - ".rspec"
204
252
  - ".rubocop.yml"
205
253
  - ".rubocop_todo.yml"
206
254
  - ".ruby-version"
255
+ - Changelog-0.x.md
256
+ - Changelog.md
257
+ - Dockerfile.gdal2
258
+ - Dockerfile.gdal3
207
259
  - Gemfile
208
- - History.md
209
260
  - LICENSE.txt
210
261
  - README.md
211
262
  - Rakefile
212
263
  - TODO.md
264
+ - Tiltfile
265
+ - bin/bundle
266
+ - bin/docker-clean
267
+ - bin/rake
268
+ - bin/rspec
269
+ - bin/rubocop
213
270
  - bitbucket-pipelines.yml
271
+ - docker-compose.yml
214
272
  - examples/extract_and_colorize.rb
215
273
  - examples/geometries.rb
216
274
  - examples/gridding.rb
@@ -220,7 +278,6 @@ files:
220
278
  - examples/testing_gdal.rb
221
279
  - examples/warping.rb
222
280
  - ffi-gdal.gemspec
223
- - lib/ext/error_symbols.rb
224
281
  - lib/ext/ffi_library_function_checks.rb
225
282
  - lib/ext/float_ext.rb
226
283
  - lib/ext/narray_ext.rb
@@ -243,6 +300,12 @@ files:
243
300
  - lib/ffi/cpl/string.rb
244
301
  - lib/ffi/cpl/vsi.rb
245
302
  - lib/ffi/cpl/xml_node.rb
303
+ - lib/ffi/extensions/gdal/extensions.rb
304
+ - lib/ffi/extensions/gdal/extensions/all.rb
305
+ - lib/ffi/extensions/gdal/extensions/version.rb
306
+ - lib/ffi/extensions/rttopo.rb
307
+ - lib/ffi/extensions/rttopo/gbox.rb
308
+ - lib/ffi/extensions/rttopo/geom.rb
246
309
  - lib/ffi/gdal.rb
247
310
  - lib/ffi/gdal/alg.rb
248
311
  - lib/ffi/gdal/color_entry.rb
@@ -275,10 +338,8 @@ files:
275
338
  - lib/ffi/ogr/style_value.rb
276
339
  - lib/gdal.rb
277
340
  - lib/gdal/color_entry.rb
278
- - lib/gdal/color_entry_mixins/extensions.rb
279
341
  - lib/gdal/color_interpretation.rb
280
342
  - lib/gdal/color_table.rb
281
- - lib/gdal/color_table_mixins/extensions.rb
282
343
  - lib/gdal/color_table_types/cmyk.rb
283
344
  - lib/gdal/color_table_types/gray.rb
284
345
  - lib/gdal/color_table_types/hls.rb
@@ -287,15 +348,27 @@ files:
287
348
  - lib/gdal/data_type.rb
288
349
  - lib/gdal/dataset.rb
289
350
  - lib/gdal/dataset_mixins/algorithm_methods.rb
290
- - lib/gdal/dataset_mixins/extensions.rb
291
351
  - lib/gdal/dataset_mixins/matching.rb
292
352
  - lib/gdal/dataset_mixins/warp_methods.rb
293
353
  - lib/gdal/driver.rb
294
- - lib/gdal/driver_mixins/extensions.rb
295
354
  - lib/gdal/environment_methods.rb
296
355
  - lib/gdal/exceptions.rb
356
+ - lib/gdal/extensions/all.rb
357
+ - lib/gdal/extensions/color_entry/extensions.rb
358
+ - lib/gdal/extensions/color_table/extensions.rb
359
+ - lib/gdal/extensions/dataset/extensions.rb
360
+ - lib/gdal/extensions/driver/extensions.rb
361
+ - lib/gdal/extensions/geo_transform/extensions.rb
362
+ - lib/gdal/extensions/gridder.rb
363
+ - lib/gdal/extensions/gridder/point_extracting.rb
364
+ - lib/gdal/extensions/gridder_options.rb
365
+ - lib/gdal/extensions/raster_attribute_table/extensions.rb
366
+ - lib/gdal/extensions/raster_band/algorithm_extensions.rb
367
+ - lib/gdal/extensions/raster_band/coloring_extensions.rb
368
+ - lib/gdal/extensions/raster_band/extensions.rb
369
+ - lib/gdal/extensions/raster_band/io_extensions.rb
370
+ - lib/gdal/extensions/raster_band_classifier.rb
297
371
  - lib/gdal/geo_transform.rb
298
- - lib/gdal/geo_transform_mixins/extensions.rb
299
372
  - lib/gdal/grid.rb
300
373
  - lib/gdal/grid_algorithms.rb
301
374
  - lib/gdal/grid_algorithms/data_metrics_base.rb
@@ -308,23 +381,13 @@ files:
308
381
  - lib/gdal/grid_algorithms/metric_range.rb
309
382
  - lib/gdal/grid_algorithms/moving_average.rb
310
383
  - lib/gdal/grid_algorithms/nearest_neighbor.rb
311
- - lib/gdal/gridder.rb
312
- - lib/gdal/gridder/point_extracting.rb
313
- - lib/gdal/gridder_options.rb
314
384
  - lib/gdal/internal_helpers.rb
315
385
  - lib/gdal/logger.rb
316
386
  - lib/gdal/major_object.rb
317
- - lib/gdal/merger.rb
318
387
  - lib/gdal/options.rb
319
388
  - lib/gdal/raster_attribute_table.rb
320
- - lib/gdal/raster_attribute_table_mixins/extensions.rb
321
389
  - lib/gdal/raster_band.rb
322
- - lib/gdal/raster_band_classifier.rb
323
- - lib/gdal/raster_band_mixins/algorithm_extensions.rb
324
390
  - lib/gdal/raster_band_mixins/algorithm_methods.rb
325
- - lib/gdal/raster_band_mixins/coloring_extensions.rb
326
- - lib/gdal/raster_band_mixins/extensions.rb
327
- - lib/gdal/raster_band_mixins/io_extensions.rb
328
391
  - lib/gdal/rpc_info.rb
329
392
  - lib/gdal/transformer.rb
330
393
  - lib/gdal/transformers/approximate_transformer.rb
@@ -344,18 +407,32 @@ files:
344
407
  - lib/ogr.rb
345
408
  - lib/ogr/coordinate_transformation.rb
346
409
  - lib/ogr/data_source.rb
347
- - lib/ogr/data_source_extensions.rb
348
- - lib/ogr/data_source_mixins/capability_methods.rb
349
410
  - lib/ogr/driver.rb
350
- - lib/ogr/driver_mixins/capability_methods.rb
351
411
  - lib/ogr/envelope.rb
352
- - lib/ogr/envelope_extensions.rb
353
412
  - lib/ogr/error_handling.rb
354
413
  - lib/ogr/exceptions.rb
414
+ - lib/ogr/extensions/all.rb
415
+ - lib/ogr/extensions/data_source/capability_methods.rb
416
+ - lib/ogr/extensions/data_source/data_source_extensions.rb
417
+ - lib/ogr/extensions/driver/capability_methods.rb
418
+ - lib/ogr/extensions/envelope/extensions.rb
419
+ - lib/ogr/extensions/feature/extensions.rb
420
+ - lib/ogr/extensions/feature_definition/extensions.rb
421
+ - lib/ogr/extensions/geometries/point/extensions.rb
422
+ - lib/ogr/extensions/geometry/container_mixins.rb
423
+ - lib/ogr/extensions/geometry/ewkb_io_extensions.rb
424
+ - lib/ogr/extensions/geometry/ewkb_record.rb
425
+ - lib/ogr/extensions/geometry/extensions.rb
426
+ - lib/ogr/extensions/geometry/rttopo_extensions.rb
427
+ - lib/ogr/extensions/geometry/wkb_record.rb
428
+ - lib/ogr/extensions/geometry_types/curve/extensions.rb
429
+ - lib/ogr/extensions/layer/capability_methods.rb
430
+ - lib/ogr/extensions/layer/extensions.rb
431
+ - lib/ogr/extensions/spatial_reference/extensions.rb
432
+ - lib/ogr/extensions/spatial_reference/initializers.rb
433
+ - lib/ogr/extensions/style_table/extensions.rb
355
434
  - lib/ogr/feature.rb
356
435
  - lib/ogr/feature_definition.rb
357
- - lib/ogr/feature_definition_extensions.rb
358
- - lib/ogr/feature_extensions.rb
359
436
  - lib/ogr/field.rb
360
437
  - lib/ogr/field_definition.rb
361
438
  - lib/ogr/geocoder.rb
@@ -378,22 +455,17 @@ files:
378
455
  - lib/ogr/geometries/unknown_geometry.rb
379
456
  - lib/ogr/geometry.rb
380
457
  - lib/ogr/geometry_field_definition.rb
381
- - lib/ogr/geometry_mixins/container_mixins.rb
382
- - lib/ogr/geometry_mixins/extensions.rb
383
458
  - lib/ogr/geometry_types/container.rb
384
459
  - lib/ogr/geometry_types/curve.rb
385
460
  - lib/ogr/geometry_types/surface.rb
386
461
  - lib/ogr/internal_helpers.rb
387
462
  - lib/ogr/layer.rb
388
- - lib/ogr/layer_mixins/capability_methods.rb
389
- - lib/ogr/layer_mixins/extensions.rb
390
463
  - lib/ogr/layer_mixins/ogr_feature_methods.rb
391
464
  - lib/ogr/layer_mixins/ogr_field_methods.rb
392
465
  - lib/ogr/layer_mixins/ogr_layer_method_methods.rb
393
466
  - lib/ogr/layer_mixins/ogr_query_filter_methods.rb
394
467
  - lib/ogr/layer_mixins/ogr_sql_methods.rb
395
468
  - lib/ogr/spatial_reference.rb
396
- - lib/ogr/spatial_reference_extensions.rb
397
469
  - lib/ogr/spatial_reference_mixins/coordinate_system_getter_setters.rb
398
470
  - lib/ogr/spatial_reference_mixins/exporters.rb
399
471
  - lib/ogr/spatial_reference_mixins/importers.rb
@@ -401,133 +473,17 @@ files:
401
473
  - lib/ogr/spatial_reference_mixins/parameter_getter_setters.rb
402
474
  - lib/ogr/spatial_reference_mixins/type_checks.rb
403
475
  - lib/ogr/style_table.rb
404
- - lib/ogr/style_table_extensions.rb
405
476
  - lib/ogr/style_tool.rb
406
- - spec/ffi-gdal_spec.rb
407
- - spec/integration/gdal/color_table_info_spec.rb
408
- - spec/integration/gdal/dataset_info_spec.rb
409
- - spec/integration/gdal/driver_info_spec.rb
410
- - spec/integration/gdal/geo_transform_info_spec.rb
411
- - spec/integration/gdal/gridder_spec.rb
412
- - spec/integration/gdal/raster_attribute_table_info_spec.rb
413
- - spec/integration/gdal/raster_band_algorithms_spec.rb
414
- - spec/integration/gdal/raster_band_info_spec.rb
415
- - spec/integration/ogr/layer_spec.rb
416
- - spec/spec_helper.rb
417
- - spec/support/images/123.tiff
418
- - spec/support/images/osgeo/gdal/data/hfa/float-rle.img
419
- - spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.lgo
420
- - spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif
421
- - spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif.msk
422
- - spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.txt
423
- - spec/support/images/osgeo/geotiff/gdal_eg/cea.tif
424
- - spec/support/images/osgeo/geotiff/gdal_eg/cea.txt
425
- - spec/support/images/osgeo/geotiff/zi_imaging/image0.lgo
426
- - spec/support/images/osgeo/geotiff/zi_imaging/image0.tif
427
- - spec/support/integration_help.rb
428
- - spec/support/shapefiles/states_21basic/states.dbf
429
- - spec/support/shapefiles/states_21basic/states.prj
430
- - spec/support/shapefiles/states_21basic/states.sbn
431
- - spec/support/shapefiles/states_21basic/states.sbx
432
- - spec/support/shapefiles/states_21basic/states.shp
433
- - spec/support/shapefiles/states_21basic/states.shp.xml
434
- - spec/support/shapefiles/states_21basic/states.shx
435
- - spec/support/shared_contexts.rb
436
- - spec/support/shared_examples/gdal/major_object_examples.rb
437
- - spec/support/shared_examples/ogr/a_25d_geometry.rb
438
- - spec/support/shared_examples/ogr/a_container_geometry.rb
439
- - spec/support/shared_examples/ogr/a_geometry.rb
440
- - spec/support/shared_examples/ogr/a_line_string.rb
441
- - spec/support/test_style_table.txt
442
- - spec/support/worldfiles/SR_50M/SR_50M.VERSION.txt
443
- - spec/support/worldfiles/SR_50M/SR_50M.prj
444
- - spec/support/worldfiles/SR_50M/SR_50M.tfw
445
- - spec/support/worldfiles/SR_50M/SR_50M.tif
446
- - spec/unit/ext/error_symbols_spec.rb
447
- - spec/unit/ext/numeric_as_data_type_spec.rb
448
- - spec/unit/ffi/gdal_spec.rb
449
- - spec/unit/gdal/color_entry_spec.rb
450
- - spec/unit/gdal/color_interpretation_spec.rb
451
- - spec/unit/gdal/color_table_mixins/extensions_spec.rb
452
- - spec/unit/gdal/color_table_spec.rb
453
- - spec/unit/gdal/data_type_spec.rb
454
- - spec/unit/gdal/dataset_mixins/warp_methods_spec.rb
455
- - spec/unit/gdal/dataset_spec.rb
456
- - spec/unit/gdal/driver_mixins/extensions_spec.rb
457
- - spec/unit/gdal/driver_spec.rb
458
- - spec/unit/gdal/environment_methods_spec.rb
459
- - spec/unit/gdal/geo_transform_mixins/extensions_spec.rb
460
- - spec/unit/gdal/geo_transform_spec.rb
461
- - spec/unit/gdal/grid_spec.rb
462
- - spec/unit/gdal/gridder/point_extracting_spec.rb
463
- - spec/unit/gdal/gridder_options_spec.rb
464
- - spec/unit/gdal/gridder_spec.rb
465
- - spec/unit/gdal/internal_helpers_spec.rb
466
- - spec/unit/gdal/major_object_spec.rb
467
- - spec/unit/gdal/options_spec.rb
468
- - spec/unit/gdal/raster_attribute_table_spec.rb
469
- - spec/unit/gdal/raster_band_classifier_spec.rb
470
- - spec/unit/gdal/raster_band_mixins/extensions_spec.rb
471
- - spec/unit/gdal/raster_band_mixins/io_extensions_spec.rb
472
- - spec/unit/gdal/raster_band_spec.rb
473
- - spec/unit/gdal/rpc_info_spec.rb
474
- - spec/unit/gdal/version_info_spec.rb
475
- - spec/unit/gdal/virtual_dataset_spec.rb
476
- - spec/unit/gdal/warp_operation_spec.rb
477
- - spec/unit/gdal/warp_options_spec.rb
478
- - spec/unit/ogr/coordinate_transformation_spec.rb
479
- - spec/unit/ogr/data_source_mixins/capability_methods_spec.rb
480
- - spec/unit/ogr/data_source_spec.rb
481
- - spec/unit/ogr/driver_mixins/capability_methods_spec.rb
482
- - spec/unit/ogr/driver_spec.rb
483
- - spec/unit/ogr/envelope_spec.rb
484
- - spec/unit/ogr/feature_definition_spec.rb
485
- - spec/unit/ogr/feature_extensions_spec.rb
486
- - spec/unit/ogr/feature_spec.rb
487
- - spec/unit/ogr/field_definition_spec.rb
488
- - spec/unit/ogr/field_spec.rb
489
- - spec/unit/ogr/geometries/geometry_collection_25d_spec.rb
490
- - spec/unit/ogr/geometries/geometry_collection_spec.rb
491
- - spec/unit/ogr/geometries/line_string_25d_spec.rb
492
- - spec/unit/ogr/geometries/line_string_spec.rb
493
- - spec/unit/ogr/geometries/linear_ring_spec.rb
494
- - spec/unit/ogr/geometries/multi_line_string_25d_spec.rb
495
- - spec/unit/ogr/geometries/multi_line_string_spec.rb
496
- - spec/unit/ogr/geometries/multi_point_25d_spec.rb
497
- - spec/unit/ogr/geometries/multi_point_spec.rb
498
- - spec/unit/ogr/geometries/multi_polygon_25d_spec.rb
499
- - spec/unit/ogr/geometries/multi_polygon_spec.rb
500
- - spec/unit/ogr/geometries/none_geometry_spec.rb
501
- - spec/unit/ogr/geometries/point_25d_spec.rb
502
- - spec/unit/ogr/geometries/point_spec.rb
503
- - spec/unit/ogr/geometries/polygon_25d_spec.rb
504
- - spec/unit/ogr/geometries/polygon_spec.rb
505
- - spec/unit/ogr/geometries/unknown_geometry_spec.rb
506
- - spec/unit/ogr/geometry_field_definition_spec.rb
507
- - spec/unit/ogr/geometry_spec.rb
508
- - spec/unit/ogr/internal_helpers_spec.rb
509
- - spec/unit/ogr/layer_mixins/capability_methods_spec.rb
510
- - spec/unit/ogr/layer_mixins/ogr_feature_methods_spec.rb
511
- - spec/unit/ogr/layer_mixins/ogr_field_methods_spec.rb
512
- - spec/unit/ogr/layer_mixins/ogr_layer_method_methods_spec.rb
513
- - spec/unit/ogr/layer_mixins/ogr_query_filter_methods_spec.rb
514
- - spec/unit/ogr/layer_mixins/ogr_sql_methods_spec.rb
515
- - spec/unit/ogr/layer_spec.rb
516
- - spec/unit/ogr/spatial_reference_mixins/coordinate_system_getter_setters_spec.rb
517
- - spec/unit/ogr/spatial_reference_mixins/exporters_spec.rb
518
- - spec/unit/ogr/spatial_reference_mixins/importers_spec.rb
519
- - spec/unit/ogr/spatial_reference_mixins/morphers_spec.rb
520
- - spec/unit/ogr/spatial_reference_mixins/parameter_getter_setters_spec.rb
521
- - spec/unit/ogr/spatial_reference_mixins/type_checks_spec.rb
522
- - spec/unit/ogr/spatial_reference_spec.rb
523
- - spec/unit/ogr/style_table_spec.rb
524
- - spec/unit/ogr/style_tool_spec.rb
525
- - spec/unit/version_info_spec.rb
477
+ - rakelib/docker.rake
478
+ - sorbet/rbi/hidden-definitions/errors.txt
479
+ - tilt/gdal2.yml
480
+ - tilt/gdal3.yml
526
481
  - tmp/.keep
527
- homepage: http://bitbucket.org/agrian/ffi-gdal
482
+ homepage: https://github.com/agrian-inc/ffi-gdal
528
483
  licenses:
529
484
  - MIT
530
- metadata: {}
485
+ metadata:
486
+ rubygems_mfa_required: 'true'
531
487
  post_install_message:
532
488
  rdoc_options: []
533
489
  require_paths:
@@ -536,135 +492,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
536
492
  requirements:
537
493
  - - ">="
538
494
  - !ruby/object:Gem::Version
539
- version: '0'
495
+ version: '2.6'
540
496
  required_rubygems_version: !ruby/object:Gem::Requirement
541
497
  requirements:
542
- - - ">"
498
+ - - ">="
543
499
  - !ruby/object:Gem::Version
544
- version: 1.3.1
500
+ version: '0'
545
501
  requirements: []
546
- rubygems_version: 3.3.7
502
+ rubygems_version: 3.4.2
547
503
  signing_key:
548
504
  specification_version: 4
549
505
  summary: FFI wrapper for GDAL/OGR.
550
- test_files:
551
- - spec/ffi-gdal_spec.rb
552
- - spec/integration/gdal/color_table_info_spec.rb
553
- - spec/integration/gdal/dataset_info_spec.rb
554
- - spec/integration/gdal/driver_info_spec.rb
555
- - spec/integration/gdal/geo_transform_info_spec.rb
556
- - spec/integration/gdal/gridder_spec.rb
557
- - spec/integration/gdal/raster_attribute_table_info_spec.rb
558
- - spec/integration/gdal/raster_band_algorithms_spec.rb
559
- - spec/integration/gdal/raster_band_info_spec.rb
560
- - spec/integration/ogr/layer_spec.rb
561
- - spec/spec_helper.rb
562
- - spec/support/images/123.tiff
563
- - spec/support/images/osgeo/gdal/data/hfa/float-rle.img
564
- - spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.lgo
565
- - spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif
566
- - spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif.msk
567
- - spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.txt
568
- - spec/support/images/osgeo/geotiff/gdal_eg/cea.tif
569
- - spec/support/images/osgeo/geotiff/gdal_eg/cea.txt
570
- - spec/support/images/osgeo/geotiff/zi_imaging/image0.lgo
571
- - spec/support/images/osgeo/geotiff/zi_imaging/image0.tif
572
- - spec/support/integration_help.rb
573
- - spec/support/shapefiles/states_21basic/states.dbf
574
- - spec/support/shapefiles/states_21basic/states.prj
575
- - spec/support/shapefiles/states_21basic/states.sbn
576
- - spec/support/shapefiles/states_21basic/states.sbx
577
- - spec/support/shapefiles/states_21basic/states.shp
578
- - spec/support/shapefiles/states_21basic/states.shp.xml
579
- - spec/support/shapefiles/states_21basic/states.shx
580
- - spec/support/shared_contexts.rb
581
- - spec/support/shared_examples/gdal/major_object_examples.rb
582
- - spec/support/shared_examples/ogr/a_25d_geometry.rb
583
- - spec/support/shared_examples/ogr/a_container_geometry.rb
584
- - spec/support/shared_examples/ogr/a_geometry.rb
585
- - spec/support/shared_examples/ogr/a_line_string.rb
586
- - spec/support/test_style_table.txt
587
- - spec/support/worldfiles/SR_50M/SR_50M.VERSION.txt
588
- - spec/support/worldfiles/SR_50M/SR_50M.prj
589
- - spec/support/worldfiles/SR_50M/SR_50M.tfw
590
- - spec/support/worldfiles/SR_50M/SR_50M.tif
591
- - spec/unit/ext/error_symbols_spec.rb
592
- - spec/unit/ext/numeric_as_data_type_spec.rb
593
- - spec/unit/ffi/gdal_spec.rb
594
- - spec/unit/gdal/color_entry_spec.rb
595
- - spec/unit/gdal/color_interpretation_spec.rb
596
- - spec/unit/gdal/color_table_mixins/extensions_spec.rb
597
- - spec/unit/gdal/color_table_spec.rb
598
- - spec/unit/gdal/data_type_spec.rb
599
- - spec/unit/gdal/dataset_mixins/warp_methods_spec.rb
600
- - spec/unit/gdal/dataset_spec.rb
601
- - spec/unit/gdal/driver_mixins/extensions_spec.rb
602
- - spec/unit/gdal/driver_spec.rb
603
- - spec/unit/gdal/environment_methods_spec.rb
604
- - spec/unit/gdal/geo_transform_mixins/extensions_spec.rb
605
- - spec/unit/gdal/geo_transform_spec.rb
606
- - spec/unit/gdal/grid_spec.rb
607
- - spec/unit/gdal/gridder/point_extracting_spec.rb
608
- - spec/unit/gdal/gridder_options_spec.rb
609
- - spec/unit/gdal/gridder_spec.rb
610
- - spec/unit/gdal/internal_helpers_spec.rb
611
- - spec/unit/gdal/major_object_spec.rb
612
- - spec/unit/gdal/options_spec.rb
613
- - spec/unit/gdal/raster_attribute_table_spec.rb
614
- - spec/unit/gdal/raster_band_classifier_spec.rb
615
- - spec/unit/gdal/raster_band_mixins/extensions_spec.rb
616
- - spec/unit/gdal/raster_band_mixins/io_extensions_spec.rb
617
- - spec/unit/gdal/raster_band_spec.rb
618
- - spec/unit/gdal/rpc_info_spec.rb
619
- - spec/unit/gdal/version_info_spec.rb
620
- - spec/unit/gdal/virtual_dataset_spec.rb
621
- - spec/unit/gdal/warp_operation_spec.rb
622
- - spec/unit/gdal/warp_options_spec.rb
623
- - spec/unit/ogr/coordinate_transformation_spec.rb
624
- - spec/unit/ogr/data_source_mixins/capability_methods_spec.rb
625
- - spec/unit/ogr/data_source_spec.rb
626
- - spec/unit/ogr/driver_mixins/capability_methods_spec.rb
627
- - spec/unit/ogr/driver_spec.rb
628
- - spec/unit/ogr/envelope_spec.rb
629
- - spec/unit/ogr/feature_definition_spec.rb
630
- - spec/unit/ogr/feature_extensions_spec.rb
631
- - spec/unit/ogr/feature_spec.rb
632
- - spec/unit/ogr/field_definition_spec.rb
633
- - spec/unit/ogr/field_spec.rb
634
- - spec/unit/ogr/geometries/geometry_collection_25d_spec.rb
635
- - spec/unit/ogr/geometries/geometry_collection_spec.rb
636
- - spec/unit/ogr/geometries/line_string_25d_spec.rb
637
- - spec/unit/ogr/geometries/line_string_spec.rb
638
- - spec/unit/ogr/geometries/linear_ring_spec.rb
639
- - spec/unit/ogr/geometries/multi_line_string_25d_spec.rb
640
- - spec/unit/ogr/geometries/multi_line_string_spec.rb
641
- - spec/unit/ogr/geometries/multi_point_25d_spec.rb
642
- - spec/unit/ogr/geometries/multi_point_spec.rb
643
- - spec/unit/ogr/geometries/multi_polygon_25d_spec.rb
644
- - spec/unit/ogr/geometries/multi_polygon_spec.rb
645
- - spec/unit/ogr/geometries/none_geometry_spec.rb
646
- - spec/unit/ogr/geometries/point_25d_spec.rb
647
- - spec/unit/ogr/geometries/point_spec.rb
648
- - spec/unit/ogr/geometries/polygon_25d_spec.rb
649
- - spec/unit/ogr/geometries/polygon_spec.rb
650
- - spec/unit/ogr/geometries/unknown_geometry_spec.rb
651
- - spec/unit/ogr/geometry_field_definition_spec.rb
652
- - spec/unit/ogr/geometry_spec.rb
653
- - spec/unit/ogr/internal_helpers_spec.rb
654
- - spec/unit/ogr/layer_mixins/capability_methods_spec.rb
655
- - spec/unit/ogr/layer_mixins/ogr_feature_methods_spec.rb
656
- - spec/unit/ogr/layer_mixins/ogr_field_methods_spec.rb
657
- - spec/unit/ogr/layer_mixins/ogr_layer_method_methods_spec.rb
658
- - spec/unit/ogr/layer_mixins/ogr_query_filter_methods_spec.rb
659
- - spec/unit/ogr/layer_mixins/ogr_sql_methods_spec.rb
660
- - spec/unit/ogr/layer_spec.rb
661
- - spec/unit/ogr/spatial_reference_mixins/coordinate_system_getter_setters_spec.rb
662
- - spec/unit/ogr/spatial_reference_mixins/exporters_spec.rb
663
- - spec/unit/ogr/spatial_reference_mixins/importers_spec.rb
664
- - spec/unit/ogr/spatial_reference_mixins/morphers_spec.rb
665
- - spec/unit/ogr/spatial_reference_mixins/parameter_getter_setters_spec.rb
666
- - spec/unit/ogr/spatial_reference_mixins/type_checks_spec.rb
667
- - spec/unit/ogr/spatial_reference_spec.rb
668
- - spec/unit/ogr/style_table_spec.rb
669
- - spec/unit/ogr/style_tool_spec.rb
670
- - spec/unit/version_info_spec.rb
506
+ test_files: []