Class: Geoq::Commands::GeoJson::FeatureCollection

Inherits:
Base
  • Object
show all
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

#initialize

Constructor Details

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

Instance Method Details

#outputObject



5
6
7
# File 'lib/geoq/commands/geojson.rb', line 5

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