Opened 7 years ago

Closed 6 years 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 by Jukka Rahkonen, 7 years ago

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 7 years ago by Jukka Rahkonen (previous) (diff)

comment:2 by Even Rouault, 6 years ago

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.