module OGR::DriverMixins::CapabilityMethods
Helper methods for testing capabilities of the current driver.
Public Instance Methods
can_create_data_source?()
click to toggle source
@return [Boolean] true
if this driver supports creating data sources.
# File lib/ogr/extensions/driver/capability_methods.rb, line 10 def can_create_data_source? test_capability("CreateDataSource") end
can_delete_data_source?()
click to toggle source
@return [Boolean] true
if this driver supports deleting data sources.
# File lib/ogr/extensions/driver/capability_methods.rb, line 15 def can_delete_data_source? test_capability("DeleteDataSource") end