lib/ogc/gml/data_block.rb in ogc-gml-1.0.0 vs lib/ogc/gml/data_block.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,18 +1,17 @@
# frozen_string_literal: true
-# --- data_block_type.rb ---
-require "shale"
+require "lutaml/model"
require_relative "association_role"
require_relative "coordinates"
module Ogc
module Gml
- class DataBlock < Shale::Mapper
+ class DataBlock < Lutaml::Model::Serializable
attribute :range_parameters, AssociationRole
attribute :tuple_list, Coordinates
- attribute :double_or_nil_reason_tuple_list, Shale::Type::Value
+ attribute :double_or_nil_reason_tuple_list, :string
xml do
root "DataBlock"
namespace "http://www.opengis.net/gml/3.2", "gml"