Sha256: 32374326593392f21ec99fdd3c95cd9eebd94a72990e1f34552b40b1123c60f6

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta7 lib/ogr/geometries/geometry_collection_25d.rb
ffi-gdal-1.0.0.beta6 lib/ogr/geometries/geometry_collection_25d.rb