Opened 9 years ago

Closed 9 years ago

#25673 closed Bug (fixed)

geometries obtained from `values` lack SRID when SpatiaLite backend is used

Reported by: Sergey Fedoseev Owned by: Sergey Fedoseev
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

In [6]: print Test.objects.first().point
SRID=4326;POINT (0.0000000000000000 0.0000000000000000)

In [7]: print Test.objects.values().first()['point']
POINT (0.0000000000000000 0.0000000000000000)

Change History (5)

comment:1 by Sergey Fedoseev, 9 years ago

Owner: changed from nobody to Sergey Fedoseev
Status: newassigned

comment:2 by Sergey Fedoseev, 9 years ago

Summary: geometries obtained from `values` lack SRIDgeometries obtained from `values` lack SRID when SpatiaLite backend is used

comment:3 by Sergey Fedoseev, 9 years ago

Has patch: set

comment:4 by Claude Paroz, 9 years ago

Triage Stage: UnreviewedReady for checkin
Version: 1.8master

comment:5 by Claude Paroz <claude@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

In 5f7035ce:

Fixed #25673 -- Made GeometryField.from_db_value set SRID

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