Sha256: a777f6a32dc55a0b76016a0d8ff703abfb13e98cd026aafd3bbe6b96ea96fccf

Contents?: true

Size: 678 Bytes

Versions: 1

Compression:

Stored size: 678 Bytes

Contents

# sbJson 1.0 writer geographic extent

# History:
#  Stan Smith 2017-06-06 original script

module ADIWG
   module Mdtranslator
      module Writers
         module SbJson

            module GeographicExtent

               def self.build(aExtents)

                  aGeoExtents = []

                  # gather geographicExtents geoJson blocks
                  aExtents.each do |hExtent|
                     hExtent[:geographicExtents].each do |hGeoExtent|
                        aGeoExtents << hGeoExtent[:nativeGeoJson]
                     end
                  end

                  aGeoExtents

               end

            end

         end
      end
   end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.0.0rc10 lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_geographicExtent.rb