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.


73
74
75
# File 'lib/rgeo/coord_sys/srs_database/interface.rb', line 73

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.


66
67
68
# File 'lib/rgeo/coord_sys/srs_database/interface.rb', line 66

def get(ident_)
  nil
end