#25141: Remove GDAL Dependency for GeoJSON Serialiser
-------------------------------------+-------------------------------------
Reporter: drepo | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: GIS | Version: 1.8
Severity: Normal | Keywords: GDAL, Dependency,
| GeoDjango, Serialiser, GeoJSON
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
The [https://docs.djangoproject.com/en/1.8/ref/contrib/gis/serializers/
documentation] for GeoJSON Serialiser introduced in Django 1.8
categorically states:
''The GDAL library is required for this serializer.''
The problem with GDAL is that it has a lot of system level dependencies
and does not play well with virtualenv - which is very common in Django
deployments. The system level dependencies also make to hard to integrate
it with a pip based dependency management workflow.
While there is a [https://github.com/dezhin/pygdal package] that claims to
wrap GDAL in a virtualenv friendly manner, in my trials, it was not
Python3 compatible which, I believe, is essential given that the Django
tutorials themselves now default to Py3.x.
PS: I have come across a [https://pypi.python.org/pypi/geojson/ maintained
pure python] GeoJSON library. (Disclosure: I have no association with the
library/maintainers)
--
Ticket URL: <https://code.djangoproject.com/ticket/25141>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/048.02e294ce3145be7d0a15761e3680db38%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.