﻿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
23757	Spatialite backend doesn't support 3d introspection	Claude Paroz	nobody	"Currently, Django crashes with an error like the following while introspecting Spatialite 3D field:
{{{
Traceback (most recent call last):
  File ""...python2.7/tests/inspectdb/tests.py"", line 182, in test_special_column_name_introspection
    call_command('inspectdb', stdout=out)
  File ""...python2.7/django/core/management/__init__.py"", line 115, in call_command
    return klass.execute(*args, **defaults)
  File ""...python2.7/django/core/management/base.py"", line 338, in execute
    output = self.handle(*args, **options)
  File ""...python2.7/django/core/management/base.py"", line 533, in handle
    return self.handle_noargs(**options)
  File ""...python2.7/django/core/management/commands/inspectdb.py"", line 27, in handle_noargs
    for line in self.handle_inspection(options):
  File ""...python2.7/django/core/management/commands/inspectdb.py"", line 100, in handle_inspection
    field_type, field_params, field_notes = self.get_field_type(connection, table_name, row)
  File ""...python2.7/django/contrib/gis/management/commands/inspectdb.py"", line 14, in get_field_type
    field_type, geo_params = connection.introspection.get_geometry_type(table_name, geo_col)
  File ""...python2.7/django/contrib/gis/db/backends/spatialite/introspection.py"", line 42, in get_geometry_type
    field_type = OGRGeomType(row[2]).django
  File ""...python2.7/django/contrib/gis/gdal/geomtype.py"", line 46, in __init__
    raise OGRException('Invalid OGR Integer Type: %d' % type_input)
OGRException: Invalid OGR Integer Type: 1001
}}}"	Bug	closed	GIS	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
