turf
turf copied to clipboard
Create isoband inside my entire polygon
I'm having trouble filling all the spaces in my polygono.
The points used are points with values inside the area of the polygon and in this case I am not able to apply my isoband to the entire area


See https://jsfiddle.net/doug_b/xbd6Lf74/3/ for an example.
Could anyone help me with this question?
I'm not sure I have a good solution to this, other than to potentially run turf/interpolate first on the vertices of your Polygon and then to run isobands again on the new interpolated point. In theory I think this should ensure your polygon gets covered.
Thanks @JamesLMilner I will test this option
Let me know how you get on :) If I don't hear back will assume it worked and will close out the issue
Hi @douglas555666 , were you able to test if that solution worked for you? I am facing the exact same issue, but @JamesLMilner I have tried tried running interpolate on the vertices, but (let me know if I'm wrong about these conclusions):
- Interpolate seems to only run in the bounding box automatically calculated by the provided points;
- I can't add new points (vertices) that don't have the specific property value (that is being interpolated) on them (and I don't have those values).
I will close this as there was no response and there is a new open issue from @mumispb.