[Django] #23781: Add a GeoJSON serializer

17 views
Skip to first unread message

Django

unread,
Nov 8, 2014, 11:18:20 AM11/8/14
to django-...@googlegroups.com
#23781: Add a GeoJSON serializer
---------------------------------------+------------------------
Reporter: claudep | Owner: nobody
Type: New feature | Status: new
Component: GIS | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------+------------------------
I think outputting GeoJSON data is very common these days, and I think
Django should provide a serializer to that purpose. It is not meant to
replace the django-geojson package which has much more than that. Instead,
my proposal would be to add a simple serializer (based on the json one)
that people (and maybe django-geojson) can subclass and extend, if needed.

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

Django

unread,
Nov 8, 2014, 11:19:14 AM11/8/14
to django-...@googlegroups.com
#23781: Add a GeoJSON serializer
-----------------------------+--------------------------------------

Reporter: claudep | Owner: nobody
Type: New feature | Status: new
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by claudep):

* has_patch: 0 => 1


Comment:

https://github.com/django/django/pull/3487

--
Ticket URL: <https://code.djangoproject.com/ticket/23781#comment:1>

Django

unread,
Nov 12, 2014, 8:10:29 AM11/12/14
to django-...@googlegroups.com
#23781: Add a GeoJSON serializer
-----------------------------+------------------------------------

Reporter: claudep | Owner: nobody
Type: New feature | 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
-----------------------------+------------------------------------
Changes (by timgraham):

* needs_better_patch: 0 => 1
* stage: Unreviewed => Accepted


Comment:

Tests are not passing.

--
Ticket URL: <https://code.djangoproject.com/ticket/23781#comment:2>

Django

unread,
Nov 12, 2014, 3:40:37 PM11/12/14
to django-...@googlegroups.com
#23781: Add a GeoJSON serializer
-----------------------------+------------------------------------

Reporter: claudep | Owner: nobody
Type: New feature | 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: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+------------------------------------
Changes (by claudep):

* needs_better_patch: 1 => 0


Comment:

Fixed. Sorry, the first patch was definitely not ready.

--
Ticket URL: <https://code.djangoproject.com/ticket/23781#comment:3>

Django

unread,
Nov 15, 2014, 6:06:57 AM11/15/14
to django-...@googlegroups.com
#23781: Add a GeoJSON serializer
-----------------------------+------------------------------------

Reporter: claudep | Owner: nobody
Type: New feature | 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: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+------------------------------------

Comment (by reinout):

(Working at the django-under-the-hood sprint)

I looked at the pull request: looks good. A specific geojson serializer is
handy and fits with geodjango.

I added one comment to the pull request with a small documentation re-
wording suggestion.

--
Ticket URL: <https://code.djangoproject.com/ticket/23781#comment:4>

Django

unread,
Nov 15, 2014, 12:11:39 PM11/15/14
to django-...@googlegroups.com
#23781: Add a GeoJSON serializer
-----------------------------+------------------------------------
Reporter: claudep | Owner: nobody
Type: New feature | Status: closed
Component: GIS | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+------------------------------------
Changes (by timgraham):

* status: new => closed
* resolution: => fixed


Comment:

In 35dac5070bc3422cd2c6c2f46a28d1a1af2a2c50:

Added a new GeoJSON serialization format for GeoDjango

Thanks Reinout van Rees for the review.

--
Ticket URL: <https://code.djangoproject.com/ticket/23781#comment:5>

Reply all
Reply to author
Forward
0 new messages