gtt-project/redmine_gtt

3D Geometry support

dkastl opened this issue · 1 comments

Currently the geom column only accepts 2D geometries.

It would be good to also support the 3rd dimension, which would require GeometryZ as column type.

  • Enable 3D in geom column
  • Check how to update existing installations (migration)

Probably this is done with :has_z :

 add_column :issues, :geom, :geometry, :srid => 4326, :has_z

Reference: https://github.com/rgeo/activerecord-postgis-adapter#creating-spatial-tables

If we are already adding :has_z we could even add :has_m.