Opened 12 years ago

Closed 9 years ago

#2262 closed enhancement (fixed)

Python: add GetLength method for LineString Geometry

Reported by: steko Owned by: warmerdam
Priority: normal Milestone: 1.8.0
Component: OGR_SF Version: unspecified
Severity: minor Keywords:


Currently the Python bindings do not expose the OGRLineString::get_Length method.

Therefore, it's not very easy to retrieve the perimeter length of a Polygon or the length of a LineString.

Change History (2)

comment:1 Changed 12 years ago by hobu

Component: PythonBindingsOGR_SF
Owner: changed from hobu to warmerdam

Invalid for the SWIG bindings until there is C API to do this.

comment:2 Changed 9 years ago by Even Rouault

Milestone: 1.8.0
Resolution: fixed
Status: newclosed

Implemented in r20546

Note: See TracTickets for help on using tickets.