Class: Geoq::Commands::GeoJson::FeatureCollection
- Defined in:
- lib/geoq/commands/geojson.rb
Instance Attribute Summary
Attributes inherited from Base
#args, #global_opts, #instream, #opts
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Geoq::Commands::Base
Instance Method Details
#output ⇒ Object
5 6 7 |
# File 'lib/geoq/commands/geojson.rb', line 5 def output Geoq::FeatureCollection.new(instream).to_geojson end |