Skip to content

@turf/isobands-In some cases, calculations can lead to dead cycles #2509

@2537178246

Description

@2537178246

version [6.5]
Here is an example data, and I am preparing to convert the grid point to isoLine

when i use ⬇️
gridToIsoGeojson(gridJsonToGrid(gridObj), valueList, colorList, smoothIterations, simplifyTolerance)

in isobands.js >> isoBands >> BandGrid2AreaPaths

In this method, you will fall into a dead cycle (do while)
Currently, there is only a small amount of data that may have issues

I'm not very good at math😭I just located a certain value in this method to calculate the polygon
isoLineData1 >> success
isoLineData3 >> error
isoLineData3.json.zip
isoLineData1.json.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions