Class: SpatialFeatures::Importers::ESRIGeoJSON

Inherits:
GeoJSON
  • Object
show all
Defined in:
lib/spatial_features/importers/esri_geo_json.rb

Instance Attribute Summary

Attributes inherited from Base

#errors, #source_identifier

Instance Method Summary collapse

Methods inherited from GeoJSON

#cache_key

Methods inherited from Base

#cache_key, create_all, #features, #initialize

Constructor Details

This class inherits a constructor from SpatialFeatures::Importers::Base

Instance Method Details

#geojsonObject



12
13
14
# File 'lib/spatial_features/importers/esri_geo_json.rb', line 12

def geojson
  @geojson ||= esri_json_to_geojson(@data)
end

#parsed_geojsonObject



8
9
10
# File 'lib/spatial_features/importers/esri_geo_json.rb', line 8

def parsed_geojson
  @parsed_geojson ||= JSON.parse(geojson)
end