vendor/plugins/spatial_adapter/lib/spatial_adapter/adapters/postgis.rb
def geometry_simplified_type(sql_type)
        case sql_type
        when /geography\(point/i then :point
        when /geography\(linestring/i then :line_string
        when /geography\(polygon/i then :polygon
        when /geography\(multipoint/i then :multi_point
        when /geography\(multilinestring/i then :multi_line_string
        when /geography\(multipolygon/i then :multi_polygon
        when /geography\(geometrycollection/i then :geometry_collection
        when /geography/i then :geometry
        else
          super
        end
      end
# Add detection of PostGIS-specific geography columns
Add detection of PostGIS-specific geography columns
Add detection of PostGIS - specific geography columns
def geometry_simplified_type(sql_type)
        case sql_type
        when /geography\(point/i then :point
        when /geography\(linestring/i then :line_string
        when /geography\(polygon/i then :polygon
        when /geography\(multipoint/i then :multi_point
        when /geography\(multilinestring/i then :multi_line_string
        when /geography\(multipolygon/i then :multi_polygon
        when /geography\(geometrycollection/i then :geometry_collection
        when /geography/i then :geometry
        else
          super
        end
      end
def geometry_simplified_type ( sql_type ) case sql_type when / geography \( point /i then :point when / geography \( linestring /i then :line_string when / geography \( polygon /i then :polygon when / geography \( multipoint /i then :multi_point when / geography \( multilinestring /i then :multi_line_string when / geography \( multipolygon /i then :multi_polygon when / geography \( geometrycollection /i then :geometry_collection when / geography /i then :geometry else super end end
Add detection of PostGIS-specific geography columns
Add detection of PostGIS - specific geography columns
sql_type