Sha256: 478b720f4f15f578cc20e5f4964a62f3b68799f14850766f0cbb2a18ed4481c2
Contents?: true
Size: 1.62 KB
Versions: 32
Compression:
Stored size: 1.62 KB
Contents
# ISO <<Class>> MD_ObliqueLinePoint # writer # 19115-2 output for ISO 19115-2 XML # History: # Stan Smith 2017-10-26 original script module ADIWG module Mdtranslator module Writers module Iso19115_2 class MD_ObliqueLinePoint def initialize(xml, hResponseObj) @xml = xml @hResponseObj = hResponseObj end def writeXML(hLinePoint) @xml.tag!('gmd:MD_ObliqueLinePoint') do # oblique line point - azimuth line latitude {integer} r = hLinePoint[:obliqueLineLatitude] unless r.nil? @xml.tag!('gmd:obliqueLineLatitude') do @xml.tag!('gco:real', r.to_s) end end if r.nil? && @hResponseObj[:writerShowTags] @xml.tag!('gmd:obliqueLineLatitude') end # oblique line point - azimuth line longitude {real} r = hLinePoint[:obliqueLineLongitude] unless r.nil? @xml.tag!('gmd:obliqueLineLongitude') do @xml.tag!('gco:real', r.to_s) end end if r.nil? && @hResponseObj[:writerShowTags] @xml.tag!('gmd:obliqueLineLongitude') end end # gmd:MD_ObliqueLinePoint end # writeXML end # MD_ProjectionParameters class end end end end
Version data entries
32 entries across 32 versions & 1 rubygems