lib/ogc/gml/grid_envelope.rb in ogc-gml-1.0.0 vs lib/ogc/gml/grid_envelope.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,14 +1,13 @@
# frozen_string_literal: true
-# --- grid_envelope_type.rb ---
-require "shale"
+require "lutaml/model"
module Ogc
module Gml
- class GridEnvelope < Shale::Mapper
- attribute :low, Shale::Type::Value
- attribute :high, Shale::Type::Value
+ class GridEnvelope < Lutaml::Model::Serializable
+ attribute :low, :string
+ attribute :high, :string
xml do
root "GridEnvelopeType"
namespace "http://www.opengis.net/gml/3.2", "gml"