Class: GeoCli::Commands::GeoJson::FeatureCollection

Inherits:
Base
  • Object
show all
Defined in:
lib/geo-cli/geom_reader.rb

Instance Attribute Summary

Attributes inherited from Base

#args, #global_opts, #instream, #opts

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from GeoCli::Commands::Base

Instance Method Details

#outputObject



23
24
25
# File 'lib/geo-cli/geom_reader.rb', line 23

def output
  GeoCli::FeatureCollection.new(instream).to_geojson
end