Skip to content

apply_polygon: rename polygons parameter to geometries #511

@soxofaan

Description

@soxofaan

apply_polygons has a polygons argument:

"name": "polygons",
"description": "A vector data cube containing at least one polygon. The provided vector data can be one of the following:\n\n* A `Polygon` or `MultiPolygon` geometry,\n* a `Feature` with a `Polygon` or `MultiPolygon` geometry, or\n* a `FeatureCollection` containing at least one `Feature` with `Polygon` or `MultiPolygon` geometries.\n* Empty geometries are ignored.",

This is not in line with comparable processes that use geometries for the same concept, like aggregate_spatial, filter_spatial, filter_vector, vector_buffer. Note that mask_polygon also doesn't use polygons.

It also appears to be confusing users about how MultiPolygons are supported

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