activerecord-postgis-adapter
activerecord-postgis-adapter copied to clipboard
ActiveRecord connection adapter for PostGIS, based on postgresql and rgeo
As I cannot find that our bug is intended for this gem, I am opening the issue. In one place we need to search data by NOT matching specific GPS...
Whatever they're called, when using the postgis adapter with Rails 7 virtual columns don't get dumped correctly leading to an invalid schema. ```diff - t.virtual "popularity", type: :string, as: "1",...
I have a 3D point set in my database. ```ruby :lnglat => #, ``` If I try to manually change the Z only. ```ruby :lnglat => #, ``` I can...
Fixes #358 Add functionality to test the PostGIS adapter against the full ActiveRecord test suite for Postgres. - Moved all tests to `test/cases` and namespaced them with `module PostGIS` to...
In the update to version 8, a few tests have to use `to_s` to compare result geometries instead of the objects directly. We should be able to compare the objects...
We should test the adapter against the full suite of ActiveRecord tests to assure we have not inadvertently caused any errors.
I have a large Linestring (more 5600 pts), when I create my object, all work fine. On update (without any change), I get an exception : !! # If I...
In order to determine the properties of a geometry column, the `OID::Spatial#parse_sql_type` method is called in the `SchemaStatements#initialize_type_map` method for geometry types. This method parses a `sql_type` (ex. "geometry(Polygon,4326)") and...
### Description Currently, the adapter will accept either RGeo objects or WKT strings when writing to a spatial column. If a WKT string is passed in, the column's factory is...
Rails Version: 4.2.11 activerecord-postgis-adapter version: 3.1.5 (similar to #276) The [override](https://github.com/rgeo/activerecord-postgis-adapter/blob/3.0-stable/lib/active_record/connection_adapters/postgis/schema_statements.rb#L19) of `new_column` does not match the [rails definition](https://github.com/rails/rails/blob/v4.2.11/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb#L388). The rails commit causing this mismatch was made [here](https://github.com/rails/rails/commit/98a7dde064172dbf9b9c441175fcd45dca70d8db). Steps to...