Class: SpatialFeatures::Importers::ESRIGeoJSON
- Defined in:
- lib/spatial_features/importers/esri_geo_json.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from GeoJSON
Methods inherited from Base
#cache_key, create_all, #features, #initialize
Constructor Details
This class inherits a constructor from SpatialFeatures::Importers::Base
Instance Method Details
#geojson ⇒ Object
12 13 14 |
# File 'lib/spatial_features/importers/esri_geo_json.rb', line 12 def geojson @geojson ||= esri_json_to_geojson(@data) end |
#parsed_geojson ⇒ Object
8 9 10 |
# File 'lib/spatial_features/importers/esri_geo_json.rb', line 8 def parsed_geojson @parsed_geojson ||= JSON.parse(geojson) end |