Class: SpatialFeatures::Importers::KML

Inherits:
Base
  • Object
show all
Defined in:
lib/spatial_features/importers/kml.rb

Direct Known Subclasses

KMLFile

Constant Summary collapse

IMAGE_METADATA_KEYS =

<SimpleData name> keys that may contain <img> tags

%w[pdfmaps_photos].freeze

Instance Attribute Summary

Attributes inherited from Base

#errors

Instance Method Summary collapse

Methods inherited from Base

#cache_key, create_all, #features

Constructor Details

#initialize(data, base_dir: nil, **args) ⇒ KML

Returns a new instance of KML.



9
10
11
12
# File 'lib/spatial_features/importers/kml.rb', line 9

def initialize(data, base_dir: nil, **args)
  @base_dir = base_dir
  super data, **args
end