class OGR::GeometryCollection25D
NOTE: {{#type}} will return :wkbGeometryCollection (read: 2D instead of 2.5D) until a Z value is set.
Public Class Methods
new(geometry_ptr = nil, spatial_reference: nil)
click to toggle source
Calls superclass method
OGR::GeometryCollection::new
# File lib/ogr/geometries/geometry_collection_25d.rb, line 9 def initialize(geometry_ptr = nil, spatial_reference: nil) geometry_ptr ||= OGR::Geometry.create(:wkbGeometryCollection25D) super(geometry_ptr, spatial_reference: spatial_reference) end