Skip to content

Handle uint32 from mapbox-earcut result in Ugrid2d #454

Description

@smknaake

The connectivity result from mapbox earcut: connectivity = mapbox_earcut.triangulate_float64(vertices, vert_indices) produces an array with "uint32".

Creating an Ugrid2d: ugrid = xu.Ugrid2d(*tri.coords.T, -1, tri.triangles) (triangles is the connectivity result) can cause an unclear OverflowError because the fill value is -1.

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