Opened 16 years ago

Closed 16 years ago

#2013 closed enhancement (fixed)

Python binding to Ogr.Layer.GetGeometryColumn and GetFIDColumn

Reported by: jmfloyd Owned by: hobu
Priority: normal Milestone: 1.5.0
Component: PythonBindings Version: unspecified
Severity: normal Keywords:
Cc:

Description

I have added the above bindings to the swig files. Tested with ng_python and appear to work.

I admit that that I am not conversant with swig, so please check.

Attached is a patch file of the small changes.

The GeometryColumn is necessary where multiple geom columns exist in the DB tables.

Attachments (1)

swig_ogr.patch (1.2 KB ) - added by jmfloyd 16 years ago.
pathch for additions to swig definitions.

Download all attachments as: .zip

Change History (2)

by jmfloyd, 16 years ago

Attachment: swig_ogr.patch added

pathch for additions to swig definitions.

comment:1 by hobu, 16 years ago

Milestone: 1.4.41.5.0
Resolution: fixed
Status: newclosed

Applied to ogr.i in r12929. ogr.py will be regenerated and committed at some point in the future before the release.

This is a new addition, and will only be added to trunk, and not backported to the 1.4 branch.

Note: See TracTickets for help on using tickets.