Module: Proj4

Includes:
Constants
Defined in:
lib/ffi-proj4.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: Point, ProjXY, Projection, ProjectionParseError, TransformError

Constant Summary collapse

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

Constants included from Constants

Constants::DEG_TO_RAD, 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.



145
146
147
# File 'lib/ffi-proj4.rb', line 145

def proj_lib
  @proj_lib
end

Class Method Details

.versionObject



147
148
149
# File 'lib/ffi-proj4.rb', line 147

def version
  FFIProj4.pj_get_release
end