Sha256: 0494dbace799050ea28c3ebc8d473427322a18bd3fb201c10bf0d7500c8cc268

Contents?: true

Size: 949 Bytes

Versions: 15

Compression:

Stored size: 949 Bytes

Contents

# HTML writer
# spatial reference system oblique line point

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

module ADIWG
   module Mdtranslator
      module Writers
         module Html

            class Html_ObliqueLinePoint

               def writeHtml(hLinePoint)

                  long = 'missing'
                  lat = 'missing'

                  # oblique line point - point latitude
                  unless hLinePoint[:azimuthLineLatitude].nil?
                     long = hLinePoint[:azimuthLineLatitude].to_s
                  end

                  # oblique line point - point longitude
                  unless hLinePoint[:azimuthLineLongitude].nil?
                     lat = hLinePoint[:azimuthLineLongitude].to_s
                  end

                  return '( Longitude: ' + long + ', Latitude: ' + lat + ' )'

               end # writeHtml
            end # Html_ObliqueLinePoint

         end
      end
   end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.13.3 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.13.2 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.13.1 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.13.0 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.12.0 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.12.0.pre lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.10.0 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.9.2 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.9.1 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.9.0 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.8.0 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.7.0 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.6.1 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.6.0 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
adiwg-mdtranslator-2.5.0 lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb