Module: RGeo::CoordSys::SRSDatabase::Interface

Defined in:
lib/rgeo/coord_sys/srs_database/interface.rb

Overview

Interface specification for spatial reference system databases. This module exists primarily for the sake of documentation. Database implementations need not actually include this module, but at least need to duck-type its methods.

Instance Method Summary collapse

Instance Method Details

#clear_cacheObject

Clears any cache utilized by this database.



35
36
37
# File 'lib/rgeo/coord_sys/srs_database/interface.rb', line 35

def clear_cache
  nil
end

#get(_ident_) ⇒ Object

Retrieve an Entry given an identifier. The identifier is usually a numeric spatial reference ID (SRID), but could be a string value for certain database types.



29
30
31
# File 'lib/rgeo/coord_sys/srs_database/interface.rb', line 29

def get(_ident_)
  nil
end