-
Notifications
You must be signed in to change notification settings - Fork 944
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
Isoline from example returning MultiLineString with no coordinates #829
Comments
Huh... interesting. Also getting the same result: //= isoloines.features[0]
{ type: 'Feature',
properties: { temperature: 1 },
geometry: { type: 'MultiLineString', coordinates: [] } } Thoughts? @stebogit |
@bakerac4 I'm surprised (and sorry) the documentation have not been correctly updated when the module was re-implemented, I'll commit the appropriate correction. |
Done. I did also fix a small bug in |
Thank you @stebogit for clearing that up. That leaves me a bit confused (and Im sure its just me misunderstanding something). Does Im trying to create a isoline heatmap like this but I am being given a list of objects (with lat, lng and temp). From what Im gathering, since Thanks again for your help ! |
Yes @bakerac4, this is an example of
You might want to take a look at
Look at |
Following the example found at http://turfjs.org/docs/#isolines after downloading the minified turf.js file and including it in my project ends up giving me 10 features that each have 1 geometry object inside, with type MultiLineString that has an empty array of coordinates.
Here is a GIST of the GeoJSON I am getting back
https://gist.github.com/bakerac4/89656a65e7388b290d223facdaf5dc75
The code I am using seems to be a copy and paste from the docs.
The text was updated successfully, but these errors were encountered: