module OGR::DataSourceMixins::CapabilityMethods
Helper methods for determining the current DataSource’s capabilities.
Public Instance Methods
can_create_geometry_field_after_create_layer?()
click to toggle source
@return [Boolean] true
if the DataSource
supports creating a
GeometryField after a Layer has been created.
# File lib/ogr/extensions/data_source/capability_methods.rb, line 19 def can_create_geometry_field_after_create_layer? test_capability("CreateGeomFieldAfterCreateLayer") end
can_create_layer?()
click to toggle source
@return [Boolean] true
if the DataSource
can create existing Layers.
# File lib/ogr/extensions/data_source/capability_methods.rb, line 8 def can_create_layer? test_capability("CreateLayer") end
can_delete_layer?()
click to toggle source
@return [Boolean] true
if the DataSource
can delete existing Layers.
# File lib/ogr/extensions/data_source/capability_methods.rb, line 13 def can_delete_layer? test_capability("DeleteLayer") end
supports_curve_geometries?()
click to toggle source
@return [Boolean] true
if the DataSource
supports curve geometries.
# File lib/ogr/extensions/data_source/capability_methods.rb, line 24 def supports_curve_geometries? test_capability("CurveGeometries") end