lib/ogc/gml/triangle.rb in ogc-gml-1.0.0 vs lib/ogc/gml/triangle.rb in ogc-gml-1.0.1

- old
+ new

@@ -1,15 +1,14 @@ # frozen_string_literal: true -# --- triangle_type.rb --- -require "shale" +require "lutaml/model" require_relative "shell_property" module Ogc module Gml - class Triangle < Shale::Mapper - attribute :interpolation, Shale::Type::String + class Triangle < Lutaml::Model::Serializable + attribute :interpolation, :string attribute :exterior, ShellProperty xml do root "Triangle" namespace "http://www.opengis.net/gml/3.2", "gml"