Turfjs / turf

A modular geospatial engine written in JavaScript and TypeScript

Home Page:https://turfjs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

turf.convex failed in points beside 0°(lon)

jackdsl opened this issue · comments

  • [ I use npm install @turf/turf to install turf, so i think the turf should be the latest version. My cesium is 1.88.]
    When I try to use turf.convex to find convex polygon of several points beside 0° (lon), I found that when the number of points need bounding exceeds four, the resulted convex will only return five points(ABCDA), namely a quadrangle.

@jackdsl , could you please provide some sample data? For example, the geojson passed to convex() that gives the quadrangle you describe.