Sha256: aaad053f4495819f10334471ec2582cd58da9c5a8816d759160f6bb117dbffed

Contents?: true

Size: 445 Bytes

Versions: 4

Compression:

Stored size: 445 Bytes

Contents

require 'spec_helper'
require 'support/integration_help'
require 'ffi-gdal'


TIF_FILES.each do |file|
  dataset =  GDAL::Dataset.open(file, 'r')

  describe 'Raster Band Info' do
    after :all do
      dataset.close
    end

    subject do
      band = GDAL::RasterBand.new(dataset.c_pointer, band_id: 1)
      band.default_raster_attribute_table
    end

    describe '#column_count' do
      pending 'Test files with RATs'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ffi-gdal-0.0.4 spec/ffi-gdal/integration/raster_attribute_table_info_spec.rb
ffi-gdal-0.0.3 spec/ffi-gdal/integration/raster_attribute_table_info_spec.rb
ffi-gdal-0.0.2 spec/ffi-gdal/integration/raster_attribute_table_info_spec.rb
ffi-gdal-0.0.1 spec/ffi-gdal/integration/raster_attribute_table_info_spec.rb