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

Create isobands inside entire polygon

mumispb opened this issue · comments

I have a polygon and some measurements made inside that polygon and I would like to create isobands for the entirety of it. However, it seems interpolate only runs inside the bounding box that it creates automatically and it only encapsulates the points that I have provided with values. How could I expand it to the entire polygon?
image

This is the exact same issue in #2297. On that issue, the author has provided a working fiddle for his case https://jsfiddle.net/doug_b/xbd6Lf74/3/.

Turf.js version: 6.5.0