Opened 9 months ago

Closed 6 months ago

#7025 closed enhancement (fixed)

swapXY is not available in python bindings

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

Description

The function swapXY on a Geometry isn't available in the python bindings.

Could this be added?

Change History (2)

comment:1 Changed 9 months ago by Jukka Rahkonen

Perhaps you could use OGRGeometry::swapXY http://www.gdal.org/classOGRGeometry.html#a3ffd51d4998a8e2ae422c69b6adf480a

Or maybe I just don't understand, but the Python bindings in OSGeo4W does find OGRGeometry::swapXY.

Last edited 9 months ago by Jukka Rahkonen (previous) (diff)

comment:2 Changed 6 months ago by Even Rouault

Resolution: fixed
Status: newclosed

In 40825:

Expose OGRGeometry::swapXY() as OGR_G_SwapXY() in C API and Geometry.SwapXY() in SWIG bindings (fixes #7025)

Note: See TracTickets for help on using tickets.