Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#19028 closed New feature (fixed)

Support GeoJSON output with SpatiaLite backend

Reported by: Brian Galey Owned by: Brian Galey
Component: GIS Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

SpatiaLite added support for GeoJSON serialization via the AsGeoJSON() function. This is available with the SpatiaLite 3.0 release and would be useful to enable for GeoQuerySets using this particular backend.

Change History (7)

comment:1 by Brian Galey, 12 years ago

Status: newassigned

comment:2 by Claude Paroz, 12 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Brian Galey, 12 years ago

Has patch: set
Triage Stage: AcceptedUnreviewed

A small patch is available on the ticket_19028 branch here:

https://github.com/bkg/django/tree/ticket_19028

I updated the relevant docs and GeoJSON test, which is passing with SpatiaLite 3.1 and PostGIS 1.5.

I am new to contributing so let me know if I've neglected anything, thanks!

comment:4 by Brian Galey, 12 years ago

Triage Stage: UnreviewedAccepted

comment:5 by Claude Paroz, 12 years ago

Triage Stage: AcceptedReady for checkin

comment:6 by Claude Paroz <claude@…>, 12 years ago

Resolution: fixed
Status: assignedclosed

In 95f7ea3af1854f575a47218a08d1a8d5357f8d9b:

Fixed #19028 -- Support GeoJSON output with SpatiaLite 3.0+

comment:7 by Claude Paroz <claude@…>, 12 years ago

In 9176fa70c1541d29d4d1865770d48b174e5dd968:

[1.5.x] Fixed geojson detection with Spatialite

This is a partial backport of commit eb9430fc4be1. Without this,
geojson support is never detected with Spatialite.
Refs #20252 and #19028.

Note: See TracTickets for help on using tickets.
Back to Top