Opened 12 years ago
Closed 12 years ago
#19063 closed Bug (fixed)
gml(version=3) does not work for PostGIS
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | GIS | Version: | dev |
Severity: | Normal | Keywords: | postgis gml |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
using function gml()
with version=3
does not work for PostGIS.
Instead version=2
is always used.
The problem is in /trunk/django/contrib/gis/db/models/query.py
def gml(self, precision=8, version=2, **kwargs):
parameter procedure_fmt
is correctly prepared but not passed to _spatial_attribute
function
It seems that
s['procedure_fmt'] = procedure_fmt
is missing
Change History (3)
comment:1 by , 12 years ago
Easy pickings: | set |
---|
comment:2 by , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In d25a599dca9b7644b238f6c89a66545dfdabe393: