Skip to content

Infer MultiPolygon structure from winding order for toGeoJSON #32

Description

@mourner

MultiPolygons are flattened in VT, so we need to infer their structure from winding order like this https://github.com/mapbox/mapbox-gl-js/blob/earcut-final/js/util/classify_rings.js, otherwise MultiPolygons are broken (encoded as Polygons, with additional outer rings becoming holes). cc @jfirebaugh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions