We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 576f594 commit b276ac5Copy full SHA for b276ac5
lib/geoscript.rb
@@ -16,6 +16,14 @@
16
abort "GeoScript requires JRuby (http://jruby.org)"
17
end
18
19
+java_import org.geotools.factory.Hints
20
+
21
+unless java.lang.System.get_property('org.geotools.referencing.forceXY') == 'true'
22
+ java.lang.System.set_property 'org.geotools.referencing.forceXY', 'true'
23
+end
24
25
+Hints.put_system_default Hints::FORCE_LONGITUDE_FIRST_AXIS_ORDER, java.lang.Boolean.new(true)
26
27
module GeoScript
28
class << self
29
def version
0 commit comments