# frozen_string_literal: true # --- surface_array_property_type.rb --- require "shale" require_relative "abstract_surface" module Ogc module Gml class SurfaceArrayProperty < Shale::Mapper attribute :owns, Shale::Type::Boolean, default: -> { "false" } attribute :abstract_surface, AbstractSurface, collection: true xml do root "surfaceArrayProperty" namespace "http://www.opengis.net/gml/3.2", "gml" map_attribute "owns", to: :owns map_element "AbstractSurface", to: :abstract_surface end end end end