﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26775	Geography PointField ignores dim=3	François-Xavier Thomas	nobody	"Using the following model :

{{{
class TestModel(models.Model):
    position = models.PointField(geography=True, dim=3)
    position2 = models.PointField(dim=3)
}}}

...the `position` field seems to ignore the `dim=3` argument and does not create a PostGIS `PointZ` geography type (3D) but a regular `Point` (2D) :

{{{
                                  Table ""public.testapp_testmodel""
  Column   |         Type          |                           Modifiers                            
-----------+-----------------------+----------------------------------------------------------------
 id        | integer               | not null default nextval('testapp_testmodel_id_seq'::regclass)
 position  | geography(Point,4326) | not null
 position2 | geometry(PointZ,4326) | not null
Indexes:
    ""testapp_testmodel_pkey"" PRIMARY KEY, btree (id)
    ""testapp_testmodel_position2_id"" gist (position2 gist_geometry_ops_nd)
    ""testapp_testmodel_position_id"" gist (""position"")
}}}

Tested under Django 1.9.5."	Bug	closed	GIS	1.9	Normal	fixed			Ready for checkin	1	0	0	0	0	0
