Sha256: 16e2fbf773711682cc15d4cb5cbb63c816edc63715e2dfd44f60b23a344373f8
Contents?: true
Size: 352 Bytes
Versions: 3
Compression:
Stored size: 352 Bytes
Contents
class GeoRuby::SimpleFeatures::Srid attr_accessor :srid def initialize(srid) @srid ||= srid end @@instances = {} def self.new(srid) @@instances[srid] ||= super(srid) end def rgeo_factory @rgeo_factory ||= RGeo::Geos.factory(:srid => srid, :native_interface => :ffi, :wkt_parser => {:support_ewkt => true}) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
georuby-ext-0.0.5 | lib/georuby-ext/georuby/srid.rb |
georuby-ext-0.0.4 | lib/georuby-ext/georuby/srid.rb |
georuby-ext-0.0.3 | lib/georuby-ext/georuby/srid.rb |