Skip to content

turf.centriod module: request GeometryCollection as an input #217

@d3netxer

Description

@d3netxer

The turf.centriod module works great, but it did not take my geojson as in input when it contained Geometry Collections.

I got around this by re-creating my geojson to have FeatureCollections that contain one or more features inside. Then I loop through each FeatureCollection feeding it into the turf.centriod module.

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