Sha256: 1e7577cfc9be8ea5e6ac67b769593f0ef8ec375b35d9c878c70680c21a88db83

Contents?: true

Size: 1.3 KB

Versions: 48

Compression:

Stored size: 1.3 KB

Contents

# HTML writer
# geographic resolution

# History:
#  Stan Smith 2017-10-20 original script

module ADIWG
   module Mdtranslator
      module Writers
         module Html

            class Html_GeographicResolution

               def initialize(html)
                  @html = html
               end

               def writeHtml(hGeoRes)

                  # geographic resolution - latitude resolution
                  unless hGeoRes[:latitudeResolution].nil?
                     @html.em('Latitude Resolution: ')
                     @html.text!(hGeoRes[:latitudeResolution].to_s)
                     @html.br
                  end

                  # geographic resolution - longitude resolution
                  unless hGeoRes[:longitudeResolution].nil?
                     @html.em('Longitude Resolution: ')
                     @html.text!(hGeoRes[:longitudeResolution].to_s)
                     @html.br
                  end

                  # geographic resolution - unit of measure
                  unless hGeoRes[:unitOfMeasure].nil?
                     @html.em('Units of Measure: ')
                     @html.text!(hGeoRes[:unitOfMeasure])
                     @html.br
                  end

               end # writeHtml
            end # Html_GeographicResolution

         end
      end
   end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.19.0.pre.beta.31 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.30 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.29 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.28 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.27 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.26 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.13 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.12 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.11 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.10 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.9 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.8 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.19.0.pre.beta.7 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.18.4 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.18.2 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.18.1 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.18.0 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.18.0rc9 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.18.0rc8 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb
adiwg-mdtranslator-2.18.0rc7 lib/adiwg/mdtranslator/writers/html/sections/html_geographicResolution.rb