lib/ogc/gml/control_point.rb in ogc-gml-1.0.0 vs lib/ogc/gml/control_point.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,16 +1,15 @@
# frozen_string_literal: true
-# --- control_point.rb ---
-require "shale"
+require "lutaml/model"
require_relative "direct_position_list"
require_relative "direct_position"
require_relative "point_property"
module Ogc
module Gml
- class ControlPoint < Shale::Mapper
+ class ControlPoint < Lutaml::Model::Serializable
attribute :pos_list, DirectPositionList
attribute :pos, DirectPosition, collection: true
attribute :point_property, PointProperty, collection: true
xml do