Closed babasbot closed 7 years ago
Why use PostGIS if you don't use the provided functions ST_Distance ST_Distance_Sphere...
Sorry @babasbot for not getting around to this. I've rebuilt the PR so it's now passing, the last remaining issues stopping me merging it are that it reduces coverage (so we should have a test to ensure this code doesn't just work now, but works well into the future).
And finally it would be good to address the comment made by another user here.
But otherwise I'm happy to merge.
Sorry @babasbot - Closing this as it hasn't been active. Feel free to write the test case and I'm happy to re-look at it (and most likely merge it)
I too ended up forking this repo just to add the duplicate postgis
file. Worked fine. Given the dynamic require
, there's no way to monkey-patch this from a code level — had to do the full fork process.
The activerecord-postgis-adapter provides access to features of the PostGIS geospatial database from ActiveRecord. It extends the standard postgresql adapter to provide support for the spatial data types and features added by the PostGIS extension.
Changelog
postgis
adapter.Closes #116