turf icon indicating copy to clipboard operation
turf copied to clipboard

isobands returns an unintended value

Open alv1ns opened this issue 3 years ago • 1 comments

Please provide the following when reporting an issue: I used "@turf/turf": "^6.5.0" let collection = featureCollection(fc) let breaks = [0, 30,50, 60, 70, 100] let result = isobands(collection, breaks, { zProperty: 'value' }) All values of collection are greater than 30,But the first entry of result has the value like: image

  • [6.5.0 ] The version of Turf you are using, and any other relevant versions.
  • [ ] GeoJSON data as a gist file or geojson.io (filename extension must be .geojson).
  • [ ] Snippet of source code or for complex examples use jsfiddle.

alv1ns avatar Sep 08 '22 07:09 alv1ns

@alv1ns how does the "0-30" MultiPolygon look like? Is it empty maybe?

stebogit avatar Sep 08 '22 08:09 stebogit

Closing due to not enough information to followup on, and no response to previous request.

rowanwins avatar Oct 06 '22 07:10 rowanwins