Sha256: d155170ac125428ee265f3d08ebdba94dd4c60f434c702cc96f0aa62110b02e1

Contents?: true

Size: 718 Bytes

Versions: 2

Compression:

Stored size: 718 Bytes

Contents

$:.push File.expand_path(File.join(File.dirname(__FILE__), 'geoscript'))

require 'java'

Dir.entries(File.join(File.expand_path(File.dirname(__FILE__)), 'geotools')).sort.each do |entry|
  if entry =~ /.jar$/
    $CLASSPATH << File.join(File.expand_path(File.dirname(__FILE__)), "/geotools/#{entry}")
  end
end

java_import org.geotools.factory.Hints

unless java.lang.System.get_property("org.geotools.referencing.forceXY") == "true"
  java.lang.System.set_property "org.geotools.referencing.forceXY", "true"
end
Hints.put_system_default Hints::FORCE_LONGITUDE_FIRST_AXIS_ORDER, java.lang.Boolean.new(true)

require 'geoscript/version'
require 'geoscript/util'
require 'geoscript/projection'
require 'geoscript/geom'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geoscript-0.0.1 lib/geoscript.rb
geoscript-0.0.1.pre lib/geoscript.rb