# frozen_string_literal: true # --- spherical_cs_property_type.rb --- require "shale" require_relative "spherical_cs" module Ogc module Gml class SphericalCSProperty < Shale::Mapper attribute :nil_reason, Shale::Type::Value attribute :remote_schema, Shale::Type::Value attribute :spherical_cs, SphericalCS xml do root "usesSphericalCS" namespace "http://www.opengis.net/gml/3.2", "gml" map_attribute "nilReason", to: :nil_reason map_attribute "remoteSchema", to: :remote_schema, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2" map_element "SphericalCS", to: :spherical_cs end end end end