module OGR::SpatialReferenceMixins::Morphers
Public Instance Methods
morph_from_esri!()
click to toggle source
Converts, in place, from ESRI WKT format.
@return [OGR::SpatialReference] If successful, returns self. @raise [OGR::Failure]
# File lib/ogr/spatial_reference_mixins/morphers.rb, line 22 def morph_from_esri! OGR::ErrorHandling.handle_ogr_err("Unable to morph self from ESRI") do FFI::OGR::SRSAPI.OSRMorphFromESRI(@c_pointer) end self end
morph_to_esri!()
click to toggle source
Converts, in place, to ESRI WKT format.
@return [OGR::SpatialReference] If successful, returns self. @raise [OGR::Failure]
# File lib/ogr/spatial_reference_mixins/morphers.rb, line 10 def morph_to_esri! OGR::ErrorHandling.handle_ogr_err("Unable to morph self to ESRI") do FFI::OGR::SRSAPI.OSRMorphToESRI(@c_pointer) end self end