lib/ogc/gml/polygon_patch.rb in ogc-gml-1.0.0 vs lib/ogc/gml/polygon_patch.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,15 +1,14 @@
# frozen_string_literal: true
-# --- polygon_patch_type.rb ---
-require "shale"
+require "lutaml/model"
require_relative "shell_property"
module Ogc
module Gml
- class PolygonPatch < Shale::Mapper
- attribute :interpolation, Shale::Type::String
+ class PolygonPatch < Lutaml::Model::Serializable
+ attribute :interpolation, :string
attribute :exterior, ShellProperty
attribute :interior, ShellProperty, collection: true
xml do
root "PolygonPatch"