Skip to content

Geopandas: Implement force_3d #2504

@chay0112

Description

@chay0112

Use case:

  • Add support for GeoSeries.force_3d

Description:

  • Implements GeoSeries.force_3d, which converts each geometry in the series to a 3D geometry by adding a Z coordinate. If a geometry is already 3D, it is returned unchanged; otherwise, a default Z value (typically 0.0) is added to all coordinates. This ensures all geometries in the series have three dimensions.

Related Issue:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions