Opened 16 years ago

Closed 14 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:
Cc:

Description

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 by hobu, 16 years ago

Component: PythonBindingsOGR_SF
Owner: changed from hobu to warmerdam

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

comment:2 by Even Rouault, 14 years ago

Milestone: 1.8.0
Resolution: fixed
Status: newclosed

Implemented in r20546

Note: See TracTickets for help on using tickets.