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/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')

Constants included from Constants

Constants::DEG_TO_RAD, Constants::PROJ4_VERSION, Constants::RAD_TO_DEG, Constants::VERSION

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.proj_libObject

Returns the value of attribute proj_lib.



140
141
142
# File 'lib/ffi-proj4.rb', line 140

def proj_lib
  @proj_lib
end

Class Method Details

.versionObject



142
143
144
# File 'lib/ffi-proj4.rb', line 142

def version
  FFIProj4.pj_get_release
end