ffi-gdal 1.0.0.beta6 → 1.0.0.beta7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.md +40 -0
- data/bitbucket-pipelines.yml +16 -0
- data/lib/ffi/gdal/version.rb +1 -1
- data/lib/ffi/gdal/warp_options.rb +18 -4
- data/lib/ffi/gdal/warper.rb +17 -1
- data/lib/ffi/gdal.rb +1 -1
- data/lib/gdal/color_entry_mixins/extensions.rb +0 -14
- data/lib/gdal/color_table_mixins/extensions.rb +0 -14
- data/lib/gdal/dataset_mixins/algorithm_methods.rb +2 -2
- data/lib/gdal/dataset_mixins/extensions.rb +3 -43
- data/lib/gdal/dataset_mixins/warp_methods.rb +50 -11
- data/lib/gdal/geo_transform_mixins/extensions.rb +0 -17
- data/lib/gdal/grid.rb +2 -1
- data/lib/gdal/gridder/point_extracting.rb +1 -2
- data/lib/gdal/gridder.rb +7 -2
- data/lib/gdal/options.rb +14 -13
- data/lib/gdal/raster_attribute_table_mixins/extensions.rb +0 -15
- data/lib/gdal/raster_band.rb +5 -3
- data/lib/gdal/raster_band_classifier.rb +5 -3
- data/lib/gdal/raster_band_mixins/extensions.rb +0 -35
- data/lib/gdal/raster_band_mixins/io_extensions.rb +4 -3
- data/lib/gdal/warp_options.rb +99 -35
- data/lib/gdal.rb +1 -0
- data/lib/ogr/data_source_extensions.rb +0 -19
- data/lib/ogr/envelope_extensions.rb +0 -22
- data/lib/ogr/feature_definition_extensions.rb +0 -18
- data/lib/ogr/feature_extensions.rb +0 -27
- data/lib/ogr/field_definition.rb +0 -3
- data/lib/ogr/geometry.rb +0 -1
- data/lib/ogr/geometry_field_definition.rb +0 -4
- data/lib/ogr/geometry_mixins/extensions.rb +0 -29
- data/lib/ogr/geometry_types/curve.rb +1 -1
- data/lib/ogr/layer.rb +3 -1
- data/lib/ogr/layer_mixins/extensions.rb +1 -25
- data/lib/ogr/spatial_reference.rb +10 -2
- data/lib/ogr/spatial_reference_extensions.rb +0 -26
- data/lib/ogr/style_table_extensions.rb +0 -10
- data/spec/integration/gdal/raster_band_info_spec.rb +27 -5
- data/spec/integration/ogr/layer_spec.rb +0 -6
- data/spec/support/images/123.tiff +0 -0
- data/spec/unit/ffi/gdal_spec.rb +1 -0
- data/spec/unit/gdal/dataset_mixins/warp_methods_spec.rb +52 -0
- data/spec/unit/gdal/geo_transform_spec.rb +0 -13
- data/spec/unit/gdal/grid_spec.rb +8 -0
- data/spec/unit/gdal/gridder_spec.rb +40 -0
- data/spec/unit/gdal/options_spec.rb +26 -1
- data/spec/unit/gdal/warp_options_spec.rb +336 -0
- data/spec/unit/ogr/feature_definition_spec.rb +0 -19
- data/spec/unit/ogr/feature_extensions_spec.rb +1 -1
- data/spec/unit/ogr/field_definition_spec.rb +0 -19
- data/spec/unit/ogr/geometry_field_definition_spec.rb +0 -16
- data/spec/unit/ogr/style_table_spec.rb +0 -26
- metadata +10 -5
- data/lib/ogr/field_definition_extensions.rb +0 -22
- data/lib/ogr/geometry_field_definition_extensions.rb +0 -19
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.beta7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Loveless
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -181,6 +181,7 @@ files:
|
|
181
181
|
- README.md
|
182
182
|
- Rakefile
|
183
183
|
- TODO.md
|
184
|
+
- bitbucket-pipelines.yml
|
184
185
|
- examples/extract_and_colorize.rb
|
185
186
|
- examples/geometries.rb
|
186
187
|
- examples/gridding.rb
|
@@ -328,7 +329,6 @@ files:
|
|
328
329
|
- lib/ogr/feature_extensions.rb
|
329
330
|
- lib/ogr/field.rb
|
330
331
|
- lib/ogr/field_definition.rb
|
331
|
-
- lib/ogr/field_definition_extensions.rb
|
332
332
|
- lib/ogr/geocoder.rb
|
333
333
|
- lib/ogr/geometries/geometry_collection.rb
|
334
334
|
- lib/ogr/geometries/geometry_collection_25d.rb
|
@@ -349,7 +349,6 @@ files:
|
|
349
349
|
- lib/ogr/geometries/unknown_geometry.rb
|
350
350
|
- lib/ogr/geometry.rb
|
351
351
|
- lib/ogr/geometry_field_definition.rb
|
352
|
-
- lib/ogr/geometry_field_definition_extensions.rb
|
353
352
|
- lib/ogr/geometry_mixins/container_mixins.rb
|
354
353
|
- lib/ogr/geometry_mixins/extensions.rb
|
355
354
|
- lib/ogr/geometry_types/container.rb
|
@@ -386,6 +385,7 @@ files:
|
|
386
385
|
- spec/integration/gdal/raster_band_info_spec.rb
|
387
386
|
- spec/integration/ogr/layer_spec.rb
|
388
387
|
- spec/spec_helper.rb
|
388
|
+
- spec/support/images/123.tiff
|
389
389
|
- spec/support/images/osgeo/gdal/data/hfa/float-rle.img
|
390
390
|
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.lgo
|
391
391
|
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif
|
@@ -422,6 +422,7 @@ files:
|
|
422
422
|
- spec/unit/gdal/color_table_mixins/extensions_spec.rb
|
423
423
|
- spec/unit/gdal/color_table_spec.rb
|
424
424
|
- spec/unit/gdal/data_type_spec.rb
|
425
|
+
- spec/unit/gdal/dataset_mixins/warp_methods_spec.rb
|
425
426
|
- spec/unit/gdal/dataset_spec.rb
|
426
427
|
- spec/unit/gdal/driver_mixins/extensions_spec.rb
|
427
428
|
- spec/unit/gdal/driver_spec.rb
|
@@ -444,6 +445,7 @@ files:
|
|
444
445
|
- spec/unit/gdal/version_info_spec.rb
|
445
446
|
- spec/unit/gdal/virtual_dataset_spec.rb
|
446
447
|
- spec/unit/gdal/warp_operation_spec.rb
|
448
|
+
- spec/unit/gdal/warp_options_spec.rb
|
447
449
|
- spec/unit/ogr/coordinate_transformation_spec.rb
|
448
450
|
- spec/unit/ogr/data_source_mixins/capability_methods_spec.rb
|
449
451
|
- spec/unit/ogr/data_source_spec.rb
|
@@ -513,7 +515,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
513
515
|
version: 1.3.1
|
514
516
|
requirements: []
|
515
517
|
rubyforge_project:
|
516
|
-
rubygems_version: 2.5.1
|
518
|
+
rubygems_version: 2.4.5.1
|
517
519
|
signing_key:
|
518
520
|
specification_version: 4
|
519
521
|
summary: FFI wrapper for GDAL/OGR.
|
@@ -529,6 +531,7 @@ test_files:
|
|
529
531
|
- spec/integration/gdal/raster_band_info_spec.rb
|
530
532
|
- spec/integration/ogr/layer_spec.rb
|
531
533
|
- spec/spec_helper.rb
|
534
|
+
- spec/support/images/123.tiff
|
532
535
|
- spec/support/images/osgeo/gdal/data/hfa/float-rle.img
|
533
536
|
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.lgo
|
534
537
|
- spec/support/images/osgeo/geotiff/GeogToWGS84GeoKey/GeogToWGS84GeoKey5.tif
|
@@ -565,6 +568,7 @@ test_files:
|
|
565
568
|
- spec/unit/gdal/color_table_mixins/extensions_spec.rb
|
566
569
|
- spec/unit/gdal/color_table_spec.rb
|
567
570
|
- spec/unit/gdal/data_type_spec.rb
|
571
|
+
- spec/unit/gdal/dataset_mixins/warp_methods_spec.rb
|
568
572
|
- spec/unit/gdal/dataset_spec.rb
|
569
573
|
- spec/unit/gdal/driver_mixins/extensions_spec.rb
|
570
574
|
- spec/unit/gdal/driver_spec.rb
|
@@ -587,6 +591,7 @@ test_files:
|
|
587
591
|
- spec/unit/gdal/version_info_spec.rb
|
588
592
|
- spec/unit/gdal/virtual_dataset_spec.rb
|
589
593
|
- spec/unit/gdal/warp_operation_spec.rb
|
594
|
+
- spec/unit/gdal/warp_options_spec.rb
|
590
595
|
- spec/unit/ogr/coordinate_transformation_spec.rb
|
591
596
|
- spec/unit/ogr/data_source_mixins/capability_methods_spec.rb
|
592
597
|
- spec/unit/ogr/data_source_spec.rb
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require 'json'
|
2
|
-
|
3
|
-
module OGR
|
4
|
-
module FieldDefinitionExtensions
|
5
|
-
# @return [Hash]
|
6
|
-
def as_json(_options = nil)
|
7
|
-
{
|
8
|
-
is_ignored: ignored?,
|
9
|
-
justification: justification,
|
10
|
-
name: name,
|
11
|
-
precision: precision,
|
12
|
-
type: type,
|
13
|
-
width: width
|
14
|
-
}
|
15
|
-
end
|
16
|
-
|
17
|
-
# @return [String]
|
18
|
-
def to_json(options = nil)
|
19
|
-
as_json(options).to_json
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
require 'json'
|
2
|
-
|
3
|
-
module OGR
|
4
|
-
module GeometryFieldDefinitionExtensions
|
5
|
-
# @return [Hash]
|
6
|
-
def as_json(options = nil)
|
7
|
-
{
|
8
|
-
is_ignored: ignored?,
|
9
|
-
name: name,
|
10
|
-
spatial_reference: spatial_reference ? spatial_reference.as_json(options) : nil,
|
11
|
-
type: type
|
12
|
-
}
|
13
|
-
end
|
14
|
-
|
15
|
-
def to_json(options = nil)
|
16
|
-
as_json(options).to_json
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|