-
Notifications
You must be signed in to change notification settings - Fork 951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add bbox
parameter to @turf/interpolate
#1031
Comments
We can pass the same |
Yep, Now that I look at it we should also rename Also, I was wondering why was var newFeature = clone(gridFeature);
newFeature.properties[property] = zw / sw;
results.push(newFeature);
...
return featureCollection(results); |
Clone was used because it mutates the properties, I'm sure there might be a way to remove the clone. newFeature.properties[property] = zw / sw; |
|
Hello, is there any progress with |
Hi @iamtekson. Could you please clarify if this is currently just a documentation issue ...
or an actual problem with the result you get back from the function ...
Or both? |
This will be resolved as part of #2444 so the user can pass an optional bbox. |
Currently
@turf/interpolate
defines the area on which to interpolate the values as the bounding box surrounding the input points.It would be useful to be able to define your area of interest, which might be different than the current (then default)
bbox(points)
, like this:or this:
The text was updated successfully, but these errors were encountered: