#23757: Spatialite backend doesn't support 3d introspection
-------------------------+------------------------------------
     Reporter:  claudep  |                    Owner:  nobody
         Type:  Bug      |                   Status:  new
    Component:  GIS      |                  Version:  master
     Severity:  Normal   |               Resolution:
     Keywords:           |             Triage Stage:  Accepted
    Has patch:  1        |      Needs documentation:  0
  Needs tests:  0        |  Patch needs improvement:  1
Easy pickings:  0        |                    UI/UX:  0
-------------------------+------------------------------------

Comment (by claudep):

 I *think* the remaining failures (unreproduceable on my system, even with
 Spatialite 3.0) are related to GEOS (see
 http://trac.osgeo.org/geos/ticket/292 which is fixed in GEOS 3.3). That is
 the GEOS version Spatialite is compiled with. In that case, we could
 simply skip those tests when GEOS < 3.3.

 Extract of a traceback of one of those errors happening on the CI server
 (django.contrib.gis.tests.geo3d.tests.Geo3DTest.test_3d_hasz):
 {{{
 Traceback (most recent call last):
   File ".../python2.7/django/contrib/gis/tests/geo3d/tests.py", line 116,
 in test_3d_hasz
     self._load_interstate_data()
   File ".../python2.7/django/contrib/gis/tests/geo3d/tests.py", line 95,
 in _load_interstate_data
     Interstate3D.objects.create(name=name, line=line_3d)
 ...
 File ".../python2.7/django/db/backends/sqlite3/base.py", line 507, in
 execute
     return Database.Cursor.execute(self, query, params)
 IntegrityError: geo3d_interstate3d.line violates Geometry constraint
 [geom-type or SRID not allowed]
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23757#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.4bb1796535d0218c053cb437f12f10bc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to