Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#19028 closed New feature (fixed)

Support GeoJSON output with SpatiaLite backend

Reported by: Brian Galey Owned by: Brian Galey
Component: GIS Version: master
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 Changed 4 years ago by Brian Galey

Status: newassigned

comment:2 Changed 4 years ago by Claude Paroz

Triage Stage: UnreviewedAccepted

comment:3 Changed 4 years ago by Brian Galey

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 Changed 4 years ago by Brian Galey

Triage Stage: UnreviewedAccepted

comment:5 Changed 4 years ago by Claude Paroz

Triage Stage: AcceptedReady for checkin

comment:6 Changed 4 years ago by Claude Paroz <claude@…>

Resolution: fixed
Status: assignedclosed

In 95f7ea3af1854f575a47218a08d1a8d5357f8d9b:

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

comment:7 Changed 4 years ago by Claude Paroz <claude@…>

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