Code

Opened 22 months ago

Closed 21 months ago

Last modified 15 months ago

#19028 closed New feature (fixed)

Support GeoJSON output with SpatiaLite backend

Reported by: bkg Owned by: bkg
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.

Attachments (0)

Change History (7)

comment:1 Changed 22 months ago by bkg

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Status changed from new to assigned

comment:2 Changed 22 months ago by claudep

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 22 months ago by bkg

  • Has patch set
  • Triage Stage changed from Accepted to Unreviewed

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 22 months ago by bkg

  • Triage Stage changed from Unreviewed to Accepted

comment:5 Changed 21 months ago by claudep

  • Triage Stage changed from Accepted to Ready for checkin

comment:6 Changed 21 months ago by Claude Paroz <claude@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 95f7ea3af1854f575a47218a08d1a8d5357f8d9b:

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

comment:7 Changed 15 months 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.