Sha256: 65f356580980dcc4038a723d49537242a98df92b7bd5f34a27bd035dc23b3957
Contents?: true
Size: 459 Bytes
Versions: 12
Compression:
Stored size: 459 Bytes
Contents
# frozen_string_literal: true require_relative 'geometry_collection' module OGR # NOTE: {{#type}} will return :wkbGeometryCollection (read: 2D instead of # 2.5D) until a Z value is set. class GeometryCollection25D < GeometryCollection def initialize(geometry_ptr = nil, spatial_reference: nil) geometry_ptr ||= OGR::Geometry.create(:wkbGeometryCollection25D) super(geometry_ptr, spatial_reference: spatial_reference) end end end
Version data entries
12 entries across 12 versions & 1 rubygems