Sha256: cce1cb5ec5ff6295cdedb1f34ef2e75c05618c6b8fdd5821bcb2fe8b1d7a01d8
Contents?: true
Size: 719 Bytes
Versions: 9
Compression:
Stored size: 719 Bytes
Contents
# frozen_string_literal: true module OGR module SpatialReferenceMixins module Morphers # Converts, in place, to ESRI WKT format. # # @return [OGR::SpatialReference, false] If successful, returns self. def morph_to_esri! ogr_err = FFI::OGR::SRSAPI.OSRMorphToESRI(@c_pointer) result = ogr_err.handle_result result ? self : result end # Converts, in place, from ESRI WKT format. # # @return [OGR::SpatialReference, false] If successful, returns self. def morph_from_esri! ogr_err = FFI::OGR::SRSAPI.OSRMorphFromESRI(@c_pointer) result = ogr_err.handle_result result ? self : result end end end end
Version data entries
9 entries across 9 versions & 1 rubygems