Module: Proj4

Includes:
Constants
Defined in:
lib/ffi-proj4.rb,
lib/ffi-proj4/error.rb,
lib/ffi-proj4/point.rb,
lib/ffi-proj4/tools.rb,
lib/ffi-proj4/projxy.rb,
lib/ffi-proj4/version.rb,
lib/ffi-proj4/projection.rb

Overview

ENV = File.join(File.dirname(__FILE__), %w{ .. data }) unless ENV p ENV

Defined Under Namespace

Modules: Constants, FFIProj4, Tools Classes: Error, Point, ProjXY, Projection, ProjectionParseError

Constant Summary collapse

PROJ4_BASE =
File.join(File.dirname(__FILE__), 'ffi-proj4')
VERSION =
"0.0.3"

Constants included from Constants

Constants::DEG_TO_RAD, Constants::LIBVERSION, Constants::PROJ4_VERSION, Constants::RAD_TO_DEG

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.proj_libObject

Returns the value of attribute proj_lib.



134
135
136
# File 'lib/ffi-proj4.rb', line 134

def proj_lib
  @proj_lib
end

Class Method Details

.versionObject



136
137
138
# File 'lib/ffi-proj4.rb', line 136

def version
  FFIProj4.pj_get_release
end