Skip to content

Extend the OGR C Interface OGR_F_StealGeometry function to geometries other than 1st one #5115

Description

@mathieu17g

Would there be any undesirable side effects of implementing OGR_F_StealGeometry( int iGeomField ) as it is available as a C++ method but not on the C interface ?

The need relates to ArchGDAL.jl when converting a OGR Feature Layer to a table object. Stealing geometries is faster than cloning. This would bring a performance enhancement for layers with multiple geometry fields (yeesian/ArchGDAL.jl#266)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions