Add getSubLine method to OGRLineString