| Module | SpatialAdapter |
| In: |
lib/common_spatial_adapter.rb
|
Translation of geometric data types
# File lib/common_spatial_adapter.rb, line 93
93: def geometry_data_types
94: {
95: :point => { :name => "POINT" },
96: :line_string => { :name => "LINESTRING" },
97: :polygon => { :name => "POLYGON" },
98: :geometry_collection => { :name => "GEOMETRYCOLLECTION" },
99: :multi_point => { :name => "MULTIPOINT" },
100: :multi_line_string => { :name => "MULTILINESTRING" },
101: :multi_polygon => { :name => "MULTIPOLYGON" },
102: :geometry => { :name => "GEOMETRY"}
103: }
104: end