Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 409 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 409 Bytes

ActiveRecord PostGIS Database Adapter

This gem extends the PostgreSQLAdapter to support GIS objects for a PostGIS database. The RGeo library is used for GIS objects in Ruby.

PostGIS Extension

  • mention PostGIS namespace

Examples

  • migration example
  • getter / setter examples
  • query examples

create_cities t.geometry :geom, :srid => 4326, :type => 'MultiPolygon'

class City

end