Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#26750 closed New feature (fixed)

Add introspection support for PostGIS POINTZ

Reported by: Yegor Kazantsev Owned by: nobody
Component: GIS Version: dev
Severity: Normal Keywords: inspectdb, gis, postgis
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

I create on RoR , models with type "t.geography "location", limit: {:srid=>4326, :type=>"point", :has_z=>true, :geographic=>true}". And try make inspectdb in my django project , but ./manage.py inspectdb fails. It database its seem like "location geography(PointZ,4326)" .

Change History (12)

comment:1 by Simon Charette, 8 years ago

Needs tests: set
Patch needs improvement: set
Triage Stage: UnreviewedAccepted
Version: 1.9master

comment:2 by Tim Graham, 8 years ago

Do we need a separate field or can this be PointField(dim=3) as described in #26775?

comment:3 by Tim Graham, 8 years ago

Resolution: duplicate
Status: newclosed
Type: UncategorizedNew feature

comment:4 by Claude Paroz, 8 years ago

Resolution: duplicate
Status: closednew

Re-opening because introspection is a separate issue than field creation.

comment:6 by Claude Paroz, 8 years ago

This depends on resolution of #26775.

comment:7 by Tim Graham, 8 years ago

Needs tests: unset
Patch needs improvement: unset
Summary: Add new Field type for postgis POINTZAdd introspection support for PostGIS POINTZ

comment:8 by Claude Paroz, 8 years ago

comment:9 by Tim Graham, 8 years ago

Patch needs improvement: set

New test isn't passing on PostGIS.

comment:10 by Claude Paroz, 8 years ago

Patch needs improvement: unset

The test didn't pass on Spatialite, should be fixed now.

comment:11 by Tim Graham, 8 years ago

Triage Stage: AcceptedReady for checkin

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

Resolution: fixed
Status: newclosed

In 140c2350:

Fixed #26750 -- Fixed introspection for geography point field with dim=3

Thanks Yegor Kazantsev for the report and the initial patch.

comment:13 by Claude Paroz <claude@…>, 8 years ago

In b1592dd7:

[1.10.x] Fixed #26750 -- Fixed introspection for geography point field with dim=3

Thanks Yegor Kazantsev for the report and the initial patch.
Backport of 140c23502 from master.

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