Class: GDAL::Utils::Warp
- Inherits:
-
Object
- Object
- GDAL::Utils::Warp
- Defined in:
- lib/gdal/utils/warp.rb,
lib/gdal/utils/warp/options.rb
Overview
Wrapper for gdalwarp using GDALWarp C API.
Defined Under Namespace
Classes: Options
Class Method Summary collapse
-
.perform(dst_dataset: nil, dst_dataset_path: nil, src_datasets: [], options: Options.new) {|GDAL::Dataset| ... } ⇒ GDAL::Dataset
Perform the gdalwarp (GDALWarp) operation.
Class Method Details
.perform(dst_dataset: nil, dst_dataset_path: nil, src_datasets: [], options: Options.new) {|GDAL::Dataset| ... } ⇒ GDAL::Dataset
Perform the gdalwarp (GDALWarp) operation.
64 65 66 67 68 69 70 |
# File 'lib/gdal/utils/warp.rb', line 64 def self.perform(dst_dataset: nil, dst_dataset_path: nil, src_datasets: [], options: Options.new, &block) if dst_dataset for_dataset(dst_dataset: dst_dataset, src_datasets: src_datasets, options: ) else for_dataset_path(dst_dataset_path: dst_dataset_path, src_datasets: src_datasets, options: , &block) end end |