Class: RGeo::GeoJSON::FeatureCollection

Inherits:
Object
  • Object
show all
Defined in:
lib/rgeo/geojson.rb

Instance Method Summary collapse

Instance Method Details

#to_jsonObject



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

def to_json
  RGeo::GeoJSON.encode(self).to_json
end