spatial_adapter icon indicating copy to clipboard operation
spatial_adapter copied to clipboard

Spatial Adapter for ActiveRecord and Rails 2.x and 3.0.x - no longer in active development (try RGeo for Rails 3.1+)

Results 15 spatial_adapter issues
Sort by recently updated
recently updated
newest added

I got following failure when starting up my local server. module:ConnectionAdapters': uninitialized constant ActiveRecord::ConnectionAdapters::Mysql2Column (NameError) Following gems are installed: GeoRuby 1.3.4 activerecord 3.2.1 spatial_adapter 1.2.0 I am using MySQL Server...

Noticed there were a very large number of queries hitting the geometry_columns table in general. This change will cache the geometry information once per table per instance of PostgreSQLAdapter and...

Hey there, I made some improvements to spatial adapter to get it working under Rails 3.1.0 for my own use, and posted about fork here: #26 Several people have confirmed...

This updates spatial_adapter to be able to work with ActiveRecord 3.2.0 and above.

Tested only with PostgreSQL

I work for IPS MeteoStar (http://www.meteostar.com). We have been maintaining an internally developed patch to spatial adapter for several years that adds support for oracle spatial. I wrote the initial...

RubyGems.org doesn't report a license for your gem. This is because it is not specified in the [gemspec](http://docs.rubygems.org/read/chapter/20#license) of your last release. via e.g. ``` spec.license = 'MIT' # or...

Unfortunately, it appears that the newest versions of ActiveRecord (3.2.0.rc1, at least) use: ActiveRecord::ConnectionAdapters::Mysql2Adapter::Column gems/spatial_adapter-1.2.0/lib/spatial_adapter/mysql2.rb:83:in `': uninitialized constant ActiveRecord::ConnectionAdapters::Mysql2Column (NameError) from gems/spatial_adapter-1.2.0/lib/spatial_adapter/mysql2.rb:82:in`module:ActiveRecord' from gems/spatial_adapter-1.2.0/lib/spatial_adapter/mysql2.rb:81:in `' from gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in`require'

Creating a new record using ``` Foo.create(:geom => Point.from_x_y_z(-1.6, 2.8, -3.4, 4326)) ``` Doesn't work, but this does: ``` f = Foo.create f.geom = Point.from_x_y_z(-1.6, 2.8, -3.4, 4326) f.save ```...

spatial_adapter/common/schema_definitions.rb overloads ActiveRecord::ConnectionAdapters::IndexDefinition with a new constructor to add a spatial parameter, however fails to preserve the "lengths" parameter. This can cause a crash in certain db migration scripts using...