#20252: GeoDjango - GeoQuerySet.geojson NotImplementedError with Spatialite
--------------------------------+-----------------------------------
     Reporter:  burton449geo@…  |      Owner:  nobody
         Type:  Uncategorized   |     Status:  new
    Component:  GIS             |    Version:  1.4
     Severity:  Normal          |   Keywords:  GeoDjango, Spatialite
 Triage Stage:  Unreviewed      |  Has patch:  0
Easy pickings:  0               |      UI/UX:  0
--------------------------------+-----------------------------------
 As the documentation mentions
 
(https://docs.djangoproject.com/en/dev/ref/contrib/gis/geoquerysets/#django.contrib.gis.db.models.GeoQuerySet.geojson)
 GeoQuerySet.geojson should be available with Spatialite but it is not.

 Traceback:
 File "C:\Python27\lib\site-packages\django\core\handlers\base.py" in
 get_response
   111.                         response = callback(request,
 *callback_args, **callback_kwargs)
 File "C:\Python27\lib\site-packages\django\contrib\auth\decorators.py" in
 _wrapped_view
   20.                 return view_func(request, *args, **kwargs)
 File "c:\mygeosite\geodjango\ezmapping\views.py" in editShapefile
   55.     feature_geoJson = features.geojson()
 File "C:\Python27\lib\site-packages\django\contrib\gis\db\models\query.py"
 in geojson
   145.             raise NotImplementedError('Only PostGIS 1.3.4+ supports
 GeoJSON serialization.')

 Exception Type: NotImplementedError at /ezmapping/layer/edit/1
 Exception Value: Only PostGIS 1.3.4+ supports GeoJSON serialization.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20252>
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to