GeometryField.dim
This option may be used for customizing the coordinate dimension of the geometry field. By default, it is set to 2, for representing two-dimensional geometries. For spatial backends that support it, it may be set to 3 for three-dimensional support.
Note At this time 3D support is limited to the PostGIS spatial backend.