Sha256: cc647b6118c5cad195d00700132fdf4bae5c47f47d93c9db14c31c7609029b59
Contents?: true
Size: 583 Bytes
Versions: 1
Compression:
Stored size: 583 Bytes
Contents
require 'druid-tools' module GeoHydra class Process def run(args) raise NotImplementedError end end class Utils def self.find_druid_folders(dir = '.') # requires extra * for symlinks to directories Dir.glob(File.join(dir, '*', '**', DruidTools::Druid.glob + '/')).sort.collect do |p| yield p if block_given? p end end # @see http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf pg2 def self.shapefile?(fn) File.basename(fn).downcase =~ /^([a-z0-9_-]+)\.shp$/ $1.present? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
geohydra-0.3.3 | lib/geohydra/utils.rb |