3D Geometry support
dkastl opened this issue · 1 comments
dkastl commented
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)
dkastl commented
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
.