Sha256: 006b0dd1b19ce2c7f9771f947f80d98d8db30a5ac7e7de515ca035b3f7a0bcb7
Contents?: true
Size: 599 Bytes
Versions: 3
Compression:
Stored size: 599 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module Ogc module Gml class Coordinates < Lutaml::Model::Serializable attribute :content, :string attribute :decimal, :string, default: -> { "." } attribute :cs, :string, default: -> { "," } attribute :ts, :string, default: -> { " " } xml do root "coordinates" namespace "http://www.opengis.net/gml/3.2", "gml" map_content to: :content map_attribute "decimal", to: :decimal map_attribute "cs", to: :cs map_attribute "ts", to: :ts end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ogc-gml-1.0.3 | lib/ogc/gml/coordinates.rb |
ogc-gml-1.0.2 | lib/ogc/gml/coordinates.rb |
ogc-gml-1.0.1 | lib/ogc/gml/coordinates.rb |